Class ReportEditTemplatesFragment
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.reportsui.screen.report.edit.tabs.ReportEditTemplatesFragment
- All Implemented Interfaces:
FrameOwner
@UiController("report_ReportEditTemplates.fragment")
@UiDescriptor("report-edit-templates-fragment.xml")
public class ReportEditTemplatesFragment
extends ScreenFragment
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.ScreenFragment
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected MessageBundle
protected Metadata
protected MetadataTools
protected PolicyStore
protected InstanceContainer<Report>
protected SecureOperations
protected CollectionPropertyContainer<ReportTemplate>
protected Table<ReportTemplate>
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 boolean
protected void
protected void
protected boolean
protected void
templatesTableCreateAfterCommitHandler
(ReportTemplate reportTemplate) protected boolean
protected void
templatesTableRemoveAfterActionPerformedHandler
(RemoveOperation.AfterActionPerformedEvent<ReportTemplate> event) Methods inherited from class io.jmix.ui.screen.ScreenFragment
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
-
Field Details
-
reportDc
-
templatesDc
-
templatesTable
-
messageBundle
-
metadataTools
-
metadata
-
secureOperations
-
policyStore
-
-
Constructor Details
-
ReportEditTemplatesFragment
public ReportEditTemplatesFragment()
-
-
Method Details
-
templatesTableCreateAfterCommitHandler
@Install(to="templatesTable.create", subject="afterCommitHandler") protected void templatesTableCreateAfterCommitHandler(ReportTemplate reportTemplate) -
templatesTableRemoveAfterActionPerformedHandler
@Install(to="templatesTable.remove", subject="afterActionPerformedHandler") protected void templatesTableRemoveAfterActionPerformedHandler(RemoveOperation.AfterActionPerformedEvent<ReportTemplate> event) -
templatesTableCopyEnabledRule
-
onTemplatesTableCopy
@Subscribe("templatesTable.copy") protected void onTemplatesTableCopy(Action.ActionPerformedEvent event) -
templatesTableDefaultEnabledRule
-
onTemplatesTableDefault
@Subscribe("templatesTable.default") protected void onTemplatesTableDefault(Action.ActionPerformedEvent event) -
isUpdatePermitted
protected boolean isUpdatePermitted()
-