Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java')
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
index cccd636397f..d07a9edcfea 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
@@ -1803,7 +1803,9 @@ public final class Workbench extends EventManager implements IWorkbench {
if (contains(bindingTables, id)) {
return;
}
- WorkbenchPlugin.log("Defining a binding table: " + id); //$NON-NLS-1$
+ if (WorkbenchPlugin.getDefault().isDebugging()) {
+ WorkbenchPlugin.log("Defining a binding table: " + id); //$NON-NLS-1$
+ }
MBindingTable bt = CommandsFactoryImpl.eINSTANCE.createBindingTable();
bt.setBindingContextId(id);
bindingTables.add(bt);

Back to the top