Package com.iizigo.link.ui
Interface IUIComponentLinkEnabler
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
,IGProp<GProp<?>[]>
,IJavaMethodLinkEnabler
,ILinkCapable
,IPropCnr
- All Known Subinterfaces:
IEUIComp
,IEUIContainer
,IEUIPanel
- All Known Implementing Classes:
ECalendarEvent
,EMapMarkerProp
,EMapMarkers
,EMLDefaultItemProp
,EMLGroup
,EMList
,EMLItemProp
,EMUIHeading
,EMUISimpleDialog
,EMUISwitch
,EMUITabBar
,EUIAccordion
,EUIButton
,EUICalendar
,EUICalendarList
,EUIChart
,EUICheckBox
,EUICheckedMenuItem
,EUIComboBox
,EUIContainer
,EUIContextMenu
,EUIDateTime
,EUIDialog
,EUIEmpty
,EUIGauge
,EUIImage
,EUIImage2
,EUILabel
,EUIMap
,EUIMedia
,EUIMenu
,EUIMenuBar
,EUIMenuItem
,EUIMenuSeparator
,EUIOutput
,EUIPanel
,EUIPanelPart
,EUIPanelPartCnr
,EUIProgress
,EUIRadioButton
,EUIRadioMenuItem
,EUISlider
,EUISpinner
,EUISwapContainer
,EUITabContainer
,EUITable
,EUITableColumn
,EUIText
,EUITextArea
,EUITitlePane
public interface IUIComponentLinkEnabler extends IJavaMethodLinkEnabler
Link interface implemented by UIComponents.- Author:
- Christopher Mindus
Field Summary
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.link.ILinkCapable
STATUS_LINK_NOT_SUPPORTED
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IJavaClassLinkEnabler
getJavaClassLinkEnabler()
Gets the instance that links to the class.default java.lang.String
getRelativeMethodAnnotationReference()
Gets the annotation relative reference to the element.default java.util.Collection<ILinkOperation>
getUIComponentLinkOperations(LinkData data)
Called when the drag-drop is to be performed (link or paste-link menu item).UIPanelBase
getUIPanel()
Gets the panel for the UI component.default org.eclipse.core.runtime.IStatus
isUIComponentLinkCapable(LinkData data)
Returns if this property container could potentially be link capable.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, verify, verifyHasPropertyItem, warning, warning, warning
Methods inherited from interface com.iizigo.link.java.IJavaMethodLinkEnabler
addMethodLinkOperations, getLinkOperations, getMethodReferenceAnnotationTypes, isLinkCapable, isMethodLinkCapable
Methods inherited from interface com.iizigo.link.ILinkCapable
getDragDropHTML, getDragDropText
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, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, 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
Method Detail
getUIPanel
UIPanelBase getUIPanel()
Gets the panel for the UI component.This method is defined for all UI components and only serves the purpose of a call in the default implementation in this interface.
- Returns:
- The panel.
getJavaClassLinkEnabler
default IJavaClassLinkEnabler getJavaClassLinkEnabler()
Gets the instance that links to the class.- Specified by:
getJavaClassLinkEnabler
in interfaceIJavaMethodLinkEnabler
- Returns:
- The class link enabler instance, never null.
getRelativeMethodAnnotationReference
default java.lang.String getRelativeMethodAnnotationReference()
Gets the annotation relative reference to the element.- Specified by:
getRelativeMethodAnnotationReference
in interfaceIJavaMethodLinkEnabler
- Returns:
- The relative reference in the method annotation of e.g. "OnUIFocus" for this component.
isUIComponentLinkCapable
default org.eclipse.core.runtime.IStatus isUIComponentLinkCapable(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.
- Parameters:
data
- The link data.- Returns:
- The status of capability of the operation.
getUIComponentLinkOperations
default java.util.Collection<ILinkOperation> getUIComponentLinkOperations(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.- Parameters:
data
- The link data.- Returns:
- The list of operations required.