Search in sources :

Example 1 with ImportDataFromFileDialog

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();
}
Also used : ImportDataFromFileDialog(com.cubrid.common.ui.cubrid.table.dialog.ImportDataFromFileDialog)

Example 2 with ImportDataFromFileDialog

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();
}
Also used : ISchemaNode(com.cubrid.common.ui.spi.model.ISchemaNode) ImportDataFromFileDialog(com.cubrid.common.ui.cubrid.table.dialog.ImportDataFromFileDialog)

Example 3 with ImportDataFromFileDialog

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();
}
Also used : ImportDataFromFileDialog(com.cubrid.common.ui.cubrid.table.dialog.ImportDataFromFileDialog)

Aggregations

ImportDataFromFileDialog (com.cubrid.common.ui.cubrid.table.dialog.ImportDataFromFileDialog)3 ISchemaNode (com.cubrid.common.ui.spi.model.ISchemaNode)1