Class WidgetEdit
- All Implemented Interfaces:
ChangeTracker,EditorScreen<Widget>,FrameOwner,ReadOnlyAwareScreen
@UiController("dshbrd_Widget.edit")
@UiDescriptor("widget-edit.xml")
public class WidgetEdit
extends StandardEditor<Widget>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.StandardEditor
StandardEditor.AfterCommitChangesEvent, StandardEditor.BeforeCommitChangesEvent, StandardEditor.InitEntityEvent<E>, StandardEditor.ValidationEventNested 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
FieldsModifier and TypeFieldDescriptionprotected AccessConstraintsHelperprotected Fragmentsstatic final Stringprotected ParametersFragmentstatic final Stringprotected List<WidgetTypeInfo>protected InstanceContainer<Widget>protected OrderedContainerprotected ScreenFragmentprotected WidgetRepositoryFields inherited from class io.jmix.ui.screen.StandardEditor
commitActionPerformed, showEnableEditingBtn, showSaveNotificationFields inherited from interface io.jmix.ui.screen.EditorScreen
ENABLE_EDITING, WINDOW_CLOSE, WINDOW_COMMIT, WINDOW_COMMIT_AND_CLOSEFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidvoidprotected voidprotected voidprotected voidMethods inherited from class io.jmix.ui.screen.StandardEditor
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, preventUnsavedChanges, releaseLock, setCrossFieldValidate, setEntityToEdit, setModifiedAfterOpen, setReadOnly, setShowSaveNotification, setupEntityToEdit, setupLock, setupModifiedTracking, showSaveNotification, validateScreen, validateUiComponentsMethods 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, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
SCREEN_NAME
- See Also:
-
ITEM_DC
- See Also:
-
widgetDc
-
widgetEditBox
-
paramsFragment
-
widgetRepository
-
accessHelper
-
fragments
-
widgetCaption
-
widgetId
-
typesInfo
-
widgetEditFragment
-
-
Constructor Details
-
WidgetEdit
public WidgetEdit()
-
-
Method Details
-
onBeforeShow
-
onInitEntity
-
setWidgetType
protected void setWidgetType() -
initParametersFragment
protected void initParametersFragment() -
preCommit
-
validateAdditionalRules
- Overrides:
validateAdditionalRulesin classStandardEditor<Widget>
-