Package com.iizigo.panel.prop
Interface IEUIContainer
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable,- IComponent,- ICustomDataProvider,- IEImagePreview,- IEUICompBase,- IEUICompCommon,- IExtendsSelection,- IGProp<GProp<?>[]>,- IJavaMethodLinkEnabler,- ILinkCapable,- IMessageBox,- IPropCnr,- IPropDesigner,- IPropRenameable,- IStylesFilter,- ITransferContainerProps,- IUIBuilderFromVSLinkEnabler,- IUIComp,- IUIComponentLinkEnabler,- IUIContainer,- IVSComponentListener,- IVSComponentState,- IVSFieldListener
 - All Known Subinterfaces:
- IEUIPanel
 - All Known Implementing Classes:
- EMapMarkers,- EMLGroup,- EMList,- EMUIHeading,- EMUISimpleDialog,- EMUITabBar,- EUIAccordion,- EUICalendarList,- EUIContainer,- EUIContextMenu,- EUIDialog,- EUIMap,- EUIMenu,- EUIMenuBar,- EUIPanel,- EUIPanelPart,- EUIPanelPartCnr,- EUISwapContainer,- EUITabContainer,- EUITable,- EUITitlePane
 - public interface IEUIContainer extends IUIContainer, IEUICompCommon, IUIComponentLinkEnabler, IUIBuilderFromVSLinkEnabler Interface implemented by all Editor UIContainer and their extended classes.- This interface extends IPropRenamable that will enable the Rename dialog to be shown. - 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 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
 
 - Method Summary- All Methods Instance Methods Abstract Methods Default Methods - Modifier and Type - Method - Description - void- addPredefinedPropsImpl()Adds the predefined containers for identifications, fields and actions.- default boolean- canContainComponent(java.lang.Class<? extends UIComp> componentClass)Checks if the UIComponent class in question can be added in this container.- EUIComps- createCompsCnr()Creates the components for the Editor.- Styles- createStyles()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.- default GRect- getClientBounds()Gets the current bounds of the client area inside the container where children are placed.- UIContainerDesignerProp- getDesigner()Gets the Designer Extension for Properties.- default java.util.Collection<ILinkOperation>- getLinkOperations(LinkData data)Called when the drag-drop is to be performed (link or paste-link menu item).- java.lang.Class<?>[]- getPossibleCompChildren()Gets the acceptable component children property classes that can be used in conjunction with e.g.- void- getPredefinedProps()Adds the predefined containers for identifications, fields and actions.- default org.eclipse.core.runtime.IStatus- isLinkCapable(LinkData data)Returns if this property container could potentially be link capable.- 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.IEImagePreview- getImagePreview
 - Methods inherited from interface com.iizigo.panel.prop.IEUICompBase- getCNDescriptionType, getCNImage, getPossibleContainerParents, isValidContainer
 - Methods inherited from interface com.iizigo.panel.prop.IEUICompCommon- canMark, getBounds, getEditorPropCnr, getParentClientBounds, useCNPropID
 - Methods inherited from interface com.iizigo.prop.editor.IExtendsSelection- getSelectPropDialogTitle, getSelectPropViewerFilter
 - 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, getMethodReferenceAnnotationTypes, 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, 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
 - Methods inherited from interface com.iizigo.prop.IPropRenameable- canRenameProperty
 - Methods inherited from interface com.iizigo.style.prop.IStylesFilter- getStylesName, getSupportedStyles
 - Methods inherited from interface com.iizigo.prop.ITransferContainerProps- canPasteFrom, canPasteTo, getCNDescriptionType, getTransferProps, transferContainerProps
 - 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, 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.vs.IVSComponentListener- onParentStateChanged
 - Methods inherited from interface com.iizix.prop.vs.IVSFieldListener- getBestVSFieldValueType, onBroken, onResolved, onStateChanged, onValueChanged
 
 
- Method Detail- createStyles- Styles createStyles() Creates the Styles container (can be overridden by Designer to create EditorStyles).
 - addPredefinedPropsImpl- void addPredefinedPropsImpl() throws PropExceptionAdds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.- Throws:
- PropException
 
 - getPredefinedProps- void getPredefinedProps() Adds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.
 - createCompsCnr- EUIComps createCompsCnr() Creates the components for the Editor.
 - getDesigner- UIContainerDesignerProp getDesigner() Gets the Designer Extension for Properties.- Specified by:
- getDesignerin interface- IPropDesigner
- Returns:
- The container instance of the Designer Extension.
 
 - getAcceptedLayoutMgrs- java.lang.Class<?>[] getAcceptedLayoutMgrs() Gets the possible Layout Manager classes for this component.- Returns:
- null To accept all.
 
 - getPossibleCompChildren- java.lang.Class<?>[] getPossibleCompChildren() Gets the acceptable component children property classes that can be used in conjunction with e.g. a Paste operation.- Returns:
- An array containing the classes of possible children, or null for no support.
 
 - getClientBounds- default GRect getClientBounds() Gets the current bounds of the client area inside the container where children are placed. The position is relative the page or document bounds, including the scrollbars and their current scroll.- Returns:
- The rectangle, or null if not yet defined.
 
 - canContainComponent- default boolean canContainComponent(java.lang.Class<? extends UIComp> componentClass) Checks if the UIComponent class in question can be added in this container.- Parameters:
- componentClass- The component class.
- Returns:
- true If the component is allowed, false otherwise.
 
 - 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:
- isLinkCapablein interface- IJavaMethodLinkEnabler
- Specified by:
- isLinkCapablein interface- ILinkCapable
- Specified by:
- isLinkCapablein interface- IUIBuilderFromVSLinkEnabler
- Parameters:
- data- The link data.
- Returns:
- The status of capability of the operation.
 
 - 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:
- getLinkOperationsin interface- IJavaMethodLinkEnabler
- Specified by:
- getLinkOperationsin interface- ILinkCapable
- Specified by:
- getLinkOperationsin interface- IUIBuilderFromVSLinkEnabler
- Parameters:
- data- The link data.
- Returns:
- The list of operations required.