@UiController(value="report_ReportInputParameter.edit") @UiDescriptor(value="parameter-edit.xml") public class ParameterEditor extends io.jmix.ui.screen.StandardEditor<ReportInputParameter>
io.jmix.ui.screen.StandardEditor.AfterCommitChangesEvent, io.jmix.ui.screen.StandardEditor.BeforeCommitChangesEvent, io.jmix.ui.screen.StandardEditor.InitEntityEvent<E>, io.jmix.ui.screen.StandardEditor.ValidationEvent
io.jmix.ui.screen.Screen.AfterCloseEvent, io.jmix.ui.screen.Screen.AfterDetachEvent, io.jmix.ui.screen.Screen.AfterInitEvent, io.jmix.ui.screen.Screen.AfterShowEvent, io.jmix.ui.screen.Screen.BeforeCloseEvent, io.jmix.ui.screen.Screen.BeforeShowEvent, io.jmix.ui.screen.Screen.InitEvent
Modifier and Type | Field and Description |
---|---|
protected io.jmix.ui.component.Label<java.lang.String> |
defaultDateIsCurrentLabel |
protected io.jmix.ui.component.BoxLayout |
defaultValueBox |
protected io.jmix.ui.component.Label<java.lang.String> |
defaultValueLabel |
protected io.jmix.ui.Dialogs |
dialogs |
protected io.jmix.ui.component.ComboBox<java.lang.String> |
enumerationField |
protected io.jmix.ui.component.Label<java.lang.String> |
enumerationLabel |
protected io.jmix.ui.component.CheckBox |
isDefaultDateIsCurrentField |
protected io.jmix.ui.component.CheckBox |
isLookupField |
protected io.jmix.ui.component.CheckBox |
isPredefinedTransformationField |
protected io.jmix.ui.component.CheckBox |
isRequiredField |
protected io.jmix.ui.component.autocomplete.JpqlUiSuggestionProvider |
jpqlUiSuggestionProvider |
protected io.jmix.ui.component.TextArea<java.lang.String> |
localeField |
protected static java.lang.String |
LOOKUP_SETTINGS_TAB_ID |
protected io.jmix.ui.component.SourceCodeEditor |
lookupJoin |
protected io.jmix.ui.component.Label<java.lang.String> |
lookupLabel |
protected io.jmix.ui.component.VBoxLayout |
lookupSettingsTab |
protected io.jmix.ui.component.SourceCodeEditor |
lookupWhere |
protected io.jmix.core.Messages |
messages |
protected io.jmix.core.MessageTools |
messageTools |
protected io.jmix.ui.component.ComboBox<java.lang.String> |
metaClassField |
protected io.jmix.ui.component.Label<java.lang.String> |
metaClassLabel |
protected io.jmix.core.Metadata |
metadata |
protected io.jmix.core.MetadataTools |
metadataTools |
protected com.haulmont.yarg.util.converter.ObjectToStringConverter |
objectToStringConverter |
protected ParameterClassResolver |
parameterClassResolver |
protected io.jmix.ui.model.InstanceContainer<ReportInputParameter> |
parameterDc |
protected ParameterFieldCreator |
parameterFieldCreator |
protected io.jmix.ui.component.ComboBox<ParameterType> |
parameterTypeField |
protected io.jmix.security.constraint.PolicyStore |
policyStore |
protected io.jmix.ui.component.GridLayout |
predefinedTransformationBox |
protected io.jmix.ui.component.Label<java.lang.String> |
requiredLabel |
protected io.jmix.ui.component.ComboBox<java.lang.String> |
screenField |
protected io.jmix.ui.component.Label<java.lang.String> |
screenLabel |
protected io.jmix.ui.sys.ScreensHelper |
screensHelper |
protected io.jmix.security.constraint.SecureOperations |
secureOperations |
protected io.jmix.ui.component.TabSheet |
tabsheet |
protected io.jmix.ui.component.SourceCodeEditor |
transformationScript |
protected io.jmix.ui.component.Label<java.lang.String> |
transformationScriptLabel |
protected io.jmix.ui.component.SourceCodeEditor |
validationScript |
protected static java.lang.String |
WHERE |
protected io.jmix.ui.component.ComboBox<PredefinedTransformation> |
wildcardsField |
protected io.jmix.ui.component.Label<java.lang.String> |
wildcardsLabel |
commitActionPerformed, showEnableEditingBtn, showSaveNotification
Constructor and Description |
---|
ParameterEditor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canHaveDefaultValue() |
protected void |
enableControlsByParamType(ParameterType type) |
protected void |
enableControlsByTransformationType(boolean hasPredefinedTransformation) |
protected void |
initCodeEditors() |
protected void |
initCurrentDateTimeField() |
protected void |
initDefaultValueField() |
protected void |
initEnumsLookup() |
protected void |
initMetaClassLookup() |
protected void |
initScreensLookup() |
protected void |
initTransformations() |
protected boolean |
isParameterDateOrTime() |
protected void |
localeTextFieldContextHelpIconClickHandler(io.jmix.ui.component.HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) |
protected void |
onBeforeCommit(io.jmix.ui.screen.StandardEditor.BeforeCommitChangesEvent event) |
void |
onBeforeShow(io.jmix.ui.screen.Screen.BeforeShowEvent event) |
protected void |
onInit(io.jmix.ui.screen.Screen.InitEvent event) |
protected void |
onLookupValueChange(io.jmix.ui.component.HasValue.ValueChangeEvent<java.lang.Boolean> event) |
protected void |
onParameterDcItemChange(io.jmix.ui.model.InstanceContainer.ItemChangeEvent<ReportInputParameter> event) |
protected void |
onParameterDcItemPropertyChange(io.jmix.ui.model.InstanceContainer.ItemPropertyChangeEvent<ReportInputParameter> event) |
protected void |
onTypeValueChange(io.jmix.ui.component.HasValue.ValueChangeEvent<ParameterType> event) |
protected java.util.List<io.jmix.ui.component.autocomplete.Suggestion> |
requestHint(io.jmix.ui.component.SourceCodeEditor sender,
int senderCursorPosition) |
protected void |
transformationScriptContextHelpIconClickHandler(io.jmix.ui.component.HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) |
protected void |
validationScriptContextHelpIconClickHandler(io.jmix.ui.component.HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent) |
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
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
protected static final java.lang.String LOOKUP_SETTINGS_TAB_ID
protected static final java.lang.String WHERE
@Autowired protected io.jmix.ui.component.Label<java.lang.String> defaultValueLabel
@Autowired protected io.jmix.ui.component.BoxLayout defaultValueBox
@Autowired protected io.jmix.ui.component.ComboBox<java.lang.String> screenField
@Autowired protected io.jmix.ui.component.ComboBox<java.lang.String> enumerationField
@Autowired protected io.jmix.ui.component.ComboBox<ParameterType> parameterTypeField
@Autowired protected io.jmix.ui.component.ComboBox<java.lang.String> metaClassField
@Autowired protected io.jmix.ui.component.CheckBox isLookupField
@Autowired protected io.jmix.ui.component.Label<java.lang.String> lookupLabel
@Autowired protected io.jmix.ui.component.SourceCodeEditor lookupWhere
@Autowired protected io.jmix.ui.component.SourceCodeEditor lookupJoin
@Named(value="tabsheet.lookupSettingsTab") protected io.jmix.ui.component.VBoxLayout lookupSettingsTab
@Autowired protected io.jmix.ui.component.TabSheet tabsheet
@Autowired protected io.jmix.ui.component.Label<java.lang.String> enumerationLabel
@Autowired protected io.jmix.ui.component.Label<java.lang.String> screenLabel
@Autowired protected io.jmix.ui.component.Label<java.lang.String> metaClassLabel
@Autowired protected io.jmix.ui.component.GridLayout predefinedTransformationBox
@Autowired protected io.jmix.ui.component.CheckBox isPredefinedTransformationField
@Autowired protected io.jmix.ui.component.SourceCodeEditor transformationScript
@Autowired protected io.jmix.ui.component.SourceCodeEditor validationScript
@Autowired protected io.jmix.ui.component.Label<java.lang.String> transformationScriptLabel
@Autowired protected io.jmix.ui.component.ComboBox<PredefinedTransformation> wildcardsField
@Autowired protected io.jmix.ui.component.Label<java.lang.String> wildcardsLabel
@Autowired protected io.jmix.ui.component.CheckBox isDefaultDateIsCurrentField
@Autowired protected io.jmix.ui.component.Label<java.lang.String> defaultDateIsCurrentLabel
@Autowired protected io.jmix.ui.component.Label<java.lang.String> requiredLabel
@Autowired protected io.jmix.ui.component.CheckBox isRequiredField
@Autowired protected io.jmix.core.Metadata metadata
@Autowired protected io.jmix.security.constraint.SecureOperations secureOperations
@Autowired protected io.jmix.security.constraint.PolicyStore policyStore
@Autowired protected com.haulmont.yarg.util.converter.ObjectToStringConverter objectToStringConverter
@Autowired protected io.jmix.ui.model.InstanceContainer<ReportInputParameter> parameterDc
@Autowired protected io.jmix.ui.sys.ScreensHelper screensHelper
@Autowired protected ParameterClassResolver parameterClassResolver
@Autowired protected io.jmix.ui.component.TextArea<java.lang.String> localeField
@Autowired protected io.jmix.ui.component.autocomplete.JpqlUiSuggestionProvider jpqlUiSuggestionProvider
@Autowired protected io.jmix.core.MetadataTools metadataTools
@Autowired protected io.jmix.ui.Dialogs dialogs
@Autowired protected io.jmix.core.Messages messages
@Autowired protected io.jmix.core.MessageTools messageTools
@Autowired protected ParameterFieldCreator parameterFieldCreator
@Subscribe protected void onInit(io.jmix.ui.screen.Screen.InitEvent event)
@Subscribe public void onBeforeShow(io.jmix.ui.screen.Screen.BeforeShowEvent event)
@Install(to="localeField", subject="contextHelpIconClickHandler") protected void localeTextFieldContextHelpIconClickHandler(io.jmix.ui.component.HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent)
@Install(to="transformationScript", subject="contextHelpIconClickHandler") protected void transformationScriptContextHelpIconClickHandler(io.jmix.ui.component.HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent)
@Install(to="validationScript", subject="contextHelpIconClickHandler") protected void validationScriptContextHelpIconClickHandler(io.jmix.ui.component.HasContextHelp.ContextHelpIconClickEvent contextHelpIconClickEvent)
@Subscribe(value="parameterTypeField") protected void onTypeValueChange(io.jmix.ui.component.HasValue.ValueChangeEvent<ParameterType> event)
@Subscribe(id="parameterDc", target=DATA_CONTAINER) protected void onParameterDcItemPropertyChange(io.jmix.ui.model.InstanceContainer.ItemPropertyChangeEvent<ReportInputParameter> event)
@Subscribe(value="isLookupField") protected void onLookupValueChange(io.jmix.ui.component.HasValue.ValueChangeEvent<java.lang.Boolean> event)
protected void initCodeEditors()
protected void initScreensLookup()
protected void initEnumsLookup()
protected void initMetaClassLookup()
@Subscribe protected void onBeforeCommit(io.jmix.ui.screen.StandardEditor.BeforeCommitChangesEvent event)
protected void initDefaultValueField()
@Subscribe(id="parameterDc", target=DATA_CONTAINER) protected void onParameterDcItemChange(io.jmix.ui.model.InstanceContainer.ItemChangeEvent<ReportInputParameter> event)
protected void initCurrentDateTimeField()
protected boolean canHaveDefaultValue()
protected void enableControlsByParamType(ParameterType type)
protected void initTransformations()
protected void enableControlsByTransformationType(boolean hasPredefinedTransformation)
protected boolean isParameterDateOrTime()
protected java.util.List<io.jmix.ui.component.autocomplete.Suggestion> requestHint(io.jmix.ui.component.SourceCodeEditor sender, int senderCursorPosition)