@Component(value="ui_MenuItemCommands")
public class MenuItemCommands
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected class |
MenuItemCommands.BeanCommand |
protected class |
MenuItemCommands.RunnableClassCommand |
protected class |
MenuItemCommands.ScreenCommand |
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected io.jmix.core.ClassManager |
classManager |
protected io.jmix.core.DataManager |
dataManager |
protected io.jmix.core.FetchPlanRepository |
fetchPlanRepository |
protected MenuConfig |
menuConfig |
protected io.jmix.core.Metadata |
metadata |
protected io.jmix.core.MetadataTools |
metadataTools |
protected io.micrometer.core.instrument.MeterRegistry |
meterRegistry |
protected ScreenBuilders |
screenBuilders |
protected WindowConfig |
windowConfig |
Constructor and Description |
---|
MenuItemCommands() |
Modifier and Type | Method and Description |
---|---|
MenuItemCommand |
create(FrameOwner origin,
MenuItem item)
Create menu command.
|
protected MenuItemCommand |
createScreenCommand(FrameOwner origin,
MenuItem item,
java.util.Map<java.lang.String,java.lang.Object> params,
java.util.List<UiControllerProperty> properties) |
protected java.util.Map<java.lang.String,java.lang.Object> |
loadParams(MenuItem item) |
protected java.util.List<UiControllerProperty> |
loadProperties(org.dom4j.Element menuItemDescriptor) |
protected UiControllerProperty |
loadUiControllerProperty(org.dom4j.Element propertyElement) |
protected java.lang.Object |
parseEntityId(io.jmix.core.metamodel.model.MetaClass entityMetaClass,
java.lang.String entityId) |
@Autowired protected io.jmix.core.DataManager dataManager
@Autowired protected MenuConfig menuConfig
@Autowired protected WindowConfig windowConfig
@Autowired protected io.jmix.core.ClassManager classManager
@Autowired protected io.jmix.core.Metadata metadata
@Autowired protected io.jmix.core.MetadataTools metadataTools
@Autowired protected io.jmix.core.FetchPlanRepository fetchPlanRepository
@Autowired protected ScreenBuilders screenBuilders
@Autowired protected org.springframework.context.ApplicationContext applicationContext
@Autowired protected io.micrometer.core.instrument.MeterRegistry meterRegistry
@Nullable public MenuItemCommand create(FrameOwner origin, MenuItem item)
item
- menu itemprotected MenuItemCommand createScreenCommand(FrameOwner origin, MenuItem item, java.util.Map<java.lang.String,java.lang.Object> params, java.util.List<UiControllerProperty> properties)
protected java.util.Map<java.lang.String,java.lang.Object> loadParams(MenuItem item)
protected java.util.List<UiControllerProperty> loadProperties(@Nullable org.dom4j.Element menuItemDescriptor)
protected UiControllerProperty loadUiControllerProperty(org.dom4j.Element propertyElement)
@Nullable protected java.lang.Object parseEntityId(io.jmix.core.metamodel.model.MetaClass entityMetaClass, java.lang.String entityId)