use of com.cubrid.cubridquery.ui.common.dialog.ShortSettingEditorConfigDialog in project cubrid-manager by CUBRID.
the class ShortSetEditorConfigAction method run.
public void run() {
DatabaseEditorConfig editorConfig = QueryOptions.getEditorConfig(database, false);
ShortSettingEditorConfigDialog dialog = new ShortSettingEditorConfigDialog(Display.getCurrent().getActiveShell(), editorConfig);
if (IDialogConstants.OK_ID == dialog.open()) {
editorConfig = dialog.getEditorConfig();
QueryOptions.putEditorConfig(database, editorConfig, false);
CQBDBNodePersistManager.getInstance().saveDatabases();
}
}
Aggregations