use of org.jkiss.dbeaver.ext.oracle.model.OracleDataSource 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