Package com.iizigo.panel.prop
Class EUIDialog
- All Implemented Interfaces:
IShowJavaSource
,ILinkCapable
,IJavaClassLinkEnabler
,IJavaMethodLinkEnabler
,IUIBuilderFromVSLinkEnabler
,IUIComponentLinkEnabler
,IEImagePreview
,IEUICompBase
,IEUICompCommon
,IEUIContainer
,IEUIPanel
,IDefaultGUnitProvider
,IDefaultPropertyValueProvider<GUnit>
,IExtendsSelection
,IPropDesigner
,IPropRenameable
,IPropUndoContext
,ITransferContainerProps
,IStylesFilter
,IVSLinkEnabler
,IVSParticipantLinkEnabler
,EventListener
,IFocusComp
,IMessageBox
,IUIPanelAnimation
,IComponent
,IClassReferenceOwner
,ICustomDataProvider
,IGProp<GProp<?>[]>
,IPropCnr
,IReferrerParticipant
,ISelectorOwner
,IUIClassReferenceOwner
,IUIComp
,IUIContainer
,IUIContextMenuOwner
,IUIFocusComp
,IUIGroupSeparator
,IUIPanelOwner
,IUIPlainTextComponent
,IUITextComponent
,IVSAccessor
,IVSComponentListener
,IVSComponentState
,IVSFieldListener
,IVSGenericComponentListener
,IVSParticipant
,Cloneable
,org.eclipse.core.runtime.IAdaptable
Editor class for UIDialog.
- 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.gyro.IUIPanelAnimation
IUIPanelAnimation.Direction, IUIPanelAnimation.Speed, IUIPanelAnimation.Type
Nested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState
IVSComponentState.State
Field Summary
Fields inherited from class com.iizix.prop.ui.UIDialog
clientStyles
Fields inherited from class com.iizix.prop.ui.UIPanelBase
EMPTY_ARRAY, PP_ADD_PANEL, PP_REPLACE_ALL, PP_REPLACE_ALL_POPUPS, PP_REPLACE_LAST_POPUP, REMOTE_REMOVE_EVENT, VS_BACK_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.iizigo.panel.prop.IEUIPanel
PANEL_METHOD_LINK_ANNOTATIONS
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.gyro.IUIPanelAnimation
ANIMATION_DEFAULT, ANIMATION_FADE_FAST, ANIMATION_FADE_NORMAL, ANIMATION_FADE_SLOW, ANIMATION_FADE_SLOWER, ANIMATION_FADE_SLOWEST, ANIMATION_NO_CSS3_FLAG, ANIMATION_NO_SCROLL_FLAG, ANIMATION_NONE, ANIMATION_PROP_NAME, ANIMATION_SPEED_FAST, ANIMATION_SPEED_NORMAL, ANIMATION_SPEED_SLOW, ANIMATION_SPEED_SLOWER, ANIMATION_SPEED_SLOWEST, ANIMATION_TYPE_COVER, ANIMATION_TYPE_FADE, ANIMATION_TYPE_NONE, ANIMATION_TYPE_REVEAL, ANIMATION_TYPE_SLIDE
Fields inherited from interface com.iizigo.vs.link.IVSLinkEnabler
EMPTY_VSLINK_INFO, OPERATION_CANCELED
Fields inherited from interface com.iizigo.vs.link.IVSParticipantLinkEnabler
VIRTUALSPACE_PARTICIPANT_LINK_ENABLER
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the predefined containers for identifications, fields and actions.clone()
Clone must be overridden.protected Styles
Creates the Client Styles container (can be overridden by Designer to create EditorStyles).Creates the components for the Editor.Create the layout property.Creates the 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 container associated with this layout manager and the UI container.getDefaultValue
(Atom name, GUnit defaultValue) Gets the default value to use when a value is defined and no previous text is available.Gets the Designer Extension for Properties.Class<?>[]
Gets the possible classes this container supports for the Extends Framework.Gets the image preview.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.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.org.eclipse.core.commands.operations.IUndoContext
Gets the undo context.boolean
validateClassInstances
(boolean doPerform, GProp<?>[] props, boolean isMove) Validates the target property container classes for paste/move with additional instance testing, extra check when the possible children are verified.boolean
verify
(PropVerification verification) Verifies this property container.Methods inherited from class com.iizix.prop.ui.UIDialog
addPredefinedProps, getClientAreaStyles, getDeviceType, getOnCreateExistingPanelProcessing, getParticipantType, hasExplicitHeight, hasExplicitWidth, isPopupPanel
Methods inherited from class com.iizix.prop.ui.UIPanelBase
createVSReference, getAppSessionGyro, getClientSessionGyro, getDefaultTextTable, getGroupID, getLayout, getNonVirtualized, getPanelMappings, getPanelOwner, getParticipantDescription, getPropBaseReference, getThemes, getVirtualSpace, getVSParticipant, getVSReference, hasBeenRemoved, invokeOnUIConnectMethod, invokeOnUIFocusMethod, invokeOnUISelectionMethod, invokeOnUITextChangeMethod, invokeOnUIValueChangeMethod, isAnimationPropPrivate, isDesktopType, isDeviceTypeMatching, isMobileType, isParticipating, isPrimaryParticipant, onEventSelf, onPrepare, onPropDispose, onRemoteEvent, onVirtualizationCompleted, onVirtualSpaceVirtualized, requestRemove, setDefaultTextTable, setPanelType, shouldCreateProps, virtualize
Methods inherited from class com.iizix.prop.ui.UIContainer
canAcceptUIContainerFocus, doIssueEmptyContainerWarning, getApproximateSize, getComponentCount, getComponents, getFirstContainerVSStateFocus, getFirstUIComponent, getFirstUIComponentNull, getRadioSelectionComponents, getSelectedRadioComponent, getUIComponent, getUIComponentNull, getVSStateFocus, hasImplicitAlignFillX, hasImplicitAlignFillY, invokeOnUICreateTree, isEmptyContainerAllowed, isMobileContextMenuSupported, mustHaveHeight, mustHaveWidth, onBroken, onComponentSelectedInParent, onResolved, onSelectionChanged, onSelectionChanged, onStateChanged, onVirtualContainerCreated, onVSComponentSelectionChanged, resetComponentID, setRadioSelectionComponent, setUIContainerFocus, updateUICompsReference, verifyComponentScope
Methods inherited from class com.iizix.prop.ui.UIComp
add, addMappings, 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, getLayoutMgr, getLayoutMgr, getMappedVSComponent, getMessage, getMessageText, getPixelHeight, getPixelWidth, getSize, getStyles, getStyles, getText, getTitle, getTitleKS, getTitlePKS, getTooltip, getTooltipText, getTrigger, getUIPanel, getUIParent, getValue, getValue, getVSField, hasFocus, hasImplicitHeight, hasImplicitWidth, hasSelectionChanged, initPropCnr, isEnabled, isMobile, isReadOnly, isRTL, isVisible, isVSFieldDisconnected, mustHaveExplicitHeight, mustHaveExplicitWidth, onBroken, onFocusGained, onNotifySelectionChanged, onParentStateChanged, onPrepare, 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, doPropEqualsArrayValues, 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, getPropCnr, getPropCount, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue0, getRetargetedVerifyContainer, getString, getString, getString, getString, getValueClasses, 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, shouldSerializeToXML, toElementString, toNativeValue0, usePropHashMap, usesPropIndex, validateChildPropInValue, validatePropType, validatePropValue, verifyInternalUseOnly, verifyTree
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, getAppWorker, getAtomPath, getAttribute, getChildReferencePropName, 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, onPropParentChanged, 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, getClassReferenceRuntimeInstance, getProp, getRuntimeClassInstance, getRuntimeClassInstance
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.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.iizigo.panel.prop.IEUIPanel
canRenameProperty, getClassReferenceImpl, getLinkOperations, getMethodReferenceAnnotationTypes, isLinkCapable
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, 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, 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
Methods inherited from interface com.iizigo.prop.IPropDesigner
findIResource, getAdapter
Methods inherited from interface com.iizix.prop.ISelectorOwner
getSelector, getSelectorReference, hasSelector, isSelectorSelected
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.iizigo.link.ui.IUIBuilderFromVSLinkEnabler
addUIBuilderFromVSLinkOperations, getDragDropText, getUIPanel, isUIBuilderFromVSLinkCapable
Methods inherited from interface com.iizix.prop.ui.IUIClassReferenceOwner
getClassReferenceAtom, getClassReferenceImplementsInterface, getClassReferenceRequiredAnnotation, isClassReferenceAnnotationBackReferenceRequired
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, isContextMenuSupported, 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.gyro.IUIPanelAnimation
getAnimation, getAnimation, getAnimationDescription, getAnimationDirection, getAnimationSpeed, getAnimationType, setAnimation, setAnimation
Methods inherited from interface com.iizix.prop.ui.text.IUIPlainTextComponent
createTextProp
Methods inherited from interface com.iizix.prop.vs.IVSComponentListener
onParentStateChanged
Methods inherited from interface com.iizix.prop.vs.IVSFieldListener
getBestVSFieldValueType, onBroken, onResolved, onStateChanged, onValueChanged
Methods inherited from interface com.iizigo.vs.link.IVSLinkEnabler
attempVSLink
Methods inherited from interface com.iizix.prop.vs.IVSParticipant
assignVirtualSpace, getVSParticipantAtom
Methods inherited from interface com.iizigo.vs.link.IVSParticipantLinkEnabler
getVSLinkInfo
Constructor Details
EUIDialog
public EUIDialog()Creates the property container without a name. The name must be set in all cases using thesetPropertyAtom
call.EUIDialog
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
createLayout
Create the layout property.- Specified by:
createLayout
in interfaceIEUIPanel
- Overrides:
createLayout
in classUIPanelBase
- Returns:
- A new instance of EPanelData named Atom.LAYOUT.
createCompsCnr
Creates the components for the Editor.- Specified by:
createCompsCnr
in interfaceIEUIContainer
- Overrides:
createCompsCnr
in classUIContainer
createStyles
Creates the Styles container (can be overridden by Designer to create EditorStyles).- Specified by:
createStyles
in interfaceIEUIContainer
- Overrides:
createStyles
in classUIComp
createClientStyles
Creates the Client Styles container (can be overridden by Designer to create EditorStyles).- Overrides:
createClientStyles
in classUIDialog
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 classUIDialog
getCompsCnr
Gets the container associated with this layout manager and the UI container.- Specified by:
getCompsCnr
in interfaceIUIContainer
- Overrides:
getCompsCnr
in classUIContainer
- Returns:
- The UI components container.
getImagePreview
Gets the image preview.- Specified by:
getImagePreview
in interfaceIEImagePreview
getDesigner
Gets the Designer Extension for Properties.- Specified by:
getDesigner
in interfaceIEUIContainer
- Specified by:
getDesigner
in interfaceIPropDesigner
- Returns:
- The instance of the Designer Extension.
getUndoContext
public org.eclipse.core.commands.operations.IUndoContext getUndoContext()Gets the undo context. For the UIPanel, this will ripple up to the editor containing this panel.- Specified by:
getUndoContext
in interfaceIPropUndoContext
- Returns:
- The undo context for the Editor part(s) for this container.
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.
clone
Clone must be overridden.- Overrides:
clone
in classUIPanelBase
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 interfaceIEUIPanel
- Specified by:
getClassReference
in interfaceIJavaClassLinkEnabler
- Specified by:
getClassReference
in interfaceIUIClassReferenceOwner
- 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).
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.
validateClassInstances
Validates the target property container classes for paste/move with additional instance testing, extra check when the possible children are verified.Override this method that by default returns true to provide fine-tuned testing for validity.
- Specified by:
validateClassInstances
in interfaceIPropCnr
- Overrides:
validateClassInstances
in classPropCnr
- Parameters:
doPerform
- The perform flag, false means just testing.props
- Properties to move or paste.isMove
- Flag for move if true, false means paste.- Returns:
- true if the class instances for move or paste are valid, false otherwise.
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.
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
getDefaultValue
Gets the default value to use when a value is defined and no previous text is available.- Specified by:
getDefaultValue
in interfaceIDefaultPropertyValueProvider<GUnit>
- Parameters:
name
- The edited property name.defaultValue
- The default value as defined by the property editor information.
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 classUIPanelBase
- 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.