Package io.jmix.ui.menu
Class MenuItemCommands.ScreenCommand
java.lang.Object
io.jmix.ui.menu.MenuItemCommands.ScreenCommand
- All Implemented Interfaces:
MenuItemCommand
- Enclosing class:
- MenuItemCommands
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.dom4j.Element
protected MenuItem
protected FrameOwner
protected String
-
Constructor Summary
ModifierConstructorDescriptionprotected
ScreenCommand
(FrameOwner origin, MenuItem item, String screen, org.dom4j.Element descriptor) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<UiControllerProperty>
convertToUiControllerProperties
(List<MenuItem.MenuItemProperty> properties) protected Screen
createScreen
(WindowInfo windowInfo, String screenId, List<UiControllerProperty> controllerProperties) protected Object
getEntityToEdit
(String screenId, List<UiControllerProperty> controllerProperties) protected OpenMode
getOpenMode
(org.dom4j.Element descriptor) protected Boolean
getResizable
(org.dom4j.Element descriptor) void
run()
-
Field Details
-
origin
-
item
-
screen
-
descriptor
protected org.dom4j.Element descriptor
-
-
Constructor Details
-
Method Details
-
run
public void run()- Specified by:
run
in interfaceMenuItemCommand
-
getEntityToEdit
-
createScreen
@Nullable protected Screen createScreen(WindowInfo windowInfo, String screenId, List<UiControllerProperty> controllerProperties) -
getDescription
- Specified by:
getDescription
in interfaceMenuItemCommand
-
getOpenMode
-
getResizable
-
convertToUiControllerProperties
protected List<UiControllerProperty> convertToUiControllerProperties(List<MenuItem.MenuItemProperty> properties)
-