use of org.jkiss.dbeaver.ui.dialogs.tools.ToolWizardDialog in project dbeaver by serge-rider.
the class PostgreToolScript method execute.
@Override
public void execute(IWorkbenchWindow window, IWorkbenchPart activePart, Collection<DBSObject> objects) throws DBException {
for (DBSObject object : objects) {
if (object instanceof PostgreSchema) {
ToolWizardDialog dialog = new ToolWizardDialog(window, new PostgreScriptExecuteWizard((PostgreSchema) object, false));
dialog.open();
}
}
}
use of org.jkiss.dbeaver.ui.dialogs.tools.ToolWizardDialog in project dbeaver by serge-rider.
the class MySQLToolExport method execute.
@Override
public void execute(IWorkbenchWindow window, IWorkbenchPart activePart, Collection<DBSObject> objects) throws DBException {
ToolWizardDialog dialog = new ToolWizardDialog(window, new MySQLExportWizard(objects));
dialog.open();
}
use of org.jkiss.dbeaver.ui.dialogs.tools.ToolWizardDialog in project dbeaver by serge-rider.
the class MySQLToolImport method execute.
@Override
public void execute(IWorkbenchWindow window, IWorkbenchPart activePart, Collection<DBSObject> objects) throws DBException {
for (DBSObject object : objects) {
if (object instanceof MySQLCatalog) {
ToolWizardDialog dialog = new ToolWizardDialog(window, new MySQLScriptExecuteWizard((MySQLCatalog) object, true));
dialog.open();
}
}
}
use of org.jkiss.dbeaver.ui.dialogs.tools.ToolWizardDialog in project dbeaver by serge-rider.
the class MySQLToolScript method execute.
@Override
public void execute(IWorkbenchWindow window, IWorkbenchPart activePart, Collection<DBSObject> objects) throws DBException {
for (DBSObject object : objects) {
if (object instanceof MySQLCatalog) {
ToolWizardDialog dialog = new ToolWizardDialog(window, new MySQLScriptExecuteWizard((MySQLCatalog) object, false));
dialog.open();
}
}
}
use of org.jkiss.dbeaver.ui.dialogs.tools.ToolWizardDialog in project dbeaver by serge-rider.
the class OracleToolScript method execute.
@Override
public void execute(IWorkbenchWindow window, IWorkbenchPart activePart, Collection<DBSObject> objects) throws DBException {
for (DBSObject object : objects) {
if (object.getDataSource() instanceof OracleDataSource) {
ToolWizardDialog dialog = new ToolWizardDialog(window, new OracleScriptExecuteWizard((OracleDataSource) object.getDataSource()));
dialog.open();
}
}
}
Aggregations