Class RegionEditor
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.screen.StandardEditor<ReportRegion>
io.jmix.reportsui.screen.report.wizard.region.RegionEditor
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<ReportRegion>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("report_Region.edit")
@UiDescriptor("region-edit.xml")
public class RegionEditor
extends StandardEditor<ReportRegion>
-
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 Button
protected boolean
protected Button
protected Tree<EntityTreeNode>
protected boolean
protected MessageBundle
protected Metadata
protected Notifications
protected Table<RegionProperty>
protected CollectionContainer<RegionProperty>
protected EntityTreeNode
protected boolean
protected Button
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
protected void
protected boolean
protected void
protected void
void
void
void
onReportRegionPropertiesTableDcCollectionChange
(CollectionContainer.CollectionChangeEvent<RegionProperty> event) void
protected boolean
protected boolean
void
setAsFetchPlanEditor
(boolean asFetchPlanEditor) void
setRootEntity
(EntityTreeNode rootEntity) protected void
protected void
setTabulatedRegionEditorCaption
(String collectionEntityName) void
setUpdatePermission
(boolean updatePermission) 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, validateAdditionalRules, 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
-
reportRegionPropertiesTableDc
-
entityTree
-
addItem
-
upItem
-
downItem
-
propertiesTable
-
tipLabel
-
metadata
-
messageBundle
-
notifications
-
rootEntity
-
isTabulated
protected boolean isTabulated -
asFetchPlanEditor
protected boolean asFetchPlanEditor -
updatePermission
protected boolean updatePermission
-
-
Constructor Details
-
RegionEditor
public RegionEditor()
-
-
Method Details
-
setAsFetchPlanEditor
public void setAsFetchPlanEditor(boolean asFetchPlanEditor) -
setUpdatePermission
public void setUpdatePermission(boolean updatePermission) -
setRootEntity
-
getRootEntity
-
onBeforeShow
-
initComponents
protected void initComponents() -
initEntityTree
protected void initEntityTree() -
addProperty
protected void addProperty() -
initAsFetchPlanEditor
protected void initAsFetchPlanEditor() -
isUpdatePermitted
protected boolean isUpdatePermitted() -
setTabulatedRegionEditorCaption
-
setSimpleRegionEditorCaption
protected void setSimpleRegionEditorCaption() -
onRemoveItemAction
@Subscribe("propertiesTable.removeItemAction") public void onRemoveItemAction(Action.ActionPerformedEvent event) -
onReportRegionPropertiesTableDcCollectionChange
@Subscribe(id="reportRegionPropertiesTableDc", target=DATA_CONTAINER) public void onReportRegionPropertiesTableDcCollectionChange(CollectionContainer.CollectionChangeEvent<RegionProperty> event) -
onReportRegionPropertiesTableDcItemChange
@Subscribe(id="reportRegionPropertiesTableDc", target=DATA_CONTAINER) public void onReportRegionPropertiesTableDcItemChange(InstanceContainer.ItemChangeEvent<RegionProperty> event) -
showOrHideSortBtns
protected void showOrHideSortBtns() -
propertiesTableUpItemActionEnabledRule
-
propertiesTableDownItemActionEnabledRule
-
normalizeRegionPropertiesOrderNum
protected void normalizeRegionPropertiesOrderNum() -
onBeforeCommit
-