Class ActionManagerImpl
java.lang.Object
ru.cg.webbpm.studio.platform.impl.action_system.ActionManagerImpl
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
,ActionManager
@Component
public class ActionManagerImpl
extends Object
implements ActionManager, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
user: Ildar date: 21.02.15
-
Constructor Summary
ConstructorsConstructorDescriptionActionManagerImpl
(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) -
Method Summary
Modifier and TypeMethodDescriptioncreateContextMenu
(AnActionGroup group) Creating context menu WARNING!createMenuBar
(AnActionGroup group) void
disposeContextMenu
(ActionContextMenu contextMenu) void
disposeMenuBar
(ActionMenuBar menuBar) void
onApplicationEvent
(org.springframework.context.event.ContextRefreshedEvent event) void
registerAction
(AnAction action) Register action to be available in other modulesvoid
unregisterAction
(AnAction action)
-
Constructor Details
-
ActionManagerImpl
@Autowired public ActionManagerImpl(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
-
-
Method Details
-
createContextMenu
Creating context menu WARNING! Don't forget to have a strong reference on ActionContextMenu Else GC will delete object- Specified by:
createContextMenu
in interfaceActionManager
-
disposeContextMenu
- Specified by:
disposeContextMenu
in interfaceActionManager
-
createMenuBar
- Specified by:
createMenuBar
in interfaceActionManager
-
disposeMenuBar
- Specified by:
disposeMenuBar
in interfaceActionManager
-
registerAction
Description copied from interface:ActionManager
Register action to be available in other modules- Specified by:
registerAction
in interfaceActionManager
- Parameters:
action
- - action to register
-
unregisterAction
- Specified by:
unregisterAction
in interfaceActionManager
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) - Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-