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