@UiController(value="ui_MBeanInspectScreen") @UiDescriptor(value="mbean-inspect-screen.xml") public class MBeanInspectScreen extends StandardEditor<ManagedBeanInfo>
StandardEditor.AfterCommitChangesEvent, StandardEditor.BeforeCommitChangesEvent, StandardEditor.InitEntityEvent<E>, StandardEditor.ValidationEvent
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
Modifier and Type | Field and Description |
---|---|
protected CollectionContainer<ManagedBeanAttribute> |
attrDc |
protected Table<ManagedBeanAttribute> |
attributesTable |
protected CollectionLoader<ManagedBeanAttribute> |
attrLoader |
protected Action |
editAttributeAction |
protected Fragments |
fragments |
protected JmxControl |
jmxControl |
protected io.jmix.core.Messages |
messages |
protected BoxLayout |
operations |
protected ScreenBuilders |
screenBuilders |
protected ThemeConstants |
themeConstants |
protected UiComponents |
uiComponents |
commitActionPerformed, showEnableEditingBtn, showSaveNotification
ENABLE_EDITING, WINDOW_CLOSE, WINDOW_COMMIT, WINDOW_COMMIT_AND_CLOSE
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
Constructor and Description |
---|
MBeanInspectScreen() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<ManagedBeanAttribute> |
attrDlLoadDelegate(io.jmix.core.LoadContext<ManagedBeanAttribute> loadContext) |
protected Label<java.lang.String> |
attributesTableTypeValueGenerator(ManagedBeanAttribute attribute) |
void |
beforeShowEvent(Screen.BeforeShowEvent beforeShowEvent) |
protected void |
close(Button.ClickEvent clickEvent) |
void |
editAttribute(Action.ActionPerformedEvent event) |
protected void |
initOperationsLayout() |
protected void |
preventUnsavedChanges(Screen.BeforeCloseEvent event) |
protected void |
reloadAttribute(ManagedBeanAttribute attribute) |
void |
reloadAttributes(Action.ActionPerformedEvent event) |
addAfterCommitChangesListener, addBeforeCommitChangesListener, addDefaultCloseAction, addDefaultCommitAction, addDefaultCommitAndCloseAction, addDefaultEnableEditingAction, addInitEntityListener, addValidationEventListener, cancel, closeWithCommit, closeWithDiscard, commit, commitAndClose, commitChanges, disableCommitActions, doNotReloadEditedEntity, enableEditing, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getSaveNotificationCaption, getWindowActionOptional, hasUnsavedChanges, initActions, isCrossFieldValidate, isEntityModifiedInParentContext, isEntityModifiedRecursive, isLocked, isModifiedAfterOpen, isReadOnly, isReadOnlyDueToLock, isShowSaveNotification, onChangeEvent, onPostCommitEvent, releaseLock, setCrossFieldValidate, setEntityToEdit, setModifiedAfterOpen, setReadOnly, setShowSaveNotification, setupEntityToEdit, setupLock, setupModifiedTracking, showSaveNotification, validateAdditionalRules, validateScreen, validateUiComponents
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
@Autowired protected Table<ManagedBeanAttribute> attributesTable
@Autowired @Qualifier(value="attributesTable.edit") protected Action editAttributeAction
@Autowired protected JmxControl jmxControl
@Autowired protected BoxLayout operations
@Autowired protected CollectionContainer<ManagedBeanAttribute> attrDc
@Autowired protected UiComponents uiComponents
@Autowired protected ScreenBuilders screenBuilders
@Autowired protected io.jmix.core.Messages messages
@Autowired protected Fragments fragments
@Autowired protected CollectionLoader<ManagedBeanAttribute> attrLoader
@Autowired protected ThemeConstants themeConstants
@Subscribe public void beforeShowEvent(Screen.BeforeShowEvent beforeShowEvent)
@Install(to="attributesTable.type", subject="columnGenerator") protected Label<java.lang.String> attributesTableTypeValueGenerator(ManagedBeanAttribute attribute)
@Install(to="attrLoader", target=DATA_LOADER) protected java.util.List<ManagedBeanAttribute> attrDlLoadDelegate(io.jmix.core.LoadContext<ManagedBeanAttribute> loadContext)
@Subscribe(value="closeBtn") protected void close(Button.ClickEvent clickEvent)
protected void preventUnsavedChanges(Screen.BeforeCloseEvent event)
preventUnsavedChanges
in class StandardEditor<ManagedBeanInfo>
@Subscribe(value="attributesTable.edit") public void editAttribute(Action.ActionPerformedEvent event)
@Subscribe(value="attributesTable.refresh") public void reloadAttributes(Action.ActionPerformedEvent event)
protected void reloadAttribute(ManagedBeanAttribute attribute)
protected void initOperationsLayout()