Package com.iizigo.link.ui
Interface IUIBuilderFromVSLinkEnabler
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
,IGProp<GProp<?>[]>
,ILinkCapable
,IPropCnr
,IPropDesigner
- All Known Subinterfaces:
IELayoutMgr<LAYOUT_PROP>
,IELayoutMgrDND<LAYOUT_PROP>
,IELayoutMgrSimpleDND<LAYOUT_PROP>
,IEUIContainer
,IEUIPanel
- All Known Implementing Classes:
EAbsoluteLayout
,EAccordionLayout
,EBorderLayout
,ECalendarLayout
,EContextMenuLayout
,EFlexLayout
,EGridLayout
,EHeadingLayout
,EListLayout
,EMapLayout
,EMapMarkers
,EMenuBarLayout
,EMenuLayout
,EMLGroup
,EMLGroupLayout
,EMList
,EMListLayout
,EMUIHeading
,EMUISimpleDialog
,EMUITabBar
,ESwapLayout
,ETabBarLayout
,ETabLayout
,EUIAccordion
,EUICalendarList
,EUIComps
,EUIContainer
,EUIContextMenu
,EUIDialog
,EUIMap
,EUIMenu
,EUIMenuBar
,EUIPanel
,EUIPanelPart
,EUIPanelPartCnr
,EUISwapContainer
,EUITabContainer
,EUITable
,EUITableLayout
,EUITitlePane
public interface IUIBuilderFromVSLinkEnabler extends ILinkCapable, IPropDesigner
The UI builder link enabler can be assigned to the UIContainer implementing class and is also used for the UIComps container and layout managers in order to produce the same result when e.g. VS is dropped. This will cause creation of UI components by means of wizard page(s).- 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 void
addUIBuilderFromVSLinkOperations(LinkData data, java.util.Collection<ILinkOperation> linkOps)
Called when the drag-drop is to be performed (link or paste-link menu item).default java.lang.String
getDragDropText()
Gets the link text to display when drag-dropping into JavaScript Panel Editor.default java.util.Collection<ILinkOperation>
getLinkOperations(LinkData data)
Called when the drag-drop is to be performed (link or paste-link menu item).UIPanelBase
getUIPanel()
Returns the panel for this building.default org.eclipse.core.runtime.IStatus
isLinkCapable(LinkData data)
Returns if this property container could potentially be link capable.default org.eclipse.core.runtime.IStatus
isUIBuilderFromVSLinkCapable(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.ILinkCapable
getDragDropHTML
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
Methods inherited from interface com.iizigo.prop.IPropDesigner
findIResource, getAdapter, getDesigner
Method Detail
getUIPanel
UIPanelBase getUIPanel()
Returns the panel for this building.
getDragDropText
default java.lang.String getDragDropText()
Gets the link text to display when drag-dropping into JavaScript Panel Editor.- Specified by:
getDragDropText
in interfaceILinkCapable
- Returns:
- The drag-drop text to use, or null if the method
is used instead.ILinkCapable.getDragDropHTML()
isUIBuilderFromVSLinkCapable
default org.eclipse.core.runtime.IStatus isUIBuilderFromVSLinkCapable(LinkData data)
Returns if this property container could potentially be link capable. This will be true if all the IUICreationFromVS sources are in the same VirtualSpace.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.
isLinkCapable
default 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 interfaceILinkCapable
- Parameters:
data
- The link data.- Returns:
- The status of capability of the operation.
addUIBuilderFromVSLinkOperations
default void addUIBuilderFromVSLinkOperations(LinkData data, java.util.Collection<ILinkOperation> linkOps)
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.linkOps
- List of link operations is filled in when operations are found.
getLinkOperations
default 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 interfaceILinkCapable
- Parameters:
data
- The link data.- Returns:
- The list of operations required.