当前位置: 首页>>代码示例>>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;未经允许,请勿转载。