use of com.cubrid.common.ui.cubrid.table.dialog.ImportDataFromFileDialog in project cubrid-manager by CUBRID.
the class SelectByMultiPstmtDataAction method doRun.
/**
* Perform select
*
* @param node
*/
private void doRun(ISchemaNode node) {
ImportDataFromFileDialog dialog = new ImportDataFromFileDialog(getShell(), node.getDatabase(), node.getName(), false);
dialog.open();
}
use of com.cubrid.common.ui.cubrid.table.dialog.ImportDataFromFileDialog in project cubrid-manager by CUBRID.
the class PstmtMultiDataAction method run.
/**
* @see org.eclipse.jface.action.Action#run()
*/
/**
* @see org.eclipse.jface.action.Action#run()
*/
public void run() {
Object[] obj = this.getSelectedObj();
if (!isSupported(obj)) {
setEnabled(false);
return;
}
ISchemaNode node = (ISchemaNode) obj[0];
ImportDataFromFileDialog dialog = new ImportDataFromFileDialog(getShell(), node.getDatabase());
dialog.open();
}
use of com.cubrid.common.ui.cubrid.table.dialog.ImportDataFromFileDialog in project cubrid-manager by CUBRID.
the class ImportDataFromFileAction method doRun.
/**
* Perform insert
* @param node
*/
private void doRun(ISchemaNode node) {
ImportDataFromFileDialog dialog = new ImportDataFromFileDialog(getShell(), node.getDatabase(), node.getName(), true);
dialog.open();
}
Aggregations