Class ParameterEditor
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.screen.StandardEditor<ReportInputParameter>
io.jmix.reportsui.screen.parameter.edit.ParameterEditor
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<ReportInputParameter>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("report_ReportInputParameter.edit")
@UiDescriptor("parameter-edit.xml")
public class ParameterEditor
extends StandardEditor<ReportInputParameter>
-
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 BoxLayout
protected Dialogs
protected CheckBox
protected CheckBox
protected CheckBox
protected CheckBox
protected JpqlUiSuggestionProvider
protected static final String
protected SourceCodeEditor
protected VBoxLayout
protected SourceCodeEditor
protected Messages
protected MessageTools
protected Metadata
protected MetadataTools
protected com.haulmont.yarg.util.converter.ObjectToStringConverter
protected ParameterClassResolver
protected InstanceContainer<ReportInputParameter>
protected ParameterFieldCreator
protected ComboBox<ParameterType>
protected PolicyStore
protected GridLayout
protected ScreensHelper
protected SecureOperations
protected TabSheet
protected SourceCodeEditor
protected SourceCodeEditor
protected static final String
protected ComboBox<PredefinedTransformation>
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 boolean
protected void
protected void
enableControlsByTransformationType
(boolean hasPredefinedTransformation) protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected boolean
protected void
localeTextFieldContextHelpIconClickHandler
(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) protected void
void
protected void
onInit
(Screen.InitEvent event) protected void
protected void
protected void
onParameterDcItemPropertyChange
(InstanceContainer.ItemPropertyChangeEvent<ReportInputParameter> event) protected void
protected List<Suggestion>
requestHint
(SourceCodeEditor sender, int senderCursorPosition) protected void
transformationScriptContextHelpIconClickHandler
(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) protected void
validationScriptContextHelpIconClickHandler
(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) 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, 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, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
LOOKUP_SETTINGS_TAB_ID
- See Also:
-
WHERE
- See Also:
-
defaultValueLabel
-
defaultValueBox
-
screenField
-
enumerationField
-
parameterTypeField
-
metaClassField
-
isLookupField
-
lookupLabel
-
lookupWhere
-
lookupJoin
-
lookupSettingsTab
-
tabsheet
-
enumerationLabel
-
screenLabel
-
metaClassLabel
-
predefinedTransformationBox
-
isPredefinedTransformationField
-
transformationScript
-
validationScript
-
transformationScriptLabel
-
wildcardsField
-
wildcardsLabel
-
isDefaultDateIsCurrentField
-
defaultDateIsCurrentLabel
-
requiredLabel
-
isRequiredField
-
metadata
-
secureOperations
-
policyStore
-
objectToStringConverter
@Autowired protected com.haulmont.yarg.util.converter.ObjectToStringConverter objectToStringConverter -
parameterDc
-
screensHelper
-
parameterClassResolver
-
localeField
-
jpqlUiSuggestionProvider
-
metadataTools
-
dialogs
-
messages
-
messageTools
-
parameterFieldCreator
-
-
Constructor Details
-
ParameterEditor
public ParameterEditor()
-
-
Method Details
-
onInit
-
onBeforeShow
-
localeTextFieldContextHelpIconClickHandler
@Install(to="localeField", subject="contextHelpIconClickHandler") protected void localeTextFieldContextHelpIconClickHandler(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) -
transformationScriptContextHelpIconClickHandler
@Install(to="transformationScript", subject="contextHelpIconClickHandler") protected void transformationScriptContextHelpIconClickHandler(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) -
validationScriptContextHelpIconClickHandler
@Install(to="validationScript", subject="contextHelpIconClickHandler") protected void validationScriptContextHelpIconClickHandler(HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) -
onTypeValueChange
@Subscribe("parameterTypeField") protected void onTypeValueChange(HasValue.ValueChangeEvent<ParameterType> event) -
onParameterDcItemPropertyChange
@Subscribe(id="parameterDc", target=DATA_CONTAINER) protected void onParameterDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<ReportInputParameter> event) -
onLookupValueChange
@Subscribe("isLookupField") protected void onLookupValueChange(HasValue.ValueChangeEvent<Boolean> event) -
initCodeEditors
protected void initCodeEditors() -
initScreensLookup
protected void initScreensLookup() -
initEnumsLookup
protected void initEnumsLookup() -
initMetaClassLookup
protected void initMetaClassLookup() -
onBeforeCommit
-
initDefaultValueField
protected void initDefaultValueField() -
onParameterDcItemChange
@Subscribe(id="parameterDc", target=DATA_CONTAINER) protected void onParameterDcItemChange(InstanceContainer.ItemChangeEvent<ReportInputParameter> event) -
initCurrentDateTimeField
protected void initCurrentDateTimeField() -
canHaveDefaultValue
protected boolean canHaveDefaultValue() -
enableControlsByParamType
-
initTransformations
protected void initTransformations() -
enableControlsByTransformationType
protected void enableControlsByTransformationType(boolean hasPredefinedTransformation) -
isParameterDateOrTime
protected boolean isParameterDateOrTime() -
requestHint
-