Class WidgetTemplateEdit
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.screen.StandardEditor<WidgetTemplate>
io.jmix.dashboardsui.screen.widgettemplate.WidgetTemplateEdit
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<WidgetTemplate>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("dshbrd_WidgetTemplate.edit")
@UiDescriptor("widget-template-edit.xml")
public class WidgetTemplateEdit
extends StandardEditor<WidgetTemplate>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.StandardEditor
StandardEditor.AfterCommitChangesEvent, StandardEditor.BeforeCommitChangesEvent, StandardEditor.InitEntityEvent<E>, StandardEditor.ValidationEvent
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 AccessConstraintsHelper
protected UiComponents
protected JsonConverter
protected Button
protected Form
protected Metadata
protected boolean
protected ScreenBuilders
protected WidgetRepository
protected InstanceContainer<WidgetTemplate>
protected WidgetUtils
Fields inherited from class io.jmix.ui.screen.StandardEditor
commitActionPerformed, showEnableEditingBtn, showSaveNotification
Fields inherited from interface io.jmix.ui.screen.EditorScreen
ENABLE_EDITING, WINDOW_CLOSE, WINDOW_COMMIT, WINDOW_COMMIT_AND_CLOSE
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
openWidgetEditor
(Widget widget) protected void
setWidgetTypeComboBoxValue
(Widget widget, ComboBox<String> comboBox) protected void
Methods 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, isUiListComponentsValidationEnabled, onChangeEvent, onPostCommitEvent, preventUnsavedChanges, releaseLock, setCrossFieldValidate, setEntityToEdit, setModifiedAfterOpen, setReadOnly, setShowSaveNotification, setupEntityToEdit, setupLock, setupModifiedTracking, showSaveNotification, validateScreen, validateUiComponents
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
-
form
-
widgetRepository
-
components
-
widgetTemplateDc
-
converter
-
metadata
-
widgetUtils
-
accessHelper
-
screenBuilders
-
widgetTypeComboBox
-
editWidgetButton
-
openWidgetEditor
protected boolean openWidgetEditor
-
-
Constructor Details
-
WidgetTemplateEdit
public WidgetTemplateEdit()
-
-
Method Details
-
onBeforeShow
-
generateWidgetTypeField
-
openWidgetEditor
-
setWidgetTypeComboBoxValue
-
validateAdditionalRules
- Overrides:
validateAdditionalRules
in classStandardEditor<WidgetTemplate>
-