public class StringMapPropEditor extends BaseEditor<StringMapProp,Map<String,String>>
appUI, combo, control, controller, definedButton, display, editor, focusListener, hasBeenModified, info, more, multipleValueWarningInput, options, parent, propController, shell, text, validator, wasDefinedAtFocusGained
Constructor and Description |
---|
StringMapPropEditor()
Default constructor called before createControls.
|
Modifier and Type | Method and Description |
---|---|
protected void |
create()
Creates the property editor controls.
|
String |
formatValue(Map<String,String> value)
Formats the value for user input as a String.
|
Map<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 Map<String,String> |
getValue(String input)
Gets the property value for a user input.
|
void |
onMore()
Called when the "more..." button is pressed.
|
void |
onUndefined()
Called when undefined.
|
void |
onUpdate(Map<String,String> map)
Called when a property event has been fired and the edited entry needs to be updated.
|
protected void |
setColors(Control... additional)
Sets the colors for the controls depending on error, focus and define state.
|
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, onReadOnly, setCurrentValue, setEditable, setFocus, setInput, setInputValue, setInputValueFromProp, setToolTipText, showMenu, updateTooltip, validate
public StringMapPropEditor()
protected void create()
create
in class BaseEditor<StringMapProp,Map<String,String>>
protected void setColors(Control... additional)
setColors
in class BaseEditor<StringMapProp,Map<String,String>>
public void onMore()
onMore
in class BaseEditor<StringMapProp,Map<String,String>>
public void onUndefined()
onUndefined
in interface IEditedPropControllerOwner<StringMapProp,Map<String,String>>
onUndefined
in class BaseEditor<StringMapProp,Map<String,String>>
public void onUpdate(Map<String,String> map)
onUpdate
in interface IEditedPropControllerOwner<StringMapProp,Map<String,String>>
onUpdate
in class BaseEditor<StringMapProp,Map<String,String>>
protected String getToolTipText()
getToolTipText
in class BaseEditor<StringMapProp,Map<String,String>>
public Map<String,String> getDefaultValue()
getDefaultValue
in interface IEditedPropControllerOwner<StringMapProp,Map<String,String>>
getDefaultValue
in class BaseEditor<StringMapProp,Map<String,String>>
protected Map<String,String> getValue(String input) throws Exception
getValue
in class BaseEditor<StringMapProp,Map<String,String>>
input
- The current user input.Exception
- For validation errors.public String formatValue(Map<String,String> value)
formatValue
in interface IEditedPropControllerOwner<StringMapProp,Map<String,String>>
formatValue
in class BaseEditor<StringMapProp,Map<String,String>>
value
- The value.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.