◐ Shell
clean mode source ↗

Bugfix/issue 111 schema browser by PhilippSalvisberg · Pull Request #115 · utPLSQL/utPLSQL-SQLDeveloper

Expand Up @@ -50,6 +50,7 @@ import oracle.dbtools.raptor.navigator.impl.ObjectFolder; import oracle.dbtools.raptor.navigator.impl.SchemaFolder; import oracle.dbtools.raptor.navigator.plsql.PlSqlNode; import oracle.dbtools.raptor.schemabrowser.view.SBWindow; import oracle.dbtools.raptor.utils.Connections; import oracle.dbtools.worksheet.editor.Worksheet; import oracle.ide.Context; Expand Down Expand Up @@ -135,7 +136,7 @@ public boolean update(final IdeAction action, final Context context) { action.setEnabled(true); } } } else if (view instanceof DBNavigatorWindow) { } else if (view instanceof DBNavigatorWindow || view instanceof SBWindow) { action.setEnabled(true); // disable action if a node in the selection is not runnable for (int i = 0; i < context.getSelection().length; i++) { Expand Down Expand Up @@ -192,7 +193,7 @@ public boolean update(final IdeAction action, final Context context) { action.setEnabled(true); } } } else if (view instanceof DBNavigatorWindow) { } else if (view instanceof DBNavigatorWindow || view instanceof SBWindow) { // multiselection is not supported, use oddgen to generte tests for multiple objects if (context.getSelection().length == 1) { final Object element = context.getSelection()[0]; Expand Down Expand Up @@ -367,7 +368,7 @@ public void runTest(final Context context, boolean withDebug) { worksheet.runTestAsync(); } } } else if (view instanceof DBNavigatorWindow) { } else if (view instanceof DBNavigatorWindow || view instanceof SBWindow) { final URL url = getURL(context); if (url != null) { final String connectionName = URLTools.getConnectionName(url); Expand Down Expand Up @@ -469,7 +470,7 @@ public void codeCoverage(final Context context) { final CodeCoverageReporter reporter = new CodeCoverageReporter(getPathList(path), includeObjectList, connectionName); reporter.showParameterWindow(); } } else if (view instanceof DBNavigatorWindow) { } else if (view instanceof DBNavigatorWindow || view instanceof SBWindow) { logger.finer("Code coverage from DB navigator"); final URL url = getURL(context); if (url != null) { Expand Down Expand Up @@ -529,7 +530,7 @@ public void generateTest(final Context context) { } } } else { if (view instanceof DBNavigatorWindow) { if (view instanceof DBNavigatorWindow || view instanceof SBWindow) { final URL url = getURL(context); if (url != null) { final String connectionName = URLTools.getConnectionName(url); Expand Down