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


Java ExportHtmlSetting.setWithCategoryImage方法代码示例

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

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

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

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

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


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