本文整理汇总了Java中org.insightech.er.editor.model.settings.export.ExportHtmlSetting类的典型用法代码示例。如果您正苦于以下问题:Java ExportHtmlSetting类的具体用法?Java ExportHtmlSetting怎么用?Java ExportHtmlSetting使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ExportHtmlSetting类属于org.insightech.er.editor.model.settings.export包,在下文中一共展示了ExportHtmlSetting类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setData
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
protected void setData() {
final ExportHtmlSetting exportHtmlSetting = settings.getExportSetting().getExportHtmlSetting();
outputDirText.setText(FileUtils.getRelativeFilePath(getBaseDir(), exportHtmlSetting.getOutputDir()));
// if (!Check.isEmpty(exportHtmlSetting.getSrcFileEncoding())) {
// this.fileEncodingCombo.setText(exportHtmlSetting
// .getSrcFileEncoding());
// }
withImageButton.setSelection(exportHtmlSetting.isWithImage());
withCategoryImageButton.setSelection(exportHtmlSetting.isWithCategoryImage());
openAfterSavedButton.setSelection(exportHtmlSetting.isOpenAfterSaved());
}
示例2: ExportToHtmlManager
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
public ExportToHtmlManager(final ExportHtmlSetting exportHtmlSetting) {
super("dialog.message.export.html");
this.exportHtmlSetting = exportHtmlSetting;
final Map<Object, Integer> idMap = new HashMap<Object, Integer>();
overviewPageGenerator = new OverviewHtmlReportPageGenerator(idMap);
htmlReportPageGeneratorList.add(new TableHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList.add(new IndexHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList.add(new SequenceHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList.add(new ViewHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList.add(new TriggerHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList.add(new GroupHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList.add(new TablespaceHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList.add(new WordHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList.add(new CategoryHtmlReportPageGenerator(idMap));
}
示例3: createXML
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
private String createXML(final ExportHtmlSetting exportHtmlSetting, final PersistentContext context) {
final StringBuilder xml = new StringBuilder();
xml.append("<export_html_setting>\n");
xml.append("\t<output_dir>").append(escape(exportHtmlSetting.getOutputDir())).append("</output_dir>\n");
// xml.append("\t<file_encoding>")
// .append(escape(exportHtmlSetting.getSrcFileEncoding()))
// .append("</file_encoding>\n");
xml.append("\t<with_category_image>").append(exportHtmlSetting.isWithCategoryImage()).append("</with_category_image>\n");
xml.append("\t<with_image>").append(exportHtmlSetting.isWithImage()).append("</with_image>\n");
xml.append("\t<is_open_after_saved>").append(exportHtmlSetting.isOpenAfterSaved()).append("</is_open_after_saved>\n");
xml.append("</export_html_setting>\n");
return xml.toString();
}
示例4: 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);
}
示例5: setData
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
protected void setData() {
ExportHtmlSetting exportHtmlSetting = this.settings.getExportSetting()
.getExportHtmlSetting();
this.outputDirText.setText(FileUtils.getRelativeFilePath(
this.getBaseDir(), exportHtmlSetting.getOutputDir()));
// if (!Check.isEmpty(exportHtmlSetting.getSrcFileEncoding())) {
// this.fileEncodingCombo.setText(exportHtmlSetting
// .getSrcFileEncoding());
// }
this.withImageButton.setSelection(exportHtmlSetting.isWithImage());
this.withCategoryImageButton.setSelection(exportHtmlSetting
.isWithCategoryImage());
this.openAfterSavedButton.setSelection(exportHtmlSetting
.isOpenAfterSaved());
}
示例6: ExportToHtmlManager
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
public ExportToHtmlManager(ExportHtmlSetting exportHtmlSetting) {
super("dialog.message.export.html");
this.exportHtmlSetting = exportHtmlSetting;
Map<Object, Integer> idMap = new HashMap<Object, Integer>();
this.overviewPageGenerator = new OverviewHtmlReportPageGenerator(idMap);
htmlReportPageGeneratorList
.add(new TableHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList
.add(new IndexHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList.add(new SequenceHtmlReportPageGenerator(
idMap));
htmlReportPageGeneratorList.add(new ViewHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList.add(new TriggerHtmlReportPageGenerator(
idMap));
htmlReportPageGeneratorList
.add(new GroupHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList.add(new TablespaceHtmlReportPageGenerator(
idMap));
htmlReportPageGeneratorList.add(new WordHtmlReportPageGenerator(idMap));
htmlReportPageGeneratorList.add(new CategoryHtmlReportPageGenerator(
idMap));
}
示例7: createXML
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
private String createXML(ExportHtmlSetting exportHtmlSetting,
PersistentContext context) {
StringBuilder xml = new StringBuilder();
xml.append("<export_html_setting>\n");
xml.append("\t<output_dir>")
.append(escape(exportHtmlSetting.getOutputDir()))
.append("</output_dir>\n");
// xml.append("\t<file_encoding>")
// .append(escape(exportHtmlSetting.getSrcFileEncoding()))
// .append("</file_encoding>\n");
xml.append("\t<with_category_image>")
.append(exportHtmlSetting.isWithCategoryImage())
.append("</with_category_image>\n");
xml.append("\t<with_image>").append(exportHtmlSetting.isWithImage())
.append("</with_image>\n");
xml.append("\t<is_open_after_saved>")
.append(exportHtmlSetting.isOpenAfterSaved())
.append("</is_open_after_saved>\n");
xml.append("</export_html_setting>\n");
return xml.toString();
}
示例8: 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));
}
}
示例9: 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);
}
示例10: 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);
}
示例11: 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));
}
}
示例12: getExportHtmlSetting
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
public ExportHtmlSetting getExportHtmlSetting() {
return exportHtmlSetting;
}
示例13: setExportHtmlSetting
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
public void setExportHtmlSetting(final ExportHtmlSetting exportHtmlSetting) {
this.exportHtmlSetting = exportHtmlSetting;
}
示例14: getExportHtmlSetting
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
public ExportHtmlSetting getExportHtmlSetting() {
return exportHtmlSetting;
}
示例15: setExportHtmlSetting
import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
public void setExportHtmlSetting(ExportHtmlSetting exportHtmlSetting) {
this.exportHtmlSetting = exportHtmlSetting;
}