Class PersistentDashboardEdit
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.screen.StandardEditor<PersistentDashboard>
io.jmix.dashboardsui.screen.dashboard.editor.PersistentDashboardEdit
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<PersistentDashboard>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("dshbrd_PersistentDashboard.edit")
@UiDescriptor("persistent-dashboard-edit.xml")
public class PersistentDashboardEdit
extends StandardEditor<PersistentDashboard>
-
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 org.springframework.context.ApplicationContext
protected CheckBox
protected VBoxLayout
protected CanvasEditorFragment
protected JsonConverter
protected CoreProperties
protected InstanceContainer<DashboardModel>
protected Downloader
protected DropLayoutTools
protected EntityStates
protected Form
protected Fragments
protected FileUploadField
protected Messages
protected Metadata
protected VBoxLayout
protected GroupBoxLayout
protected ScreenBuilders
protected Screens
protected UiEventPublisher
protected UiProperties
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
protected void
void
void
void
void
void
void
void
void
protected void
void
void
onRemoveLayout
(WidgetRemovedEvent event) void
onStyleChanged
(StyleChangedEvent event) void
void
onWidgetMoved
(WidgetMovedEvent event) protected void
protected void
protected void
protected void
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, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
dashboardDc
-
form2
-
paramsBox
-
paletteBox
-
canvasBox
-
converter
-
metadata
-
downloader
-
importJsonField
-
accessHelper
-
uiEventPublisher
-
fragments
-
screens
-
screenBuilders
-
canvasFragment
-
dropLayoutTools
-
availableCheckBox
-
entityStates
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext -
uiProperties
-
coreProperties
-
messages
-
-
Constructor Details
-
PersistentDashboardEdit
public PersistentDashboardEdit()
-
-
Method Details
-
onBeforeShow
-
setDashboardModel
protected void setDashboardModel() -
getDashboardModel
-
initParametersFragment
protected void initParametersFragment() -
initPaletteFragment
protected void initPaletteFragment() -
initCanvasFragment
protected void initCanvasFragment() -
onImportJsonFieldFileUploadSucceed
@Subscribe("importJsonField") public void onImportJsonFieldFileUploadSucceed(SingleFileUploadField.FileUploadSucceedEvent event) -
onExportJsonBtnClick
-
uploadJson
protected void uploadJson() -
onPropagateBtnClick
-
preCommit
-
onDashboardDcItemPropertyChange
@Subscribe(id="dashboardDc", target=DATA_CONTAINER) public void onDashboardDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<DashboardModel> event) -
onDashboardDcItemChange
@Subscribe(id="dashboardDc", target=DATA_CONTAINER) public void onDashboardDcItemChange(InstanceContainer.ItemChangeEvent<DashboardModel> event) -
onPostCommit
-
getAssistanceBeanNames
-
onWidgetMoved
-
onWeightChanged
-
onColspanChanged
-
onExpandChanged
-
onStyleChanged
-
onRemoveLayout
-
widgetAddedToTreeEventListener
-
onOpenWidgetEditor
-
validateAdditionalRules
- Overrides:
validateAdditionalRules
in classStandardEditor<PersistentDashboard>
-