Interface ActionManager

All Known Implementing Classes:
ActionManagerImpl

public interface ActionManager
Provides access to action registry and factory methods for context menus and menu bars.

Modules can register their actions as available for other modules to use using registerAction(AnAction) method. To unregister action use unregisterAction(AnAction) method.

  • Method Details

    • registerAction

      void registerAction(AnAction action)
      Register action to be available in other modules
      Parameters:
      action - - action to register
    • unregisterAction

      void unregisterAction(AnAction action)
    • createContextMenu

      ActionContextMenu createContextMenu(AnActionGroup group)
      Creating context menu WARNING! Don't forget to have a strong reference on ActionContextMenu Else GC will delete object
    • disposeContextMenu

      void disposeContextMenu(ActionContextMenu contextMenu)
    • createMenuBar

      ActionMenuBar createMenuBar(AnActionGroup group)
    • disposeMenuBar

      void disposeMenuBar(ActionMenuBar menuBar)