Package com.iizigo.panel.prop
Class EUISwapContainer
- java.lang.Object
- com.iizix.prop.GProp<GProp<?>[]>
- com.iizix.prop.PropCnr
- com.iizix.prop.ui.UIComp
- com.iizix.prop.ui.UIContainer
- com.iizix.prop.ui.UISwapContainer
- com.iizigo.panel.prop.EUISwapContainer
- All Implemented Interfaces:
IShowJavaSource,ILinkCapable,IJavaMethodLinkEnabler,IUIBuilderFromVSLinkEnabler,IUIComponentLinkEnabler,IEImagePreview,IEUICompBase,IEUICompCommon,IEUIContainer,IExtendsSelection,IPropDesigner,IPropRenameable,ITransferContainerProps,IStylesFilter,EventListener,IFocusComp,IMessageBox,IComponent,ICustomDataProvider,IGProp<GProp<?>[]>,IPropCnr,IUIComp,IUIContainer,IUIContextMenuOwner,IUIFocusComp,IUIGroupSeparator,IUIAnimatedSingleIndexedSelectionComp,IUIIndexedSelectionComp,IUISelectionComp,IUISingleIndexedSelectionComp,IVSComponentListener,IVSComponentState,IVSFieldListener,IVSGenericComponentListener,java.lang.Cloneable,org.eclipse.core.runtime.IAdaptable
public class EUISwapContainer extends UISwapContainer implements IEUIContainer
Swap container.- 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.UISwapContainer
OPEN_VIEW_ATOM, PN_OPEN_VIEW, TRANSITION_DIR_PROP_NAME, TRANSITION_TYPE_PROP_NAME
Fields inherited from class com.iizix.prop.ui.UIContainer
UICOMP_CLASS, VS_STATE_FOCUS_PROP_NAME
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.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
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
Fields inherited from interface com.iizix.prop.ui.selection.IUISelectionComp
SELECTION_TYPE_MULTIPLE, SELECTION_TYPE_NONE, SELECTION_TYPE_SINGLE
Constructor Summary
Constructors Constructor Description EUISwapContainer()Creates the property container without a name.EUISwapContainer(Atom propertyAtom)Creates the property container with the specified name.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPredefinedPropsImpl()Adds the predefined containers for identifications, fields and actions.EUISwapContainerclone()Clone must be overridden.EUICompscreateCompsCnr()Creates the components for the Editor.StylescreateStyles()Creates the Styles container (can be overridden by Designer to create EditorStyles).java.lang.Class<?>[]getAcceptedLayoutMgrs()Gets the possible Layout Manager classes for this component.java.lang.StringgetCNDescriptionType()Provide a type description for the status bar view, if available.org.eclipse.swt.graphics.ImagegetCNImage(boolean isMobile)Gets the image for the Common Navigator.EUICompsgetCompsCnr()Gets the container associated with this layout manager and the UI container.UIContainerDesignerPropgetDesigner()Gets the Designer Extension for Properties.java.lang.Class<?>[]getExtendsPossibleClasses()Gets the possible classes this container supports for the Extends Framework.ImagePreviewgetImagePreview()Gets the image preview.ESwapLayoutgetLayoutMgr()Gets the layout manager.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.java.lang.Class<?>[]getPossibleCompChildren()Gets the acceptable component children property classes that can be used in conjunction with e.g.voidgetPredefinedProps()Gets the references to predefined properties.java.lang.StringgetSelectPropDialogTitle()Gets the title for selection dialog.org.eclipse.jface.viewers.ViewerFiltergetSelectPropViewerFilter()Gets the viewer filter for the tree in the dialog for selecting extends property name.java.lang.StringgetStylesName(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.org.eclipse.core.runtime.IStatusisLinkCapable(LinkData data)Returns if this property container could potentially be link capable.booleanverify(PropVerification verification)Verifies this property container.Methods inherited from class com.iizix.prop.ui.UISwapContainer
canAlignX, canAlignY, clearSelection, getDeviceType, getGroupID, getOnUISelectionMethod, getSelectedIndex, getSelection, getSelectionListenerHandler, getSelectionPropAtom, getSelectionType, getTransitionDir, getTransitionType, hasImplicitAlignFillX, hasImplicitAlignFillY, isAnimated, isContextMenuSupported, isSelected, mustHaveExplicitHeight, mustHaveExplicitWidth, mustHaveHeight, mustHaveWidth, onEventSelf, onPrepare, setSelection, setTransition, setTransition, setUIContainerFocus
Methods inherited from class com.iizix.prop.ui.UIContainer
addPredefinedProps, canAcceptUIContainerFocus, getApproximateSize, getComponentCount, getComponents, getFirstContainerVSStateFocus, getFirstUIComponent, getFirstUIComponentNull, getRadioSelectionComponents, getSelectedRadioComponent, getUIComponent, getUIComponentNull, getVSStateFocus, isEmptyContainerAllowed, isMobileContextMenuSupported, onBroken, onComponentSelectedInParent, onResolved, onSelectionChanged, onSelectionChanged, onStateChanged, onVSComponentSelectionChanged, resetComponentID, setRadioSelectionComponent, updateUICompsReference, verifyComponentScope
Methods inherited from class com.iizix.prop.ui.UIComp
add, addMappings, assignFontInfoResolver, canFillX, canFillY, canRequestFocus, canRequestFocus, clearErrorMessage, couldRequestFocusIfVirtualized, createTitleProp, disconnectVSField, enterVSProcessing, exitVSProcessing, fireSelection, fireSelection, forbiddenGetCustomDataMap, getBadge, getBestVSFieldValueType, getComponentID, getComponentMappings, getErrorMessage, getErrorMessage, getErrorMessageEx, getErrorMessageString, getErrorMessageString, getErrorMessageStringEx, getFixHeight, getFixWidth, getFontInfo, getForcedAlignX, getForcedAlignY, getKStringText, getLayout, getLayoutMgr, getMappedVSComponent, getMessage, getMessageText, getPixelHeight, getPixelWidth, getSize, getStyles, getStyles, getText, getTitle, getTitleKS, getTitlePKS, getTooltip, getTooltipText, getTrigger, getUIPanel, getUIParent, getValue, getValue, getVirtualSpace, getVSField, hasExplicitHeight, hasExplicitWidth, hasFocus, hasImplicitHeight, hasImplicitWidth, hasSelectionChanged, isEnabled, isMobile, isReadOnly, isRTL, isVisible, isVSFieldDisconnected, onBroken, onFocusGained, onNotifySelectionChanged, onParentStateChanged, onPrepare, onPropDispose, onRemoteEvent, onResolved, onStateChanged, onValueChanged, onVirtualizationCompleted, processVSComponentSelection, reconnectVSField, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusEx, requestFocusEx, requestFocusEx, requestFocusEx, setBadge, setBadge, setComponentToVSField, setEnabled, setEnabled, setErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setHTMLText, setLayoutMgr, setMessage, setMessage, setReadOnly, setReadOnly, setText, setText, setTitle, setTitle, setTitle, setTooltip, setTooltip, setVisible, setVisible, setVSFieldMessageToComponent, setVSFieldToComponent
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.iizix.IComponent
clearErrorMessage, getBadge, getKStringText, 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.IEUICompBase
getPossibleContainerParents, isValidContainer
Methods inherited from interface com.iizigo.panel.prop.IEUICompCommon
canMark, getBounds, getEditorPropCnr, getParentClientBounds, useCNPropID
Methods inherited from interface com.iizigo.panel.prop.IEUIContainer
canContainComponent, getClientBounds
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.selection.IUIAnimatedSingleIndexedSelectionComp
setSelection
Methods inherited from interface com.iizigo.link.ui.IUIBuilderFromVSLinkEnabler
addUIBuilderFromVSLinkOperations, getDragDropText, getUIPanel, isUIBuilderFromVSLinkCapable
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.IUIContainer
getComponentCount, getComponents, getRadioSelectionComponents, getSelectedRadioComponent, setRadioSelectionComponent
Methods inherited from interface com.iizix.prop.ui.IUIContextMenuOwner
getContainedContextMenu, getContextMenu, getReferencedContextMenu, onBroken, onResolved
Methods inherited from interface com.iizix.prop.ui.IUIFocusComp
onFocusGained, onFocusLost
Methods inherited from interface com.iizix.prop.ui.IUIGroupSeparator
getRadioSelectionComponents, setRadioSelectionComponent, setRadioSelectionComponent
Methods inherited from interface com.iizix.prop.ui.selection.IUIIndexedSelectionComp
isSelectionIndexBased, setSelection, setSelection, setSelection, setSelection, setSelection
Methods inherited from interface com.iizix.prop.ui.selection.IUISelectionComp
addSelectionListener, isSelectionBooleanBased, isSelectionCellBased, isSelectionTriStateBased, removeSelectionListener, setSelection
Methods inherited from interface com.iizix.prop.ui.selection.IUISingleIndexedSelectionComp
getFirstSelectedIndex, getSelectedIndicies, setSelection
Methods inherited from interface com.iizix.prop.vs.IVSComponentListener
onParentStateChanged
Methods inherited from interface com.iizix.prop.vs.IVSFieldListener
getBestVSFieldValueType, onBroken, onResolved, onStateChanged, onValueChanged
Constructor Detail
EUISwapContainer
public EUISwapContainer()
Creates the property container without a name. The name must be set in all cases using thesetPropertyAtomcall.
EUISwapContainer
public EUISwapContainer(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
createCompsCnr
public EUIComps createCompsCnr()
Creates the components for the Editor.- Specified by:
createCompsCnrin interfaceIEUIContainer- Overrides:
createCompsCnrin classUIContainer
createStyles
public Styles createStyles()
Creates the Styles container (can be overridden by Designer to create EditorStyles).- Specified by:
createStylesin interfaceIEUIContainer- Overrides:
createStylesin classUIComp
addPredefinedPropsImpl
public void addPredefinedPropsImpl() throws PropExceptionAdds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.- Specified by:
addPredefinedPropsImplin interfaceIEUIContainer- Overrides:
addPredefinedPropsImplin classUIContainer- Throws:
PropException- For property exceptions.
getPredefinedProps
public void getPredefinedProps()
Gets the references to predefined properties.- Specified by:
getPredefinedPropsin interfaceIEUIContainer- Overrides:
getPredefinedPropsin classUISwapContainer
getLayoutMgr
public ESwapLayout getLayoutMgr()
Gets the layout manager.- Specified by:
getLayoutMgrin interfaceIComponent- Overrides:
getLayoutMgrin classUIComp- Returns:
- the layout manager instance, or
nullif none is set.
getImagePreview
public ImagePreview getImagePreview()
Gets the image preview.- Specified by:
getImagePreviewin interfaceIEImagePreview
getCompsCnr
public EUIComps getCompsCnr()
Gets the container associated with this layout manager and the UI container.- Specified by:
getCompsCnrin interfaceIUIContainer- Overrides:
getCompsCnrin classUIContainer- Returns:
- The UI components container.
getDesigner
public UIContainerDesignerProp getDesigner()
Gets the Designer Extension for Properties.- Specified by:
getDesignerin interfaceIEUIContainer- Specified by:
getDesignerin 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:
getCNImagein interfaceIEUICompBase- Parameters:
isMobile- The mobile theme flag.- Returns:
- Image or
nullif there is no image.
getCNDescriptionType
public java.lang.String getCNDescriptionType()
Provide a type description for the status bar view, if available.- Specified by:
getCNDescriptionTypein interfaceIEUICompBase- Specified by:
getCNDescriptionTypein interfaceITransferContainerProps- Returns:
- A type description for the status bar view, or null if not available.
clone
public EUISwapContainer clone()
Clone must be overridden.- Overrides:
clonein classUISwapContainer
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:
getPossibleChildrenin interfaceIPropCnr- Overrides:
getPossibleChildrenin classPropCnr- Returns:
- An array containing the classes of possible children, or null for no support.
getPossibleCompChildren
public java.lang.Class<?>[] getPossibleCompChildren()
Gets the acceptable component children property classes that can be used in conjunction with e.g. a Paste operation.- Specified by:
getPossibleCompChildrenin interfaceIEUIContainer- Returns:
- An array containing the classes of possible children, or null for no support.
getAcceptedLayoutMgrs
public java.lang.Class<?>[] getAcceptedLayoutMgrs()
Gets the possible Layout Manager classes for this component.- Specified by:
getAcceptedLayoutMgrsin interfaceIEUIContainer- Returns:
- null To accept all.
getStylesName
public java.lang.String getStylesName(EditorStyles styles)
The name of this styles property for the common navigator.- Specified by:
getStylesNamein interfaceIStylesFilter- Parameters:
styles- The Styles property container.
getSupportedStyles
public java.lang.String[] getSupportedStyles(EditorStyles styles)
Gets the groups supported by the component.- Specified by:
getSupportedStylesin 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:
getExtendsPossibleClassesin interfaceIPropCnr- Overrides:
getExtendsPossibleClassesin classPropCnr- Returns:
- List of supported classes, or null for none.
getSelectPropDialogTitle
public java.lang.String getSelectPropDialogTitle()
Gets the title for selection dialog.- Specified by:
getSelectPropDialogTitlein 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:
getSelectPropViewerFilterin interfaceIExtendsSelection
getMethodReferenceAnnotationTypes
public AnnotationType[] getMethodReferenceAnnotationTypes()
Returns the annotation types for the method reference(s).- Specified by:
getMethodReferenceAnnotationTypesin 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:
isLinkCapablein interfaceIEUIContainer- Specified by:
isLinkCapablein interfaceIJavaMethodLinkEnabler- Specified by:
isLinkCapablein interfaceILinkCapable- Specified by:
isLinkCapablein interfaceIUIBuilderFromVSLinkEnabler- 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:
getLinkOperationsin interfaceIEUIContainer- Specified by:
getLinkOperationsin interfaceIJavaMethodLinkEnabler- Specified by:
getLinkOperationsin interfaceILinkCapable- Specified by:
getLinkOperationsin interfaceIUIBuilderFromVSLinkEnabler- 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.- Specified by:
verifyin interfaceIGProp<GProp<?>[]>- Overrides:
verifyin classUIContainer- Parameters:
verification- The property verification class.- Returns:
- true if verification should proceed, false if disposed of and verification should not take place.
getTransferProps
public java.lang.Object[] getTransferProps()
Returns the list of properties that are transferable between layout managers.- Specified by:
getTransferPropsin interfaceITransferContainerProps- Returns:
- The list of String's or Atom's that are transferable, null for none.