diff options
author | Paul Webster | 2010-12-08 14:04:52 +0000 |
---|---|---|
committer | Paul Webster | 2010-12-08 14:04:52 +0000 |
commit | eeef2a639704464a855b28104321d37e7c62480a (patch) | |
tree | 0e63191b2a66bfd6a0876e0a1a073e7c4b6e0de4 /bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | |
parent | f99ae33e6c0ffae5dd7665e57a6feac699b66704 (diff) | |
download | eclipse.platform.ui-eeef2a639704464a855b28104321d37e7c62480a.tar.gz eclipse.platform.ui-eeef2a639704464a855b28104321d37e7c62480a.tar.xz eclipse.platform.ui-eeef2a639704464a855b28104321d37e7c62480a.zip |
Bug 332038 - Logs filled with "Defining a binding table" messagesv20101208-1430
tie the logging to tracing, so they only show up in debug 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.java | 4 |
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); |