diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java index 2bd7d9f9c368..6b0674d04bf8 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java @@ -26,7 +26,10 @@ import com.intellij.openapi.actionSystem.impl.ActionToolbarImpl; import com.intellij.openapi.ide.CopyPasteManager; import com.intellij.openapi.util.Disposer; import com.intellij.openapi.util.EmptyRunnable; -import com.intellij.ui.*; +import com.intellij.ui.CaptionPanel; +import com.intellij.ui.ClickListener; +import com.intellij.ui.DoubleClickListener; +import com.intellij.ui.ListenerUtil; import com.intellij.ui.border.CustomLineBorder; import com.intellij.util.Alarm; import com.intellij.util.containers.ContainerUtil; @@ -85,10 +88,8 @@ public class XWatchesViewImpl extends XVariablesView implements DnDNativeTarget, DebuggerUIUtil.registerActionOnComponent(XDebuggerActions.XCOPY_WATCH, tree, myDisposables); DebuggerUIUtil.registerActionOnComponent(XDebuggerActions.XEDIT_WATCH, tree, myDisposables); - EmptyAction.registerWithShortcutSet(XDebuggerActions.XNEW_WATCH, - CommonActionsPanel.getCommonShortcut(CommonActionsPanel.Buttons.ADD), tree); - EmptyAction.registerWithShortcutSet(XDebuggerActions.XREMOVE_WATCH, - CommonActionsPanel.getCommonShortcut(CommonActionsPanel.Buttons.REMOVE), tree); + EmptyAction.registerWithShortcutSet(XDebuggerActions.XNEW_WATCH, CommonShortcuts.getNew(), tree); + EmptyAction.registerWithShortcutSet(XDebuggerActions.XREMOVE_WATCH, CommonShortcuts.getDelete(), tree); DnDManager.getInstance().registerTarget(this, tree);