本文整理汇总了Java中org.insightech.er.editor.model.settings.export.ExportHtmlSetting.setWithCategoryImage方法的典型用法代码示例。如果您正苦于以下问题:Java ExportHtmlSetting.setWithCategoryImage方法的具体用法?Java ExportHtmlSetting.setWithCategoryImage怎么用?Java ExportHtmlSetting.setWithCategoryImage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.insightech.er.editor.model.settings.export.ExportHtmlSetting
的用法示例。
在下文中一共展示了ExportHtmlSetting.setWithCategoryImage方法的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));
}
}