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>
  • Field Details

    • reportRegionPropertiesTableDc

      @Autowired protected CollectionContainer<RegionProperty> reportRegionPropertiesTableDc
    • entityTree

      @Named("entityTreeFragment.entityTree") protected Tree<EntityTreeNode> entityTree
    • addItem

      @Autowired protected Button addItem
    • upItem

      @Autowired protected Button upItem
    • downItem

      @Autowired protected Button downItem
    • propertiesTable

      @Autowired protected Table<RegionProperty> propertiesTable
    • tipLabel

      @Autowired protected Label<String> tipLabel
    • metadata

      @Autowired protected Metadata metadata
    • messageBundle

      @Autowired protected MessageBundle messageBundle
    • notifications

      @Autowired protected Notifications notifications
    • rootEntity

      protected EntityTreeNode 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

      public void setRootEntity(EntityTreeNode rootEntity)
    • getRootEntity

      public EntityTreeNode getRootEntity()
    • onBeforeShow

      @Subscribe public void onBeforeShow(Screen.BeforeShowEvent event)
    • initComponents

      protected void initComponents()
    • initEntityTree

      protected void initEntityTree()
    • addProperty

      protected void addProperty()
    • initAsFetchPlanEditor

      protected void initAsFetchPlanEditor()
    • isUpdatePermitted

      protected boolean isUpdatePermitted()
    • setTabulatedRegionEditorCaption

      protected void setTabulatedRegionEditorCaption(String collectionEntityName)
    • 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

      @Install(to="propertiesTable.upItemAction", subject="enabledRule") protected boolean propertiesTableUpItemActionEnabledRule()
    • propertiesTableDownItemActionEnabledRule

      @Install(to="propertiesTable.downItemAction", subject="enabledRule") protected boolean propertiesTableDownItemActionEnabledRule()
    • normalizeRegionPropertiesOrderNum

      protected void normalizeRegionPropertiesOrderNum()
    • onBeforeCommit

      @Subscribe protected void onBeforeCommit(StandardEditor.BeforeCommitChangesEvent event)