public class VSTableColumnReferencePropEditor extends BaseEditor<VSRelativeReference<?>,String>
Modifier and Type | Field and Description |
---|---|
protected Class<?>[] |
classes |
protected Image |
image |
protected String |
itemDefined |
protected IzMenu |
menu |
protected IzMenuItem |
miGoto |
protected IzMenuItem |
miSelect |
protected String |
moreText |
protected IzToolTip |
tip |
protected String |
title |
protected String |
tooltipText |
appUI, combo, control, controller, definedButton, display, editor, focusListener, hasBeenModified, info, more, multipleValueWarningInput, options, parent, propController, shell, text, validator, wasDefinedAtFocusGained
Constructor and Description |
---|
VSTableColumnReferencePropEditor()
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.
|
protected VSColumnHeader |
getCurrentReferenceTarget()
Gets the current property reference target.
|
String |
getDefaultValue()
Gets the default defined value to set in the property when defined.
|
protected VSColumnHeader |
getReferenceTarget(String columnName)
Gets the current property reference target.
|
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 EditorVirtualSpace |
getVirtualSpace(int ask)
Gets the VirtualSpace, prompted to create it perhaps, or connect.
|
protected void |
onCreateMenu(IzMenu menu,
boolean isPost)
Called to create the menu items.
|
protected void |
onDoubleClick(Event e)
Called when mouse is double-clicked in the text or combobox.
|
protected boolean |
onGoto(boolean doPerform)
Goto reference.
|
protected boolean |
onList(boolean doPerform)
Called when the "more..." button is pressed.
|
void |
onMore()
Called when the "more..." button is pressed.
|
protected void |
setToolTipText(String msg)
Sets the tooltip text.
|
protected void |
setup()
Override to provide user settings.
|
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, onError, onF4List, onFocusGained, onFocusLost, onReadOnly, onUndefined, onUpdate, setColors, setCurrentValue, setEditable, setFocus, setInput, setInputValue, setInputValueFromProp, showMenu, updateTooltip, validate
protected String title
protected String moreText
protected String tooltipText
protected String itemDefined
protected Image image
protected Class<?>[] classes
protected IzToolTip tip
protected IzMenu menu
protected IzMenuItem miSelect
protected IzMenuItem miGoto
public VSTableColumnReferencePropEditor()
protected void setup()
protected void create()
create
in class BaseEditor<VSRelativeReference<?>,String>
protected EditorVirtualSpace getVirtualSpace(int ask)
ask
- Question when -1, to connect or create, 0=connect, 1=create.protected void onCreateMenu(IzMenu menu, boolean isPost)
protected void onDoubleClick(Event e)
onDoubleClick
in class BaseEditor<VSRelativeReference<?>,String>
public void onMore()
onMore
in class BaseEditor<VSRelativeReference<?>,String>
protected boolean onList(boolean doPerform)
protected boolean onGoto(boolean doPerform)
protected VSColumnHeader getCurrentReferenceTarget()
getBaseReferencePath()
is prepended.protected VSColumnHeader getReferenceTarget(String columnName)
getBaseReferencePath()
is prepended.protected String getToolTipText()
getToolTipText
in class BaseEditor<VSRelativeReference<?>,String>
protected void setToolTipText(String msg)
An attempt to show the tooltip of the reference target's DesignerProp tooltip is done.
setToolTipText
in class BaseEditor<VSRelativeReference<?>,String>
msg
- Message in tooltip (normally error), null for none, in which case the getToolTipText2() is used.public String getDefaultValue()
getDefaultValue
in interface IEditedPropControllerOwner<VSRelativeReference<?>,String>
getDefaultValue
in class BaseEditor<VSRelativeReference<?>,String>
protected String getValue(String input)
getValue
in class BaseEditor<VSRelativeReference<?>,String>
input
- The current user input.public String formatValue(String value)
formatValue
in interface IEditedPropControllerOwner<VSRelativeReference<?>,String>
formatValue
in class BaseEditor<VSRelativeReference<?>,String>
value
- The value.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.