Package com.iizigo.panel.prop
Interface IELayoutMgr<LAYOUT_PROP extends LayoutProp>
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
,IEUICompBase
,IGProp<GProp<?>[]>
,ILinkCapable
,IPropCnr
,IPropDesigner
,ITransferContainerProps
,IUIBuilderFromVSLinkEnabler
- All Known Subinterfaces:
IELayoutMgrDND<LAYOUT_PROP>
,IELayoutMgrSimpleDND<LAYOUT_PROP>
- All Known Implementing Classes:
EAbsoluteLayout
,EAccordionLayout
,EBorderLayout
,ECalendarLayout
,EContextMenuLayout
,EFlexLayout
,EGridLayout
,EHeadingLayout
,EListLayout
,EMapLayout
,EMenuBarLayout
,EMenuLayout
,EMLGroupLayout
,EMListLayout
,ESwapLayout
,ETabBarLayout
,ETabLayout
,EUITableLayout
public interface IELayoutMgr<LAYOUT_PROP extends LayoutProp> extends IEUICompBase, IUIBuilderFromVSLinkEnabler, ITransferContainerProps
Interface implemented by layout managers.- Author:
- Christopher Mindus
Field Summary
Fields inherited from interface com.iizix.prop.IGProp
EQC_ERROR_IGNORE_ALL, EQC_ERROR_IGNORE_REFERENCES, EQC_IGNORE_ARRAY, EQC_IGNORE_VOLATILE_OR_EDITOR, EQC_PRIVATE, EQC_SAVE_FILE, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATE
Fields inherited from interface com.iizigo.link.ILinkCapable
STATUS_LINK_NOT_SUPPORTED
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LAYOUT_PROP
createDefaultLayoutProp(UIComp uiComp)
Creates the default LayoutProp to use for a new component that is inserted directly into the UIComps container.UIComps
getCompsCnr()
Gets the container associated with this layout manager and the UI container.java.lang.Class<LAYOUT_PROP>
getLayoutDataClass()
Gets the layout data class.java.lang.Object[]
getPropertyEditorLayoutDataSetup()
Gets the layout data settings for a component.UIComp[]
getUIComps()
Gets all components for the container of the layout manager.default boolean
isCNVisible()
Checks if a property should be included in the view or if it's hidden or filtered out.default boolean
isReplaceable()
Checks if this layout manager is replaceable by another.default org.eclipse.core.runtime.IStatus
layoutNewComponents(java.util.List<UIComp> components, ComplexOperation op)
Called to perform layout of the newly added components.Methods inherited from interface com.iizigo.panel.prop.IEUICompBase
getCNDescriptionType, getCNImage, getPossibleContainerParents, isValidContainer
Methods inherited from interface com.iizix.prop.IGProp
addPropError, addPropListener, dispose, equals, fine, fine, finer, finer, finest, finest, fromElementString, getAppSessionGyro, getAtomPath, getClientSessionGyro, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropNameDebug, getModuleFolder, getModuleFolder, getParent, getParent, getPropAtom, getPropBaseReference, getPropError, getPropError, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getReferencePropName, getReferences, getRelativePropName, getRootParent, getTreeLock, getValueClasses, getVSReference, hasChanged, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCommunicating, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropNullable, isPropPrivate, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropVirtualized, list, list, list, list, list, mapAliasToReference, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onEventSelf, onPropTreeInitialized, onRemoteEvent, removePropError, removePropListener, renameProp, resolveRuntimeReferences, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPropError, setPropExtendsFinal, setPropExtendsPrivate, setPropNullable, setPropPrivate, setPropReadOnly, setPropValue, setPropValue, severe, severe, severe, toElementString, toNativeValue, triggerRemoteEvent, triggerRemoteEvent, validateProp, validatePropType, validatePropValue, verify, verifyHasPropertyItem, warning, warning, warning
Methods inherited from interface com.iizigo.link.ILinkCapable
getDragDropHTML
Methods inherited from interface com.iizix.prop.IPropCnr
addProp, addProp, addProp2, addProp2, canRequestFocus, canRequestFocus, canRequestFocus, containsProp, containsProp, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, createCopyOfAtom, createUniqueAtom, createUniqueAtom, enablePropCommunication, enablePropHashMap, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsError, getExtendsName, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropCnr, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getString, getString, getString, getString, hasFocus, initializeExtendsFramework, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsRoot, isPropAddRemoveAllowed, isPropExtended, isSibling, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, requestFocus, requestFocusEx, setBool, setBool, setBool, setBool, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, usePropHashMap, usesPropIndex, validateClassInstances
Methods inherited from interface com.iizigo.prop.IPropDesigner
findIResource, getAdapter, getDesigner
Methods inherited from interface com.iizigo.prop.ITransferContainerProps
canPasteFrom, canPasteTo, getCNDescriptionType, getTransferProps, transferContainerProps
Methods inherited from interface com.iizigo.link.ui.IUIBuilderFromVSLinkEnabler
addUIBuilderFromVSLinkOperations, getDragDropText, getLinkOperations, getUIPanel, isLinkCapable, isUIBuilderFromVSLinkCapable
Method Detail
getPropertyEditorLayoutDataSetup
java.lang.Object[] getPropertyEditorLayoutDataSetup()
Gets the layout data settings for a component.- Returns:
- The layout additional objects, or null for none.
createDefaultLayoutProp
LAYOUT_PROP createDefaultLayoutProp(UIComp uiComp)
Creates the default LayoutProp to use for a new component that is inserted directly into the UIComps container.- Parameters:
uiComp
- The component requesting the default layout property.- Returns:
- A new instance of the layout data of this layout manager.
getCompsCnr
UIComps getCompsCnr()
Gets the container associated with this layout manager and the UI container.- Returns:
- The UI components container.
getUIComps
UIComp[] getUIComps()
Gets all components for the container of the layout manager.- Returns:
- The components in the container for the layout manager.
getLayoutDataClass
java.lang.Class<LAYOUT_PROP> getLayoutDataClass()
Gets the layout data class.
isCNVisible
default boolean isCNVisible()
Checks if a property should be included in the view or if it's hidden or filtered out.- Returns:
- Default is false, override to display in tree.
isReplaceable
default boolean isReplaceable()
Checks if this layout manager is replaceable by another.- Returns:
- By default, the layout managers are not replaceable, so this method must be overridden.
layoutNewComponents
default org.eclipse.core.runtime.IStatus layoutNewComponents(java.util.List<UIComp> components, ComplexOperation op)
Called to perform layout of the newly added components.- Parameters:
components
- The new components.op
- The complex operation.- Returns:
- Status of the operation.