public class EncodingPropEditor extends BaseEditor<StringProp,String>
appUI, combo, control, controller, definedButton, display, editor, focusListener, hasBeenModified, info, more, multipleValueWarningInput, options, parent, propController, shell, text, validator, wasDefinedAtFocusGained
Constructor and Description |
---|
EncodingPropEditor()
Default constructor called before createControls.
|
Modifier and Type | Method and Description |
---|---|
protected void |
create()
Creates the property editor controls.
|
String |
formatValue(String value)
Formats the value for user input as a String.
|
String |
getDefaultValue()
Gets the default defined value to set in the property when defined.
|
protected String |
getToolTipText()
Gets the tooltip text to display in the entry fields (not the one for property errors or validator).
|
protected String |
getValue(String input)
Gets the property value for a user input.
|
protected void |
setInputValue(String value)
Sets the input value when editing, when formatting the value from a string.
|
assignMaster, beginProcessEvent, canProcessEvents, checkInput, createCCombo, createControls, createGridLayout, createIzMenu, createMoreButton, createMoreIzMenu, createText, dispose, doUndefineIfEmpty, doValueChangeConversion, endProcessEvent, getBaseEditor, getCurrentInput, getCurrentValue, getCurrentValues, getModifyListener, getNativeToolTip, getOption, getSelectionListener, getSeverity, getShell, getToolTipText2, hasFocus, initialize, isPropReadOnly, onDefine, onDispose, onDoubleClick, onError, onF4List, onFocusGained, onFocusLost, onMore, onReadOnly, onUndefined, onUpdate, setColors, setCurrentValue, setEditable, setFocus, setInput, setInputValueFromProp, setToolTipText, showMenu, updateTooltip, validate
public EncodingPropEditor()
protected void create()
create
in class BaseEditor<StringProp,String>
protected String getToolTipText()
getToolTipText
in class BaseEditor<StringProp,String>
public String getDefaultValue()
getDefaultValue
in interface IEditedPropControllerOwner<StringProp,String>
getDefaultValue
in class BaseEditor<StringProp,String>
protected String getValue(String input) throws Exception
getValue
in class BaseEditor<StringProp,String>
input
- The current user input.Exception
- For validation errors.public String formatValue(String value)
formatValue
in interface IEditedPropControllerOwner<StringProp,String>
formatValue
in class BaseEditor<StringProp,String>
value
- The value.protected void setInputValue(String value)
setInputValue
in class BaseEditor<StringProp,String>
value
- The value to set, null for empty.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.