當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。