Package com.iizigo.panel.prop.mlist
Class EMLGroup
- All Implemented Interfaces:
IShowJavaSource
,ILinkCapable
,IJavaClassLinkEnabler
,IJavaMethodLinkEnabler
,IUIBuilderFromVSLinkEnabler
,IUIComponentLinkEnabler
,IEImagePreview
,IEUICompBase
,IEUICompCommon
,IEUIContainer
,IExtendsSelection
,IDynamicPropertyEditorList
,IPropDesigner
,IPropRenameable
,ITransferContainerProps
,IStylesFilter
,IBackReferenceProvider
,EventListener
,IFocusComp
,IMessageBox
,IComponent
,IContentProviderPropCnrAPI<MLItemProp,
,MLItem> IClassReferenceOwner
,ICustomDataProvider
,IGProp<GProp<?>[]>
,IPropCnr
,IUIActionHolder
,IUIComp
,IUIContainer
,IUIContextMenuOwner
,IUIFocusComp
,IUIIndexedSelectionComp
,IUISelectionComp
,IUISingleIndexedSelectionComp
,IUIHTMLTextComponent
,IUITextComponent
,IVSColumnBestValueListener
,IVSComponentListener
,IVSComponentState
,IVSFieldListener
,IVSGenericComponentListener
,IVSTableColumnReferenceOwner
,IVSTableListener
,Cloneable
,org.eclipse.core.runtime.IAdaptable
public class EMLGroup extends MLGroup implements IEUIContainer, IDynamicPropertyEditorList, IJavaClassLinkEnabler
Mobile list items group container for the designer. Several can coexist and must be uniquely named.
- 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.content.AbstractContentUIContainer
PN_SELECTION_TYPE, TABLE_REF_PROP_NAME, USE_CONTENT_PROVIDER_PROP_NAME
Fields inherited from class com.iizix.prop.ui.UIContainer
UICOMP_CLASS, VS_STATE_FOCUS_PROP_NAME, WARN_EMPTY_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, nameTable
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.IClassReferenceOwner
RETRIEVE_CLASS_REFERENCE_INSTANCE
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
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the predefined containers for identifications, fields and actions.clone()
Clone must be overridden.Creates the components for the Editor.protected EditorStyles
Creates the Styles container for descriptions of items (must be overridden by Designer to create EditorStyles).protected EMLDefaultItemProp
Creates the MLDefaultItemProp instance.protected EditorStyles
Creates the Styles container for default items (must be overridden by Designer to create EditorStyles).protected MLItemProp
createListItemProp
(Atom atom) Creates a list item property.Creates the Grid Frame Styles container (can be overridden by Designer to create EditorStyles).Class<?>[]
Gets the possible Layout Manager classes for this component.getClassReference
(String id, boolean doCreateIfNotPresent) Gets or creates the ClassReference in the property container.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.Gets the Designer Extension for Properties.Class<?>[]
Gets the possible classes this container supports for the Extends Framework.Gets the image preview.Gets the layout manager.getLinkOperations
(LinkData data) Called when the drag-drop is to be performed (link or paste-link menu item).Returns the annotation types for the method reference(s).Class<?>[]
Gets the acceptable children property classes that can be used in conjunction with e.g.Class<?>[]
Gets the acceptable component children property classes that can be used in conjunction with e.g.Class<?>[]
Gets the supported containers the component can be placed inside.void
Gets the references to predefined properties.Gets the title for selection dialog.org.eclipse.jface.viewers.ViewerFilter
Gets the viewer filter for the tree in the dialog for selecting extends property name.getStylesName
(EditorStyles styles) The name of this styles property for the common navigator.String[]
getSupportedStyles
(EditorStyles styles) Gets the groups supported by the component.Object[]
Returns the list of properties that are transferable between layout managers.boolean
Verifies if the property has changed.org.eclipse.core.runtime.IStatus
isLinkCapable
(LinkData data) Returns if this property container could potentially be link capable.void
onEventSelf
(GEvent event) Event checking for change of default item type.boolean
verify
(PropVerification verification) Verifies this property container.Methods inherited from class com.iizix.prop.ui.mlist.MLGroup
addPredefinedProps, createContentProvider, createDefaultContentProvider, createItem, getBestVSColumnHeaderValueTypes, getClassReferenceAtom, getClassReferenceImplementsInterface, getClassReferenceRequiredAnnotation, getContentProvider, getContentTableColumnReferenceNames, getDefaultItemProp, getDefaultType, getDeviceType, getHeadingText, getIconProvider, getItemClass, getItemContentClass, getVSColumnIndex, isClassReferenceAnnotationBackReferenceRequired, isEmptyContainerAllowed, isMobileContextMenuSupported, onItemAdded, onItemRemoved
Methods inherited from class com.iizix.prop.content.AbstractContentUIContainer
add, add, addMappings, addMappingsTable, clearSelection, equalsTree, get, getAll, getAPIContentProvider, getBestVSColumnHeaderValueType, getContentTable, getContentTableColumns, getItem, getItemCount, getItems, getOnUIActionMethod, getOnUISelectionMethod, getSelectedIndex, getSelectedIndicies, getSelection, getSelectionListenerHandler, getSelectionPropAtom, getSelectionType, getVSTable, getVSTable, getVSTableReferenceOwnerData, hasDiscreteContentChanges, indexOf, isBackReferenceValid, isSelected, isUpdatingInCurrentThread, onBroken, onCellStateChanged, onCellValueChanged, onParentStateChanged, onPrepare, onPropDispose, onPropParentChanged, onResolved, onRowAdded, onRowRemoved, onRowStateChanged, onSelectionChanged, onSelectionChanged, onSingleSelectionChanged, onStateChanged, onVirtualizationCompleted, refresh, refresh, refresh, remove, remove, removeAll, setContentProvider, setSelection, update, useContentProvider
Methods inherited from class com.iizix.prop.ui.UIContainer
canAcceptUIContainerFocus, doIssueEmptyContainerWarning, getApproximateSize, getComponentCount, getComponents, getCompsCnr, getFirstContainerVSStateFocus, getFirstUIComponent, getFirstUIComponentNull, getRadioSelectionComponents, getSelectedRadioComponent, getUIComponent, getUIComponentNull, getVSStateFocus, hasImplicitAlignFillX, hasImplicitAlignFillY, invokeOnUICreateTree, mustHaveHeight, mustHaveWidth, onBroken, onComponentSelectedInParent, onResolved, onSelectionChanged, onStateChanged, onVirtualContainerCreated, onVSComponentSelectionChanged, resetComponentID, setRadioSelectionComponent, setUIContainerFocus, updateUICompsReference, verifyComponentScope
Methods inherited from class com.iizix.prop.ui.UIComp
add, assignFontInfoResolver, 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, 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, initPropCnr, isEnabled, isMobile, isReadOnly, isRTL, isVisible, isVSFieldDisconnected, mustHaveExplicitHeight, mustHaveExplicitWidth, onBroken, onFocusGained, onNotifySelectionChanged, onPrepare, onRemoteEvent, onResolved, onStateChanged, onValueChanged, 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, enablePropCommunication, enablePropHashMap, 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, getRetargetedVerifyContainer, getString, getString, getString, getString, getValueClasses, getVSReference, hasSendData, initializeElement, initializeExtendsFramework, initializeProp, initializeValue, 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, getReferencePropNameNoAssert, getRelativePropName, getRootFromName, getRootName, getRootParent, getRootParentNoAssert, getTreeLock, hasChanged, hasCircularReferencesError, 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, isPropRootLoading, isPropRootTreeModificationsAllowed, isPropUSER, isPropValueTreeLockNeeded, isPropVirtualized, isPropVirtualizing, isPropVolatile, isPropVolatileOrEditorOnly, isProxied, list, list, list, mapAliasToReference, mapAliasToReference, mapReferenceToAlias, mapReferenceToAlias, mapReferenceToProjectRelative, modifyPropValue, moveProp, moveProp, moveProp, onEvent, onPropInvalidateCache, onPropValueSet, paramString, 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, warning, warning, warning
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.iizix.prop.IClassReferenceOwner
getClassReference, getClassReferenceAtom, getClassReferenceImplementsInterface, getClassReferenceRequiredAnnotation, getClassReferenceRuntimeInstance, getProp, getRuntimeClassInstance, getRuntimeClassInstance, isClassReferenceAnnotationBackReferenceRequired
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.content.IContentProviderPropCnrAPI
add, add, get, getAll, getAPIContentProvider, indexOf, remove, remove, removeAll
Methods inherited from interface com.iizix.prop.ICustomDataProvider
forbiddenGetCustomDataMap, getCustomData, putCustomData, putCustomDataIfAbsent
Methods inherited from interface com.iizigo.panel.prop.IEUICompBase
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, getRelativePropName, getRootParent, getTreeLock, getValueClasses, getVSReference, hasChanged, hasCircularReferencesError, 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, 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, warning, warning, warning
Methods inherited from interface com.iizigo.link.java.IJavaClassLinkEnabler
addClassLinkOperations, isClassLinkCapable
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.IUIActionHolder
getBaseJavaReference
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, getCompsCnr, getRadioSelectionComponents, getSelectedRadioComponent, setRadioSelectionComponent
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.text.IUIHTMLTextComponent
createTextProp
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, 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 Details
EMLGroup
public EMLGroup()Creates the property container without a name. The name must be set in all cases using thesetPropertyAtom
call.EMLGroup
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 Details
getDesigner
Gets the Designer Extension for Properties.- Specified by:
getDesigner
in interfaceIEUIContainer
- Specified by:
getDesigner
in interfaceIPropDesigner
- Returns:
- The instance of the Designer Extension.
getLayoutMgr
Gets the layout manager.- Specified by:
getLayoutMgr
in interfaceIComponent
- Overrides:
getLayoutMgr
in classUIComp
- Returns:
- the layout manager instance, or
null
if none is set.
createCompsCnr
Creates the components for the Editor.- Specified by:
createCompsCnr
in interfaceIEUIContainer
- Overrides:
createCompsCnr
in classUIContainer
createStyles
Creates the Grid Frame Styles container (can be overridden by Designer to create EditorStyles).- Specified by:
createStyles
in interfaceIEUIContainer
- Overrides:
createStyles
in classUIComp
- Returns:
- A new EditorStyles container.
createDefaultItemsStyles
Creates the Styles container for default items (must be overridden by Designer to create EditorStyles).- Overrides:
createDefaultItemsStyles
in classMLGroup
- Returns:
- A new EditorStyles container.
createDefaultDescriptionStyles
Creates the Styles container for descriptions of items (must be overridden by Designer to create EditorStyles).- Overrides:
createDefaultDescriptionStyles
in classMLGroup
- Returns:
- A new EditorStyles container.
createDefaultItemProp
Creates the MLDefaultItemProp instance.- Overrides:
createDefaultItemProp
in classMLGroup
- Returns:
- A new EMLDefaultItemProp instance.
addPredefinedPropsImpl
Adds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.- Specified by:
addPredefinedPropsImpl
in interfaceIEUIContainer
- Overrides:
addPredefinedPropsImpl
in classUIContainer
- Throws:
PropException
- For property exceptions.
getPredefinedProps
public void getPredefinedProps()Gets the references to predefined properties.- Specified by:
getPredefinedProps
in interfaceIEUIContainer
- Overrides:
getPredefinedProps
in classMLGroup
clone
Clone must be overridden.hasEditedPropertyListChanged
Verifies if the property has changed. This will rebuild the property editor if the type changes.- Specified by:
hasEditedPropertyListChanged
in interfaceIDynamicPropertyEditorList
- Parameters:
event
- The property event.- Returns:
- true if it changed.
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
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.
getImagePreview
Gets the image preview.- Specified by:
getImagePreview
in interfaceIEImagePreview
onEventSelf
Event checking for change of default item type. When type is changed, the unused properties in the default item property is removed.- Specified by:
onEventSelf
in interfaceIGProp<GProp<?>[]>
- Overrides:
onEventSelf
in classAbstractContentUIContainer<MLItemProp,
MLItem> - Parameters:
event
- The property event.
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.
getPossibleCompChildren
Gets the acceptable component children property classes that can be used in conjunction with e.g. a Paste operation.- Specified by:
getPossibleCompChildren
in interfaceIEUIContainer
- Returns:
- An array containing the classes of possible children, or null for no support.
getPossibleContainerParents
Gets the supported containers the component can be placed inside.- Specified by:
getPossibleContainerParents
in interfaceIEUICompBase
- Returns:
- An array of UIContainer classes, or null for any.
getAcceptedLayoutMgrs
Gets the possible Layout Manager classes for this component.- Specified by:
getAcceptedLayoutMgrs
in interfaceIEUIContainer
- Returns:
- null To accept all.
getStylesName
The name of this styles property for the common navigator.- Specified by:
getStylesName
in interfaceIStylesFilter
- Parameters:
styles
- The Styles property container.
getSupportedStyles
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
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
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
Returns the annotation types for the method reference(s).- Specified by:
getMethodReferenceAnnotationTypes
in interfaceIJavaMethodLinkEnabler
- Returns:
- An array with the annotations supported.
isLinkCapable
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 interfaceIEUIContainer
- Specified by:
isLinkCapable
in interfaceIJavaClassLinkEnabler
- Specified by:
isLinkCapable
in interfaceIJavaMethodLinkEnabler
- Specified by:
isLinkCapable
in interfaceILinkCapable
- Specified by:
isLinkCapable
in interfaceIUIBuilderFromVSLinkEnabler
- Parameters:
data
- The link data.- Returns:
- The status of capability of the operation.
getLinkOperations
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 interfaceIEUIContainer
- Specified by:
getLinkOperations
in interfaceIJavaClassLinkEnabler
- Specified by:
getLinkOperations
in interfaceIJavaMethodLinkEnabler
- Specified by:
getLinkOperations
in interfaceILinkCapable
- Specified by:
getLinkOperations
in interfaceIUIBuilderFromVSLinkEnabler
- Parameters:
data
- The link data.- Returns:
- The list of operations required.
getClassReference
Gets or creates the ClassReference in the property container.Panel do not use "ID" because there is a single class connection with the name Atom.CLASS.
- Specified by:
getClassReference
in interfaceIClassReferenceOwner
- Specified by:
getClassReference
in interfaceIJavaClassLinkEnabler
- Overrides:
getClassReference
in classMLGroup
- Parameters:
id
- ID for the class reference if several exist, null for default.doCreateIfNotPresent
- Flag to create the property (this flag can only be true in Designer)!- Returns:
- The resolved class reference instance, null if the ClassReference doesn't exist if the create flag is false. If flag is true, an orphan unresolved EditorClassReference instance (ONLY for the Designer).
verify
Verifies this property container. The check performed is the extension of classes and that no circular reference is present.- Specified by:
verify
in interfaceIGProp<GProp<?>[]>
- Overrides:
verify
in classAbstractContentUIContainer<MLItemProp,
MLItem> - Parameters:
verification
- The property verification class.- Returns:
- true if verification should proceed, false if disposed of and verification should not take place.
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.
createListItemProp
Creates a list item property.- Overrides:
createListItemProp
in classMLGroup
- Parameters:
atom
- The name.- Returns:
- The property.