use of com.cubrid.cubridmanager.ui.cubrid.dbspace.dialog.AutoAddVolumeLogDialog in project cubrid-manager by CUBRID.
the class AutoAddVolumeLogAction method run.
/**
*
* @see org.eclipse.jface.action.Action#run()
*/
public void run() {
Object[] obj = this.getSelectedObj();
DefaultCubridNode node = null;
CubridServer server = null;
if (obj.length > 0 && obj[0] instanceof DefaultCubridNode) {
node = (DefaultCubridNode) obj[0];
server = node.getServer();
}
AutoAddVolumeLogDialog dlg = new AutoAddVolumeLogDialog(getShell());
dlg.setServer(server);
if (dlg.loadData()) {
dlg.open();
}
}
Aggregations