本文整理匯總了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;
}