本文整理汇总了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);
}
}
示例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);
}
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}