當前位置: 首頁>>代碼示例>>Java>>正文


Java OptionSettingDialog類代碼示例

本文整理匯總了Java中org.insightech.er.editor.view.dialog.option.OptionSettingDialog的典型用法代碼示例。如果您正苦於以下問題:Java OptionSettingDialog類的具體用法?Java OptionSettingDialog怎麽用?Java OptionSettingDialog使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


OptionSettingDialog類屬於org.insightech.er.editor.view.dialog.option包,在下文中一共展示了OptionSettingDialog類的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: execute

import org.insightech.er.editor.view.dialog.option.OptionSettingDialog; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public void execute(Event event) {
	ERDiagram diagram = this.getDiagram();

	Settings settings = (Settings) diagram.getDiagramContents()
			.getSettings().clone();

	OptionSettingDialog dialog = new OptionSettingDialog(PlatformUI
			.getWorkbench().getActiveWorkbenchWindow().getShell(),
			settings, diagram);

	if (dialog.open() == IDialogConstants.OK_ID) {
		ChangeSettingsCommand command = new ChangeSettingsCommand(diagram,
				settings, true);

		this.execute(command);
	}
}
 
開發者ID:kozake,項目名稱:ermaster-k,代碼行數:22,代碼來源:OptionSettingAction.java

示例2: execute

import org.insightech.er.editor.view.dialog.option.OptionSettingDialog; //導入依賴的package包/類
/**
 * {@inheritDoc}
 */
@Override
public void execute(final Event event) {
    final ERDiagram diagram = getDiagram();

    final Settings settings = diagram.getDiagramContents().getSettings().clone();

    final OptionSettingDialog dialog = new OptionSettingDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), settings, diagram);

    if (dialog.open() == IDialogConstants.OK_ID) {
        final ChangeSettingsCommand command = new ChangeSettingsCommand(diagram, settings, true);

        this.execute(command);
    }
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:18,代碼來源:OptionSettingAction.java

示例3: AdvancedTabWrapper

import org.insightech.er.editor.view.dialog.option.OptionSettingDialog; //導入依賴的package包/類
public AdvancedTabWrapper(OptionSettingDialog dialog, TabFolder parent,
		Settings settings, ERDiagram diagram) {
	super(dialog, parent, "label.advanced.settings");

	this.diagram = diagram;
	this.settings = settings;
}
 
開發者ID:kozake,項目名稱:ermaster-k,代碼行數:8,代碼來源:AdvancedTabWrapper.java

示例4: AdvancedTabWrapper

import org.insightech.er.editor.view.dialog.option.OptionSettingDialog; //導入依賴的package包/類
public AdvancedTabWrapper(final OptionSettingDialog dialog, final TabFolder parent, final Settings settings, final ERDiagram diagram) {
    super(dialog, parent, "label.advanced.settings");

    this.diagram = diagram;
    this.settings = settings;
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:7,代碼來源:AdvancedTabWrapper.java

示例5: DBSelectTabWrapper

import org.insightech.er.editor.view.dialog.option.OptionSettingDialog; //導入依賴的package包/類
public DBSelectTabWrapper(final OptionSettingDialog dialog, final TabFolder parent, final Settings settings) {
    super(dialog, parent, "label.database");

    this.settings = settings;
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:6,代碼來源:DBSelectTabWrapper.java

示例6: EnvironmentTabWrapper

import org.insightech.er.editor.view.dialog.option.OptionSettingDialog; //導入依賴的package包/類
public EnvironmentTabWrapper(final OptionSettingDialog dialog, final TabFolder parent, final Settings settings) {
    super(dialog, parent, "label.tablespace.environment");

    this.settings = settings;
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:6,代碼來源:EnvironmentTabWrapper.java

示例7: OptionTabWrapper

import org.insightech.er.editor.view.dialog.option.OptionSettingDialog; //導入依賴的package包/類
public OptionTabWrapper(final OptionSettingDialog dialog, final TabFolder parent, final Settings settings) {
    super(dialog, parent, "label.option");

    this.settings = settings;
}
 
開發者ID:roundrop,項目名稱:ermasterr,代碼行數:6,代碼來源:OptionTabWrapper.java

示例8: DBSelectTabWrapper

import org.insightech.er.editor.view.dialog.option.OptionSettingDialog; //導入依賴的package包/類
public DBSelectTabWrapper(OptionSettingDialog dialog, TabFolder parent,
		Settings settings) {
	super(dialog, parent, "label.database");

	this.settings = settings;
}
 
開發者ID:kozake,項目名稱:ermaster-k,代碼行數:7,代碼來源:DBSelectTabWrapper.java

示例9: EnvironmentTabWrapper

import org.insightech.er.editor.view.dialog.option.OptionSettingDialog; //導入依賴的package包/類
public EnvironmentTabWrapper(OptionSettingDialog dialog, TabFolder parent,
		Settings settings) {
	super(dialog, parent, "label.tablespace.environment");

	this.settings = settings;
}
 
開發者ID:kozake,項目名稱:ermaster-k,代碼行數:7,代碼來源:EnvironmentTabWrapper.java

示例10: OptionTabWrapper

import org.insightech.er.editor.view.dialog.option.OptionSettingDialog; //導入依賴的package包/類
public OptionTabWrapper(OptionSettingDialog dialog, TabFolder parent,
		Settings settings) {
	super(dialog, parent, "label.option");

	this.settings = settings;
}
 
開發者ID:kozake,項目名稱:ermaster-k,代碼行數:7,代碼來源:OptionTabWrapper.java


注:本文中的org.insightech.er.editor.view.dialog.option.OptionSettingDialog類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。