Class EntityInfoWindow
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.datatoolsui.screen.entityinfo.EntityInfoWindow
- All Implemented Interfaces:
FrameOwner
@UiController("entityInfoWindow")
@UiDescriptor("entity-info-window.xml")
public class EntityInfoWindow
extends Screen
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected HBoxLayout
protected Button
protected Object
protected CollectionContainer<InfoValue>
protected MessageBundle
protected Metadata
protected MetadataTools
protected Notifications
protected EntitySqlGenerationService
protected UiComponents
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected InfoValue
createItem
(String messageKey, Object value) protected void
protected void
protected void
void
protected void
onCopy
(ClipboardTrigger.CopyEvent copyEvent) void
onInit
(Screen.InitEvent event) void
void
void
protected Object
reloadEntity
(Object entity) void
protected void
updateButtons
(Button caller) protected void
updateScriptArea
(String value) Methods inherited from class io.jmix.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, isScreenAction, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
infoTable
-
scriptArea
-
buttonsPanel
-
infoDc
-
metadata
-
uiComponents
-
metadataTools
-
messageBundle
-
notifications
-
sqlGenerationService
-
copyButton
-
entity
-
-
Constructor Details
-
EntityInfoWindow
public EntityInfoWindow()
-
-
Method Details
-
onInit
-
initCopyButton
protected void initCopyButton() -
initTable
protected void initTable() -
onCopy
-
setEntity
-
onBeforeShow
-
initButtonsPanel
protected void initButtonsPanel() -
collectEntityInfo
protected void collectEntityInfo() -
addItem
-
addItem
-
reloadEntity
-
createItem
-
onInsertBtnClick
-
onSelectBtnClick
-
onUpdateBtnClick
-
updateScriptArea
-
updateButtons
-