Package com.iizigo.panel.prop
Interface IELayoutMgrSimpleDND<LAYOUT_PROP extends LayoutProp>
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable,IELayoutMgr<LAYOUT_PROP>,IELayoutMgrDND<LAYOUT_PROP>,IEUICompBase,IGProp<GProp<?>[]>,ILinkCapable,IPropCnr,IPropDesigner,IReplaceLayoutData,ITransferContainerProps,IUIBuilderFromVSLinkEnabler
- All Known Implementing Classes:
EAccordionLayout,ECalendarLayout,EHeadingLayout,EListLayout,EMapLayout,EMLGroupLayout,EMListLayout,ESwapLayout,ETabBarLayout,ETabLayout,EUITableLayout
public interface IELayoutMgrSimpleDND<LAYOUT_PROP extends LayoutProp> extends IELayoutMgrDND<LAYOUT_PROP>, IReplaceLayoutData
Simple DND layout manager that handles ordering of components in a straight array.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from interface com.iizigo.panel.prop.IELayoutMgrDND
DESCRFields 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_PRIVATEFields inherited from interface com.iizigo.link.ILinkCapable
STATUS_LINK_NOT_SUPPORTEDMethod Summary
Modifier and TypeMethodDescriptiondefault voidconvertLayout(ComplexOperation op, UIContainer cnr, LayoutMgr<?> oldLayout) Called to convert one layout to another when the layout has been dropped into a container.default UIComp[]Performs a drop from JavaScript in this layout manager with the specified properties and the layout manager specific transaction data.default voidonDropCompleted(DropInfo di, UIComp[] newComps, ComplexOperation op) Called prior to executing the operation after a drop, to perform some additional processing.default UIComp[]onDropStandard(DropInfo di, int targetColumn) The standard routine to perform a drop from JavaScript in this layout manager with the specified properties and the layout manager specific transaction data.Methods inherited from interface com.iizigo.panel.prop.IELayoutMgr
createDefaultLayoutProp, getCompsCnr, getLayoutDataClass, getPropertyEditorLayoutDataSetup, getUIComps, isCNVisible, isReplaceable, layoutNewComponentsMethods inherited from interface com.iizigo.panel.prop.IEUICompBase
getCNDescriptionType, getCNImage, getPossibleContainerParents, isValidContainerMethods 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, verify, warning, warning, warningMethods inherited from interface com.iizigo.link.ILinkCapable
getDragDropHTMLMethods 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, validateClassInstancesMethods inherited from interface com.iizigo.prop.IPropDesigner
findIResource, getAdapter, getDesignerMethods inherited from interface com.iizigo.panel.prop.IReplaceLayoutData
checkReplaceLayoutDataMethods inherited from interface com.iizigo.prop.ITransferContainerProps
canPasteFrom, canPasteTo, getCNDescriptionType, getTransferProps, transferContainerPropsMethods inherited from interface com.iizigo.link.ui.IUIBuilderFromVSLinkEnabler
addUIBuilderFromVSLinkOperations, getDragDropText, getLinkOperations, getUIPanel, isLinkCapable, isUIBuilderFromVSLinkCapable
Method Details
convertLayout
Called to convert one layout to another when the layout has been dropped into a container. The conversion must apply to all components in the container, e.g. that all components gets the GridData instead of AbsoluteData.- Specified by:
convertLayoutin interfaceIELayoutMgrDND<LAYOUT_PROP extends LayoutProp>- Parameters:
op- The complex operation instance.cnr- The container.oldLayout- Old layout, already removed from the container and disposed of, null if none previously existed.
onDrop
Performs a drop from JavaScript in this layout manager with the specified properties and the layout manager specific transaction data.The default is just to call
.onDropStandard(DropInfo, int)- Specified by:
onDropin interfaceIELayoutMgrDND<LAYOUT_PROP extends LayoutProp>- Parameters:
di- The drop information instance.- Returns:
- The created components that will be selected, or null for aborted operation or failure.
onDropStandard
The standard routine to perform a drop from JavaScript in this layout manager with the specified properties and the layout manager specific transaction data.- Parameters:
di- The drop information instance.
onDropCompleted
Called prior to executing the operation after a drop, to perform some additional processing.