Class BandDefinitionEditor
java.lang.Object
io.jmix.ui.screen.ScreenFragment
io.jmix.reportsui.screen.definition.edit.BandDefinitionEditor
- All Implemented Interfaces:
Suggester
,FrameOwner
@UiController("report_BandDefinitionEditor.fragment")
@UiDescriptor("band-definition-edit-fragment.xml")
public class BandDefinitionEditor
extends ScreenFragment
implements Suggester
-
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 Actions
protected CollectionContainer<BandDefinition>
protected GridLayout
protected DataContext
protected DataSetFactory
protected BoxLayout
protected SourceCodeEditor
protected SourceCodeEditor.Mode
protected CollectionContainer<DataSet>
protected ComboBox
protected Dialogs
protected EditFetchPlanAction
protected BoxLayout
protected Button
protected FetchPlanRepository
protected CheckBox
protected CheckBox
protected JpqlUiSuggestionProvider
protected VBoxLayout
protected SourceCodeEditor
protected VBoxLayout
protected VBoxLayout
protected ComboBox<JsonSourceType>
protected VBoxLayout
protected MessageBundle
protected Metadata
protected ComboBox<Orientation>
protected CollectionContainer<ReportInputParameter>
protected ComboBox<BandDefinition>
protected PolicyStore
protected InstanceContainer<Report>
protected ReportsClientProperties
protected ReportsWizard
protected ScreenBuilders
protected SecureOperations
protected Stores
protected CrossTabTableDecorator
protected HBoxLayout
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
applyVisibilityRules
(DataSet item) protected void
protected void
applyVisibilityRulesForType
(DataSet dataSet) protected boolean
protected ReportInputParameter
findParameterByAlias
(String alias) protected String
getSuggestions
(AutoCompleteSupport source, String text, int cursorPosition) protected void
protected void
protected void
protected void
protected void
initJsonDataSetOptions
(DataSet dataSet) protected void
protected boolean
isFetchPlanEditAllowed
(DataSet dataSet) protected boolean
protected void
jsonGroovyCodeEditorContextHelpIconClickHandler
(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) protected void
jsonPathQueryTextAreaFieldContextHelpIconClickHandler
(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) protected void
protected void
protected void
protected void
protected void
protected void
onInit
(ScreenFragment.InitEvent event) protected void
onParametersDcCollectionChange
(CollectionContainer.CollectionChangeEvent<ReportInputParameter> event) protected void
refreshFetchPlanNames
(ReportInputParameter reportInputParameter) protected void
protected void
setCommonEntityGridVisibility
(boolean visibleEntityGrid, boolean visibleEntitiesGrid) void
setEnabled
(boolean enabled) protected void
setFetchPlanEditVisibility
(DataSet dataSet) protected void
protected void
protected void
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
-
bandsDc
-
dataSetsDc
-
reportDc
-
parametersDc
-
dataSetsTable
-
dataSetScriptField
-
jsonGroovyCodeEditor
-
dataSetScriptBox
-
entitiesParamLabel
-
entityParamLabel
-
commonEntityGrid
-
jsonSourceTypeField
-
jsonDataSetTypeVBox
-
jsonPathQueryLabel
-
jsonSourceGroovyCodeVBox
-
jsonSourceURLVBox
-
jsonSourceParameterCodeVBox
-
textParamsBox
-
fetchPlanNameLabel
-
orientationField
-
parentBandField
-
nameField
-
fetchPlanNameField
-
entitiesParamField
-
entityParamField
-
dataStoreField
-
isProcessTemplateField
-
isUseExistingFetchPlanField
-
fetchPlanEditButton
-
buttonEmptyElement
-
checkboxEmptyElement
-
spacerLabel
-
metadata
-
reportWizardService
-
editPane
-
dataSetFactory
-
tabOrientationTableDecorator
-
fetchPlanRepository
-
secureOperations
-
policyStore
-
jsonPathQueryTextAreaField
-
jpqlUiSuggestionProvider
-
stores
-
reportsClientProperties
-
messageBundle
-
dialogs
-
screenBuilders
-
actions
-
dataContext
-
dataSetScriptFieldMode
-
editFetchPlanAction
-
-
Constructor Details
-
BandDefinitionEditor
public BandDefinitionEditor()
-
-
Method Details
-
showJsonScriptEditorDialog
@Subscribe("jsonSourceGroovyCodeLinkBtn") protected void showJsonScriptEditorDialog(Button.ClickEvent event) -
getScriptEditorDialogCaption
-
showDataSetScriptEditorDialog
@Subscribe("dataSetTextLinkBtn") protected void showDataSetScriptEditorDialog(Button.ClickEvent event) -
getBandDefinitionDc
-
setEnabled
public void setEnabled(boolean enabled) -
getSuggestions
- Specified by:
getSuggestions
in interfaceSuggester
-
onInit
-
jsonGroovyCodeEditorContextHelpIconClickHandler
@Install(to="jsonGroovyCodeEditor", subject="contextHelpIconClickHandler") protected void jsonGroovyCodeEditorContextHelpIconClickHandler(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) -
jsonPathQueryTextAreaFieldContextHelpIconClickHandler
@Install(to="jsonPathQueryTextAreaField", subject="contextHelpIconClickHandler") protected void jsonPathQueryTextAreaFieldContextHelpIconClickHandler(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) -
initSourceCodeOptions
protected void initSourceCodeOptions() -
initJsonDataSetOptions
-
initDataStoreField
protected void initDataStoreField() -
onDataSetsCreate
@Subscribe("dataSetsTable.create") protected void onDataSetsCreate(Action.ActionPerformedEvent event) -
dataSetsCreateEnabledRule
-
initActions
protected void initActions() -
onParametersDcCollectionChange
@Subscribe(id="parametersDc", target=DATA_CONTAINER) protected void onParametersDcCollectionChange(CollectionContainer.CollectionChangeEvent<ReportInputParameter> event) -
onBandsDcItemPropertyChange
@Subscribe(id="bandsDc", target=DATA_CONTAINER) protected void onBandsDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<BandDefinition> event) -
onBandsDcItemChange
@Subscribe(id="bandsDc", target=DATA_CONTAINER) protected void onBandsDcItemChange(InstanceContainer.ItemChangeEvent<BandDefinition> event) -
onDataSetsDcItemChange
@Subscribe(id="dataSetsDc", target=DATA_CONTAINER) protected void onDataSetsDcItemChange(InstanceContainer.ItemChangeEvent<DataSet> event) -
onDataSetsDcItemPropertyChange
@Subscribe(id="dataSetsDc", target=DATA_CONTAINER) protected void onDataSetsDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<DataSet> event) -
initDataSetListeners
protected void initDataSetListeners() -
isUpdatePermitted
protected boolean isUpdatePermitted() -
updateRequiredIndicators
-
findParameterByAlias
-
refreshFetchPlanNames
-
applyVisibilityRules
-
applyVisibilityRulesForType
-
applyVisibilityRulesForEntityType
-
hideAllDataSetEditComponents
protected void hideAllDataSetEditComponents() -
selectFirstDataSet
protected void selectFirstDataSet() -
setFetchPlanEditVisibility
-
isFetchPlanEditAllowed
-
setCommonEntityGridVisibility
protected void setCommonEntityGridVisibility(boolean visibleEntityGrid, boolean visibleEntitiesGrid)
-