当前位置: 首页>>代码示例>>Java>>正文


Java ExportHtmlSetting类代码示例

本文整理汇总了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());
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:19,代码来源:ExportToHtmlDialog.java

示例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));
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:19,代码来源:ExportToHtmlManager.java

示例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();
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:18,代码来源:PersistentXmlImpl.java

示例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);
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:18,代码来源:ExportToHtmlDialog.java

示例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());
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:23,代码来源:ExportToHtmlDialog.java

示例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));
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:26,代码来源:ExportToHtmlManager.java

示例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();
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:26,代码来源:PersistentXmlImpl.java

示例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));
	}
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:18,代码来源:XMLLoader.java

示例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);
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:16,代码来源:HtmlReportAntTask.java

示例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);
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:14,代码来源:ExportToHtmlDialog.java

示例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));
    }
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:13,代码来源:XMLLoader.java

示例12: getExportHtmlSetting

import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
public ExportHtmlSetting getExportHtmlSetting() {
    return exportHtmlSetting;
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:4,代码来源:ExportSetting.java

示例13: setExportHtmlSetting

import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
public void setExportHtmlSetting(final ExportHtmlSetting exportHtmlSetting) {
    this.exportHtmlSetting = exportHtmlSetting;
}
 
开发者ID:roundrop,项目名称:ermasterr,代码行数:4,代码来源:ExportSetting.java

示例14: getExportHtmlSetting

import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
public ExportHtmlSetting getExportHtmlSetting() {
	return exportHtmlSetting;
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:4,代码来源:ExportSetting.java

示例15: setExportHtmlSetting

import org.insightech.er.editor.model.settings.export.ExportHtmlSetting; //导入依赖的package包/类
public void setExportHtmlSetting(ExportHtmlSetting exportHtmlSetting) {
	this.exportHtmlSetting = exportHtmlSetting;
}
 
开发者ID:kozake,项目名称:ermaster-k,代码行数:4,代码来源:ExportSetting.java


注:本文中的org.insightech.er.editor.model.settings.export.ExportHtmlSetting类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。