本文整理匯總了Java中org.insightech.er.editor.model.settings.export.ExportHtmlSetting.setOutputDir方法的典型用法代碼示例。如果您正苦於以下問題:Java ExportHtmlSetting.setOutputDir方法的具體用法?Java ExportHtmlSetting.setOutputDir怎麽用?Java ExportHtmlSetting.setOutputDir使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.insightech.er.editor.model.settings.export.ExportHtmlSetting
的用法示例。
在下文中一共展示了ExportHtmlSetting.setOutputDir方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getExportWithProgressManager
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //導入方法依賴的package包/類
@Override
protected ExportWithProgressManager getExportWithProgressManager(
ExportSetting exportSetting) throws InputException {
ExportHtmlSetting exportHtmlSetting = exportSetting
.getExportHtmlSetting();
exportHtmlSetting.setOutputDir(this.outputDirText.getFilePath());
// exportHtmlSetting.setSrcFileEncoding(this.fileEncodingCombo.getText());
exportHtmlSetting.setWithImage(this.withImageButton.getSelection());
exportHtmlSetting.setWithCategoryImage(this.withCategoryImageButton
.getSelection());
exportHtmlSetting.setOpenAfterSaved(this.openAfterSavedButton
.getSelection());
return new ExportToHtmlManager(exportHtmlSetting);
}
示例2: loadExportHtmlSetting
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //導入方法依賴的package包/類
private void loadExportHtmlSetting(ExportHtmlSetting exportHtmlSetting,
Element parent, LoadContext context) {
Element element = this.getElement(parent, "export_html_setting");
if (element != null) {
exportHtmlSetting.setOutputDir(this.getStringValue(element,
"output_dir"));
// exportHtmlSetting.setSrcFileEncoding(Format.null2blank(this
// .getStringValue(element, "file_encoding")));
exportHtmlSetting.setWithCategoryImage(this.getBooleanValue(
element, "with_category_image", true));
exportHtmlSetting.setWithImage(this.getBooleanValue(element,
"with_image", true));
exportHtmlSetting.setOpenAfterSaved(this.getBooleanValue(element,
"is_open_after_saved", true));
}
}
示例3: createExportManager
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //導入方法依賴的package包/類
/**
* {@inheritDoc}
*/
@Override
public ExportWithProgressManager createExportManager(ERDiagram diagram)
throws Exception {
this.outputDir = getAbsolutePath(this.outputDir);
ExportHtmlSetting exportHtmlSetting = new ExportHtmlSetting();
exportHtmlSetting.setOutputDir(this.outputDir);
exportHtmlSetting.setWithCategoryImage(true);
exportHtmlSetting.setWithImage(true);
return new ExportToHtmlManager(exportHtmlSetting);
}
示例4: getExportWithProgressManager
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //導入方法依賴的package包/類
@Override
protected ExportWithProgressManager getExportWithProgressManager(final ExportSetting exportSetting) throws InputException {
final ExportHtmlSetting exportHtmlSetting = exportSetting.getExportHtmlSetting();
exportHtmlSetting.setOutputDir(outputDirText.getFilePath());
// exportHtmlSetting.setSrcFileEncoding(this.fileEncodingCombo.getText());
exportHtmlSetting.setWithImage(withImageButton.getSelection());
exportHtmlSetting.setWithCategoryImage(withCategoryImageButton.getSelection());
exportHtmlSetting.setOpenAfterSaved(openAfterSavedButton.getSelection());
return new ExportToHtmlManager(exportHtmlSetting);
}
示例5: loadExportHtmlSetting
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //導入方法依賴的package包/類
private void loadExportHtmlSetting(final ExportHtmlSetting exportHtmlSetting, final Element parent, final LoadContext context) {
final Element element = getElement(parent, "export_html_setting");
if (element != null) {
exportHtmlSetting.setOutputDir(getStringValue(element, "output_dir"));
// exportHtmlSetting.setSrcFileEncoding(Format.null2blank(this
// .getStringValue(element, "file_encoding")));
exportHtmlSetting.setWithCategoryImage(this.getBooleanValue(element, "with_category_image", true));
exportHtmlSetting.setWithImage(this.getBooleanValue(element, "with_image", true));
exportHtmlSetting.setOpenAfterSaved(this.getBooleanValue(element, "is_open_after_saved", true));
}
}