use of com.cubrid.cubridmanager.ui.cubrid.database.dialog.PlanDumpDialog in project cubrid-manager by CUBRID.
the class PlanDumpAction method run.
public void run() {
Object[] obj = this.getSelectedObj();
if (!isSupported(obj[0])) {
setEnabled(false);
return;
}
ISchemaNode node = (ISchemaNode) obj[0];
CubridDatabase database = node.getDatabase();
if (database == null) {
CommonUITool.openErrorBox(getShell(), Messages.msgSelectDB);
return;
}
PlanDumpDialog dlg = new PlanDumpDialog(getShell());
dlg.setDatabase(database);
dlg.open();
}
Aggregations