Package io.jmix.flowui.impl
Class ActionsImpl
java.lang.Object
io.jmix.flowui.impl.ActionsImpl
- All Implemented Interfaces:
Actions
,EventListener
,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
Field Summary
Modifier and TypeFieldDescriptionprotected ActionsConfigurationSorter
protected org.springframework.context.ApplicationContext
protected ClassManager
protected List<ActionsConfiguration>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends Action>
T<T extends Action>
Tprotected Action
createAction
(Class<? extends Action> actionClass) protected Action
createAction
(Class<? extends Action> actionClass, String id) void
onApplicationEvent
(org.springframework.context.event.ContextRefreshedEvent event) protected void
resolveActionClass
(Class<? extends Action> actionClass) void
setActionsConfigurationSorter
(ActionsConfigurationSorter actionsConfigurationSorter) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setClassManager
(ClassManager classManager) void
setConfigurations
(List<ActionsConfiguration> configurations)
-
Field Details
-
configurations
-
classManager
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
actionsConfigurationSorter
-
classes
-
-
Constructor Details
-
ActionsImpl
public ActionsImpl()
-
-
Method Details
-
setConfigurations
-
setClassManager
-
setApplicationContext
@Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) -
setActionsConfigurationSorter
@Autowired public void setActionsConfigurationSorter(ActionsConfigurationSorter actionsConfigurationSorter) -
postConstruct
@PostConstruct protected void postConstruct() -
create
-
create
-
createAction
-
createAction
-
resolveActionClass
-
onApplicationEvent
public void onApplicationEvent(@Nonnull org.springframework.context.event.ContextRefreshedEvent event) - Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-