Examples of unregisterCustomShortcutSet()


Examples of com.intellij.openapi.actionSystem.AnAction.unregisterCustomShortcutSet()

    myWidth = (int) (toolBar.getPreferredSize().getWidth() + new JLabel(
        getFullTitle(usages, title, hadMoreSeparator, visibleNodes.size() - 1,
            true)).getPreferredSize().getWidth() + settingsButton.getPreferredSize().getWidth());
    myWidth = -1;
    for (AnAction action : toolbar.getChildren(null)) {
      action.unregisterCustomShortcutSet(usageView.getComponent());
      action.registerCustomShortcutSet(action.getShortcutSet(), content);
    }

    return popup[0];
  }
View Full Code Here

Examples of com.intellij.openapi.actionSystem.AnAction.unregisterCustomShortcutSet()

    myWidth = (int)(toolBar.getPreferredSize().getWidth()
        + new JLabel(getFullTitle(usages, title, hadMoreSeparator, visibleNodes.size() - 1, true)).getPreferredSize().getWidth()
        + settingsButton.getPreferredSize().getWidth());
    myWidth = -1;
    for (AnAction action : toolbar.getChildren(null)) {
      action.unregisterCustomShortcutSet(usageView.getComponent());
      action.registerCustomShortcutSet(action.getShortcutSet(), content);
    }

    return popup[0];
  }
View Full Code Here

Examples of com.intellij.openapi.actionSystem.AnAction.unregisterCustomShortcutSet()

        final AnAction collapseAllAction = actionsManager.createCollapseAllAction(treeExpander, resultPanel);

        Disposer.register(this, new Disposable() {
            @Override
            public void dispose() {
                collapseAllAction.unregisterCustomShortcutSet(resultPanel);
                expandAllAction.unregisterCustomShortcutSet(resultPanel);
            }
        });

        actionResultGroup.add(expandAllAction);
View Full Code Here

Examples of com.intellij.openapi.actionSystem.AnAction.unregisterCustomShortcutSet()

        final AnAction collapseAllAction = actionsManager.createCollapseAllAction(treeExpander, rootPanel);

        Disposer.register(this, new Disposable() {
            @Override
            public void dispose() {
                collapseAllAction.unregisterCustomShortcutSet(rootPanel);
                expandAllAction.unregisterCustomShortcutSet(rootPanel);
            }
        });

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.