Package com.iizigo.panel.prop
Class EUIText
- java.lang.Object
-
- com.iizix.prop.GProp<GProp<?>[]>
-
- com.iizix.prop.PropCnr
-
- com.iizix.prop.ui.UIComp
-
- com.iizix.prop.ui.UIText
-
- com.iizigo.panel.prop.EUIText
-
- All Implemented Interfaces:
IShowJavaSource
,ILinkCapable
,IJavaMethodLinkEnabler
,IUIComponentLinkEnabler
,IVSFieldLinkEnabler
,IEImagePreview
,IEUIComp
,IEUICompBase
,IEUICompCommon
,IInitializeSampleData
,IAddUICompProvider<EUIText>
,IExtendsSelection
,IPropDesigner
,IPropRenameable
,ITransferContainerProps
,IStylesFilter
,EventListener
,IFocusComp
,IMessageBox
,IComponent
,ICustomDataProvider
,IGProp<GProp<?>[]>
,IPropCnr
,IUIComp
,IUICompRelativeTarget
,IUIContextMenuOwner
,IUIFocusComp
,IUIHint
,IUILabelForTarget
,IUIPlainTextComponent
,IUITextComponent
,IVSComponentListener
,IVSComponentState
,IVSFieldListener
,java.lang.Cloneable
,org.eclipse.core.runtime.IAdaptable
public class EUIText extends UIText implements IEUIComp, IInitializeSampleData, IAddUICompProvider<EUIText>, IVSFieldLinkEnabler
Text component (entry field).- Author:
- Christopher Mindus
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.iizix.gyro.IMessageBox
IMessageBox.Icon
-
Nested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState
IVSComponentState.State
-
-
Field Summary
-
Fields inherited from class com.iizix.prop.ui.UIComp
EMPTY, REMOTE_FOCUS_EVENT, styles, vsField
-
Fields inherited from class com.iizix.prop.PropCnr
EMPTY_CLASSES, EMPTY_CNRS, EXTENDS_FRAMEWORK_ERROR_ID
-
Fields inherited from class com.iizix.prop.GProp
GPDEBUG, PROP_ATTR_STRING_EDITOR_PROP, PROP_ATTR_STRING_ERRORED_NAME, PROP_ATTR_STRING_EXTENDS, PROP_ATTR_STRING_EXTENDS_FINAL, PROP_ATTR_STRING_EXTENDS_PRIVATE, PROP_ATTR_STRING_NULLABLE, PROP_ATTR_STRING_PRIVATE, PROP_ATTR_STRING_PRIVATE_CHANGE_EVENT, PROP_ATTR_STRING_READ_ONLY, PROP_USER_1, PROP_USER_2
-
Fields inherited from interface com.iizigo.panel.wizards.IAddUICompProvider
__panelEditor__
-
Fields inherited from interface com.iizix.prop.IGProp
EQC_ERROR_IGNORE_ALL, EQC_ERROR_IGNORE_REFERENCES, EQC_IGNORE_ARRAY, EQC_IGNORE_VOLATILE_OR_EDITOR, EQC_PRIVATE, EQC_SAVE_FILE, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATE
-
Fields inherited from interface com.iizigo.panel.prop.IInitializeSampleData
INIT_OPER_DND, INIT_OPER_MENU
-
Fields inherited from interface com.iizigo.link.ILinkCapable
STATUS_LINK_NOT_SUPPORTED
-
Fields inherited from interface com.iizix.gyro.IMessageBox
ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNING
-
Fields inherited from interface com.iizix.prop.ui.IUIComp
ERROR, INFORMATION, NONE, REMOTE_FOCUS_EVENT, WARNING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addPredefinedProps()
Adds the predefined containers for identifications, fields and actions.EUIText
clone()
Clone must be overridden.protected Styles
createStyles()
Creates the Styles container (can be overridden by Designer to create EditorStyles).java.lang.String
getCNDescriptionType()
Provide a type description for the status bar view, if available.org.eclipse.swt.graphics.Image
getCNImage(boolean isMobile)
Gets the image for the Common Navigator.IUICompCreator<EUIText>
getCreator()
Retrieves the instance of the UI component creation interface.UICompDesignerProp
getDesigner()
Gets the Designer Extension for Properties.java.lang.Class<?>[]
getExtendsPossibleClasses()
Gets the possible classes this container supports for the Extends Framework.ImagePreview
getImagePreview()
Gets the image preview.java.util.Collection<ILinkOperation>
getLinkOperations(LinkData data)
Called when the drag-drop is to be performed (link or paste-link menu item).AnnotationType[]
getMethodReferenceAnnotationTypes()
Returns the annotation types for the method reference(s).java.lang.Class<?>[]
getPossibleChildren()
Gets the acceptable children property classes that can be used in conjunction with e.g.void
getPredefinedProps()
Gets the references to predefined properties.java.lang.String
getSelectPropDialogTitle()
Gets the title for selection dialog.org.eclipse.jface.viewers.ViewerFilter
getSelectPropViewerFilter()
Gets the viewer filter for the tree in the dialog for selecting extends property name.java.lang.String
getStylesName(EditorStyles styles)
The name of this styles property for the common navigator.java.lang.String[]
getSupportedStyles(EditorStyles styles)
Gets the groups supported by the component.java.lang.Object[]
getTransferProps()
Returns the list of properties that are transferable between layout managers.void
initializeSampleData(int oper)
Initialize the sample data for the operation.org.eclipse.core.runtime.IStatus
isLinkCapable(LinkData data)
Returns if this property container could potentially be link capable.boolean
verify(PropVerification verification)
Verifies this property container.-
Methods inherited from class com.iizix.prop.ui.UIText
getAlignTrailing, getApproximateSize, getCharCase, getCharUpdate, getDeviceType, getEntryFieldType, getHorizontallyExpand, getMaximalLength, getMaxWidth, getMinWidth, getTrim, getVisualLength, isMobileContextMenuSupported, setAlignTrailing, setCharCase, setCharUpdate, setEntryFieldType, setHorizontallyExpand, setMaximalLength, setMaxWidth, setMinWidth, setTextValue, setTrim, setVisualLength
-
Methods inherited from class com.iizix.prop.ui.UIComp
add, addMappings, assignFontInfoResolver, canAcceptUIContainerFocus, canAlignX, canAlignY, canFillX, canFillY, canRequestFocus, canRequestFocus, clearErrorMessage, couldRequestFocusIfVirtualized, createTitleProp, disconnectVSField, enterVSProcessing, exitVSProcessing, fireSelection, fireSelection, forbiddenGetCustomDataMap, getBadge, getBestVSFieldValueType, getComponentID, getComponentMappings, getErrorMessage, getErrorMessage, getErrorMessageEx, getErrorMessageString, getErrorMessageString, getErrorMessageStringEx, getFirstContainerVSStateFocus, getFixHeight, getFixWidth, getFontInfo, getForcedAlignX, getForcedAlignY, getKStringText, getLayout, getLayoutMgr, getLayoutMgr, getMappedVSComponent, getMessage, getMessageText, getPixelHeight, getPixelWidth, getSize, getStyles, getStyles, getText, getTitle, getTitleKS, getTitlePKS, getTooltip, getTooltipText, getTrigger, getUIPanel, getUIParent, getValue, getValue, getVirtualSpace, getVSField, getVSStateFocus, hasExplicitHeight, hasExplicitWidth, hasFocus, hasImplicitAlignFillX, hasImplicitAlignFillY, hasImplicitHeight, hasImplicitWidth, hasSelectionChanged, isEnabled, isMobile, isReadOnly, isRTL, isVisible, isVSFieldDisconnected, mustHaveExplicitHeight, mustHaveExplicitWidth, mustHaveHeight, mustHaveWidth, onBroken, onComponentSelectedInParent, onEventSelf, onFocusGained, onNotifySelectionChanged, onParentStateChanged, onPrepare, onPrepare, onPropDispose, onRemoteEvent, onResolved, onSelectionChanged, onStateChanged, onValueChanged, onVirtualizationCompleted, processVSComponentSelection, reconnectVSField, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusEx, requestFocusEx, requestFocusEx, requestFocusEx, resetComponentID, setBadge, setBadge, setComponentToVSField, setEnabled, setEnabled, setErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setHTMLText, setLayoutMgr, setMessage, setMessage, setReadOnly, setReadOnly, setText, setText, setTitle, setTitle, setTitle, setTooltip, setTooltip, setUIContainerFocus, setVisible, setVisible, setVSFieldMessageToComponent, setVSFieldToComponent, verifyComponentScope
-
Methods inherited from class com.iizix.prop.PropCnr
__transferChildProps, addProp, addProp, addProp2, addProp2, appendPropValue, completeVirtualize, containsProp, containsProp, convertLoadedProp, createCopyOfAtom, createUniqueAtom, createUniqueAtom, createUniqueAtom, createVSReference, doPropEqualsArrayValues, doVirtualizePropCnr, enablePropCommunication, enablePropHashMap, equalsTree, equalsTree, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsContainer, getExtendsError, getExtendsName, getExtendsOverride, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropBaseReference, getPropCnr, getPropCount, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue0, getReferences, getRetargetedVerifyContainer, getString, getString, getString, getString, getValueClasses, getVSReference, hasSendData, initializeElement, initializeExtendsFramework, initializeProp, initializeValue, initPropCnr, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsPropertyValid, isExtendsRoot, isPropAddRemoveAllowed, isPropCommunicating, isPropExtended, isSibling, list, list, logPropNotFound, maybeAddProp, onInsertProp, onPropRemoved, onPropTreeInitialized, onReferenceEvent, paramString, prepare, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, replaceProps, requestFocus, requestFocusEx, resolveReferences, resolveRuntimeReferences, setBool, setBool, setBool, setBool, setCreateRequiredProp, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, shouldCreateProps, shouldSerializeToXML, toElementString, toNativeValue0, usePropHashMap, usesPropIndex, validateChildPropInValue, validateClassInstances, validatePropType, validatePropValue, verifyInternalUseOnly, verifyTree, virtualize
-
Methods inherited from class com.iizix.prop.GProp
addPropError, addPropListener, convertPropError, dispose, equals, equals, equalsErrors, equalsObj, equalsPropValue, equalValues, extendsClone, finalize, fine, fine, finer, finer, finest, finest, fromElementString, getAliasName, getAppSessionGyro, getAppWorker, getAtomPath, getAttribute, getChildReferencePropName, getClientSessionGyro, getClientWorker, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropName, getFullPropNameDebug, getFullPropNameDebug, getListeners, getModuleFolder, getModuleFolder, getParent, getParent, getProjectName, getPropAtom, getPropError, getPropError, getPropErroredName, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromPath, getPropFromReference, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropReferenceTarget, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getPropValueObject, getReferencePropName, getRelativePropName, getRootFromName, getRootName, getRootParent, getRootParent, getTreeLock, hasChanged, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropForEditor, isPropNullable, isPropPrivate, isPropPrivateAtCreation, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropUSER, isPropValueTreeLockNeeded, isPropVirtualized, isPropVirtualizing, isPropVolatile, isPropVolatileOrEditorOnly, isProxied, list, list, list, mapAliasToReference, mapAliasToReference, mapReferenceToAlias, mapReferenceToAlias, mapReferenceToProjectRelative, modifyPropValue, moveProp, moveProp, moveProp, onEvent, onPropInvalidateCache, onPropParentChanged, onPropValueSet, onVirtualized, paramValue, post, post, removePropError, removePropListener, removePropUSER, renameProp, renameProp2, resetChangedTree, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPrivateCreateRequiredProp, setPropError, setPropErroredName, setPropExtended, setPropExtendsFinal, setPropExtendsPrivate, setPropForEditor, setPropNullable, setPropPrivate, setPropReadOnly, setPropUSER, setPropValue, setPropValue, setPropValue, setPropValueIncognito, setPropVolatile, severe, severe, severe, shouldSerializeToXML, throwIfReadOnly, toNativeValue, toString, toString, triggerRemoteEvent, triggerRemoteEvent, validateProp, verifyHasPropertyItem, warning, warning, warning
-
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.iizigo.panel.wizards.IAddUICompProvider
isPromptWizardRequested, removeWizardPrompting, setWizardPrompting
-
Methods inherited from interface com.iizix.IComponent
clearErrorMessage, getBadge, getKStringText, getLayoutMgr, getMessage, getMessageText, getStyles, getText, getTooltip, getTooltipText, getUIPanel, getUIParent, isEnabled, isReadOnly, isVisible, messageBox, requestFocus, requestFocus, requestFocusEx, requestFocusEx, setBadge, setBadge, setEnabled, setErrorMessage, setErrorMessage, setHTMLText, setLayoutMgr, setMessage, setMessage, setReadOnly, setText, setText, setTooltip, setTooltip, setVisible
-
Methods inherited from interface com.iizix.prop.ICustomDataProvider
forbiddenGetCustomDataMap, getCustomData, putCustomData, putCustomDataIfAbsent
-
Methods inherited from interface com.iizigo.panel.prop.IEUIComp
getDragDropText
-
Methods inherited from interface com.iizigo.panel.prop.IEUICompBase
getPossibleContainerParents, isValidContainer
-
Methods inherited from interface com.iizigo.panel.prop.IEUICompCommon
canMark, getBounds, getEditorPropCnr, getParentClientBounds, useCNPropID
-
Methods inherited from interface com.iizix.gyro.IFocusComp
requestFocus, requestFocus, requestFocusEx, requestFocusEx
-
Methods inherited from interface com.iizix.prop.IGProp
addPropError, addPropListener, dispose, equals, fine, fine, finer, finer, finest, finest, fromElementString, getAppSessionGyro, getAtomPath, getClientSessionGyro, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropNameDebug, getModuleFolder, getModuleFolder, getParent, getParent, getPropAtom, getPropBaseReference, getPropError, getPropError, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getReferencePropName, getReferences, getRelativePropName, getRootParent, getTreeLock, getValueClasses, getVSReference, hasChanged, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCommunicating, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropNullable, isPropPrivate, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropVirtualized, list, list, list, list, list, mapAliasToReference, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onEventSelf, onPropTreeInitialized, onRemoteEvent, removePropError, removePropListener, renameProp, resolveRuntimeReferences, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPropError, setPropExtendsFinal, setPropExtendsPrivate, setPropNullable, setPropPrivate, setPropReadOnly, setPropValue, setPropValue, severe, severe, severe, toElementString, toNativeValue, triggerRemoteEvent, triggerRemoteEvent, validateProp, validatePropType, validatePropValue, verifyHasPropertyItem, warning, warning, warning
-
Methods inherited from interface com.iizigo.link.java.IJavaMethodLinkEnabler
addMethodLinkOperations, isMethodLinkCapable
-
Methods inherited from interface com.iizigo.link.ILinkCapable
getDragDropHTML
-
Methods inherited from interface com.iizix.gyro.IMessageBox
messageBox, messageBox
-
Methods inherited from interface com.iizix.prop.IPropCnr
addProp, addProp, addProp2, addProp2, canRequestFocus, canRequestFocus, canRequestFocus, containsProp, containsProp, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, createCopyOfAtom, createUniqueAtom, createUniqueAtom, enablePropCommunication, enablePropHashMap, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsError, getExtendsName, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropCnr, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getString, getString, getString, getString, hasFocus, initializeExtendsFramework, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsRoot, isPropAddRemoveAllowed, isPropExtended, isSibling, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, requestFocus, requestFocusEx, setBool, setBool, setBool, setBool, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, usePropHashMap, usesPropIndex, validateClassInstances
-
Methods inherited from interface com.iizigo.prop.IPropDesigner
findIResource, getAdapter
-
Methods inherited from interface com.iizigo.prop.IPropRenameable
canRenameProperty
-
Methods inherited from interface com.iizigo.java.IShowJavaSource
showJava, showJava
-
Methods inherited from interface com.iizigo.prop.ITransferContainerProps
canPasteFrom, canPasteTo, transferContainerProps
-
Methods inherited from interface com.iizix.prop.ui.IUIComp
canAcceptUIContainerFocus, disconnectVSField, getComponentID, getComponentMappings, getContainerFirstUIComponent, getContainerFirstUIComponentNull, getDeviceType, getErrorMessage, getErrorMessage, getFirstUIComponent, getFirstUIComponentNull, getFixHeight, getFixWidth, getLayout, getLayoutMgr, getPanelUIComponent, getPanelUIComponentNull, getUIRef, getValue, getValue, getVirtualSpace, getVSField, isMobile, isRTL, isVSFieldDisconnected, reconnectVSField, setComponentToVSField, setErrorMessage, setErrorMessage, setUIContainerFocus, setVSFieldMessageToComponent, setVSFieldToComponent
-
Methods inherited from interface com.iizigo.link.ui.IUIComponentLinkEnabler
getJavaClassLinkEnabler, getRelativeMethodAnnotationReference, getUIComponentLinkOperations, getUIPanel, isUIComponentLinkCapable
-
Methods inherited from interface com.iizix.prop.ui.IUIContextMenuOwner
getContainedContextMenu, getContextMenu, getReferencedContextMenu, isContextMenuSupported, onBroken, onResolved
-
Methods inherited from interface com.iizix.prop.ui.IUIFocusComp
onFocusGained, onFocusLost
-
Methods inherited from interface com.iizix.prop.ui.IUIHint
getHintKString, getHintString, setHint, setHint
-
Methods inherited from interface com.iizix.prop.ui.text.IUIPlainTextComponent
createTextProp
-
Methods inherited from interface com.iizix.prop.vs.IVSComponentListener
onParentStateChanged
-
Methods inherited from interface com.iizigo.link.vs.IVSFieldLinkEnabler
addVSFieldLinkOperations, getLinkVSFieldName, isVSFieldLinkCapable
-
Methods inherited from interface com.iizix.prop.vs.IVSFieldListener
getBestVSFieldValueType, onBroken, onResolved, onStateChanged, onValueChanged
-
-
-
-
Constructor Detail
-
EUIText
public EUIText()
Creates the property container without a name. The name must be set in all cases using thesetPropertyAtom
call.
-
EUIText
public EUIText(Atom propertyAtom)
Creates the property container with the specified name. All system-reserved names for components begins with "$".- Parameters:
propertyAtom
- the name of the component, unique within it's parent.
-
-
Method Detail
-
createStyles
protected Styles createStyles()
Creates the Styles container (can be overridden by Designer to create EditorStyles).- Overrides:
createStyles
in classUIComp
-
addPredefinedProps
protected void addPredefinedProps() throws PropException
Adds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.- Overrides:
addPredefinedProps
in classPropCnr
- Throws:
PropException
- for property exceptions.
-
getPredefinedProps
public void getPredefinedProps()
Gets the references to predefined properties.- Overrides:
getPredefinedProps
in classUIComp
-
getImagePreview
public ImagePreview getImagePreview()
Gets the image preview.- Specified by:
getImagePreview
in interfaceIEImagePreview
-
getDesigner
public UICompDesignerProp getDesigner()
Gets the Designer Extension for Properties.- Specified by:
getDesigner
in interfaceIEUIComp
- Specified by:
getDesigner
in interfaceIPropDesigner
- Returns:
- The instance of the Designer Extension.
-
getCNImage
public org.eclipse.swt.graphics.Image getCNImage(boolean isMobile)
Gets the image for the Common Navigator.- Specified by:
getCNImage
in interfaceIEUICompBase
- Parameters:
isMobile
- The mobile theme flag.- Returns:
- Image or
null
if there is no image.
-
getCNDescriptionType
public java.lang.String getCNDescriptionType()
Provide a type description for the status bar view, if available.- Specified by:
getCNDescriptionType
in interfaceIEUICompBase
- Specified by:
getCNDescriptionType
in interfaceITransferContainerProps
- Returns:
- A type description for the status bar view, or null if not available.
-
getCreator
public IUICompCreator<EUIText> getCreator()
Retrieves the instance of the UI component creation interface.- Specified by:
getCreator
in interfaceIAddUICompProvider<EUIText>
-
getPossibleChildren
public java.lang.Class<?>[] getPossibleChildren()
Gets the acceptable children property classes that can be used in conjunction with e.g. a Paste operation.- Specified by:
getPossibleChildren
in interfaceIPropCnr
- Overrides:
getPossibleChildren
in classPropCnr
- Returns:
- An array containing the classes of possible children, or null for no support.
-
getStylesName
public java.lang.String getStylesName(EditorStyles styles)
The name of this styles property for the common navigator.- Specified by:
getStylesName
in interfaceIStylesFilter
- Parameters:
styles
- The Styles property container.
-
getSupportedStyles
public java.lang.String[] getSupportedStyles(EditorStyles styles)
Gets the groups supported by the component.- Specified by:
getSupportedStyles
in interfaceIStylesFilter
- Parameters:
styles
- The Styles property container.- Returns:
- An array of property names of the styles. Names beginning with '*' indicates it's a group.
-
getExtendsPossibleClasses
public java.lang.Class<?>[] getExtendsPossibleClasses()
Gets the possible classes this container supports for the Extends Framework. The default implementation is to return null.- Specified by:
getExtendsPossibleClasses
in interfaceIPropCnr
- Overrides:
getExtendsPossibleClasses
in classPropCnr
- Returns:
- List of supported classes, or null for none.
-
getSelectPropDialogTitle
public java.lang.String getSelectPropDialogTitle()
Gets the title for selection dialog.- Specified by:
getSelectPropDialogTitle
in interfaceIExtendsSelection
-
getSelectPropViewerFilter
public org.eclipse.jface.viewers.ViewerFilter getSelectPropViewerFilter()
Gets the viewer filter for the tree in the dialog for selecting extends property name.- Specified by:
getSelectPropViewerFilter
in interfaceIExtendsSelection
-
getMethodReferenceAnnotationTypes
public AnnotationType[] getMethodReferenceAnnotationTypes()
Returns the annotation types for the method reference(s).- Specified by:
getMethodReferenceAnnotationTypes
in interfaceIJavaMethodLinkEnabler
- Returns:
- An array with the annotations supported.
-
isLinkCapable
public org.eclipse.core.runtime.IStatus isLinkCapable(LinkData data)
Returns if this property container could potentially be link capable.This call is done many times during drag-drop and must be very fast and not cause too much garbage collection.
- Specified by:
isLinkCapable
in interfaceIEUIComp
- Specified by:
isLinkCapable
in interfaceIJavaMethodLinkEnabler
- Specified by:
isLinkCapable
in interfaceILinkCapable
- Specified by:
isLinkCapable
in interfaceIVSFieldLinkEnabler
- Parameters:
data
- The link data.- Returns:
- The status of capability of the operation.
-
getLinkOperations
public java.util.Collection<ILinkOperation> getLinkOperations(LinkData data)
Called when the drag-drop is to be performed (link or paste-link menu item). The link-capable instance fills in only what it handles.- Specified by:
getLinkOperations
in interfaceIEUIComp
- Specified by:
getLinkOperations
in interfaceIJavaMethodLinkEnabler
- Specified by:
getLinkOperations
in interfaceILinkCapable
- Specified by:
getLinkOperations
in interfaceIVSFieldLinkEnabler
- Parameters:
data
- The link data.- Returns:
- The list of operations required.
-
verify
public boolean verify(PropVerification verification)
Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
-
initializeSampleData
public void initializeSampleData(int oper)
Initialize the sample data for the operation.- Specified by:
initializeSampleData
in interfaceIInitializeSampleData
- Parameters:
oper
- The operation INIT_OPER_*.
-
getTransferProps
public java.lang.Object[] getTransferProps()
Returns the list of properties that are transferable between layout managers.- Specified by:
getTransferProps
in interfaceITransferContainerProps
- Returns:
- The list of String's or Atom's that are transferable, null for none.
-
-