提交 5c9669d5 编写于 作者: J jurgen

Context listener fix

上级 62660edf
...@@ -111,14 +111,14 @@ class WorkbenchContextListener implements IWindowListener, IPageListener, IPartL ...@@ -111,14 +111,14 @@ class WorkbenchContextListener implements IWindowListener, IPageListener, IPartL
contextService.deferUpdates(true); contextService.deferUpdates(true);
if (part instanceof INavigatorModelView) { if (part instanceof INavigatorModelView) {
if (activationNavigator != null) { if (activationNavigator != null) {
log.warn("Double activation of navigator context"); log.debug("Double activation of navigator context");
contextService.deactivateContext(activationNavigator); contextService.deactivateContext(activationNavigator);
} }
activationNavigator = contextService.activateContext(NAVIGATOR_CONTEXT_ID); activationNavigator = contextService.activateContext(NAVIGATOR_CONTEXT_ID);
} }
if (part instanceof SQLEditorBase) { if (part instanceof SQLEditorBase) {
if (activationSQL != null) { if (activationSQL != null) {
log.warn("Double activation of SQL context"); log.debug("Double activation of SQL context");
contextService.deactivateContext(activationSQL); contextService.deactivateContext(activationSQL);
} }
activationSQL = contextService.activateContext(SQL_EDITOR_CONTEXT_ID); activationSQL = contextService.activateContext(SQL_EDITOR_CONTEXT_ID);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册