Package com.iizigo.ws.prop
Interface IWrappedElement
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable,- IGProp<GProp<?>[]>,- IPropCnr,- IPropDesigner,- IWSPropDesigner
 - All Known Implementing Classes:
- EditorJSONElementWrapper
 - public interface IWrappedElement extends IWSPropDesigner Interface for a wrapped element.- 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
 
 - Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - boolean- canCombineSelection(GProp<?>[] props)Checks if the element can be combined in a selection with other properties.- boolean- canMapToVSField()Verifies if the element is potentially not a repeated value that can be placed in a VS Field.- boolean- canMapToVSTableColumn()Verifies if the element is potentially a repeated value that can be placed in a VS Table Column.- org.eclipse.swt.widgets.Composite- createComposite(WebServiceEditor editor, org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Composite existingComposite, GProp<?>[] props)Creates the composite to show.- Value.Type- getValueType()Gets the Value type that applies for this element.- java.lang.String- getWrappedElementValue()Gets the wrapped element value.- java.lang.String- getWrappedReference(boolean attempIndex)Gets the reference of this wrapped element.- boolean- isRepeated()Checks if an element that can be mapped to a column is perhaps repeated.- 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.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.ws.prop.IWSPropDesigner- createCNToolTip, createCNToolTip, getCNDescriptionType, getCNImage, getCNImage, getCNText, getCNText
 
 
- Method Detail- canCombineSelection- boolean canCombineSelection(GProp<?>[] props) Checks if the element can be combined in a selection with other properties.- Parameters:
- props- The selected properties (at least one [itself - this]).
- Returns:
- The flag.
 
 - createComposite- org.eclipse.swt.widgets.Composite createComposite(WebServiceEditor editor, org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Composite existingComposite, GProp<?>[] props) Creates the composite to show. The property editor must be disposed of if required.- Parameters:
- editor- The editor.
- parent- Parent composite.
- existingComposite- The existing composite for wrapped elements, null for none.
- props- The selected properties (at least one).
- Returns:
- The composite for to show.
 
 - getWrappedReference- java.lang.String getWrappedReference(boolean attempIndex) Gets the reference of this wrapped element.- Parameters:
- attempIndex- Flag indicating index is required if possible.
- Returns:
- A reference such as "xml:/path" where an element that could be a row element is assigned the row index.
 
 - getWrappedElementValue- java.lang.String getWrappedElementValue() Gets the wrapped element value.- Returns:
- The wrapped element value, or null for none.
 
 - canMapToVSField- boolean canMapToVSField() Verifies if the element is potentially not a repeated value that can be placed in a VS Field. For e.g. XML, there is often no way of knowing this unless there is an XML Schema (XSD) present. For JSON, it is obvious if it's not an Array.- Returns:
- The flag.
 
 - canMapToVSTableColumn- boolean canMapToVSTableColumn() Verifies if the element is potentially a repeated value that can be placed in a VS Table Column. For e.g. XML, there is often no way of knowing this unless there is an XML Schema (XSD) present. For JSON, it is obvious if it's an Array.- Returns:
- The flag.
 
 - isRepeated- boolean isRepeated() Checks if an element that can be mapped to a column is perhaps repeated. Such elements will prefer creation of VS Table Columns instead of VS Fields as default operation.- Returns:
- The flag.
 
 - getValueType- Value.Type getValueType() Gets the Value type that applies for this element.- Returns:
- The value type to use, or null if it can't be connected at all.