Klasse AnnotationItemProvider.SourcePropertyDescriptor
- Alle implementierten Schnittstellen:
IItemPropertyDescriptor,IItemPropertyDescriptor.OverrideableCommandOwner,IItemPropertyDescriptor.ValueHandlerProvider,IPropertyEditorFactory.Provider
- Umschließende Klasse:
AnnotationItemProvider
annotation source feature.
This implementation that is AnnotationItemProviderAdapterFactory-aware,
using its assistant when available.
It specializes property value wrapper creation to provide assistant-driven nested property descriptors.
- Seit:
- 4.6
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.edit.provider.ItemPropertyDescriptor
ItemPropertyDescriptor.DataTypeValueHandler, ItemPropertyDescriptor.ItemDelegator, ItemPropertyDescriptor.PropertyValueWrapperVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.edit.provider.IItemPropertyDescriptor
IItemPropertyDescriptor.OverrideableCommandOwner, IItemPropertyDescriptor.ValueHandler, IItemPropertyDescriptor.ValueHandlerProvider -
Feldübersicht
Von Klasse geerbte Felder org.eclipse.emf.edit.provider.ItemPropertyDescriptor
adapterFactory, BOOLEAN_VALUE_IMAGE, category, commandOwner, description, displayName, ecorePackage, editorFactory, feature, filterFlags, GENERIC_VALUE_IMAGE, INTEGRAL_VALUE_IMAGE, isSettable, itemDelegator, multiLine, NO_VALUE_IMAGE, parentReferences, REAL_VALUE_IMAGE, resourceLocator, sortChoices, staticImage, TEXT_VALUE_IMAGE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected ObjectcreatePropertyValueWrapper(Object object, Object propertyValue) Creates a property value wrapper for the given object's property value.Collection<?> getChoiceOfValues(Object object) getValueHandler(Object object) booleanisChoiceArbitrary(Object object) voidsetPropertyValue(Object object, Object value) Von Klasse geerbte Methoden org.eclipse.emf.edit.provider.ItemPropertyDescriptor
canSetProperty, collectReachableObjectsOfType, collectReachableObjectsOfType, getCategory, getComboBoxObjects, getCommandOwner, getCommandOwner, getDefaultId, getDefaultValue, getDescription, getDisplayName, getEditingDomain, getEditorFactory, getFeature, getFilterFlags, getHelpContextIds, getId, getLabelProvider, getPropertyValue, getReachableObjectsOfType, getReachableObjectsOfType, getValue, isCompatibleWith, isMany, isMultiLine, isPropertySet, isPropertyUnsettable, isSortChoices, resetPropertyValue, setCommandOwner
-
Konstruktordetails
-
SourcePropertyDescriptor
public SourcePropertyDescriptor()
-
-
Methodendetails
-
createPropertyValueWrapper
Creates a property value wrapper for the given object's property value.This implementation creates a hierarchy of property descriptors if the
assistantis available, if the assistant considers the annotation, and if the assistant returnsUngültige Referenz
valid at this location. In that case, itUngültige Referenz
one or more modeled annotation classesthe modeled object of each class,Ungültige Referenz
createsoptionally includingit in the tree, and if the property descriptors are, it creates an additional tree nesting per category. Otherwise it simply creates simply delegates toUngültige Referenz
categorizedsuper.- Setzt außer Kraft:
createPropertyValueWrapperin KlasseItemPropertyDescriptor- Parameter:
object- the object.propertyValue- the property value of that object.
-
setPropertyValue
- Angegeben von:
setPropertyValuein SchnittstelleIItemPropertyDescriptor- Setzt außer Kraft:
setPropertyValuein KlasseItemPropertyDescriptor
-
getChoiceOfValues
This implementation collects all the existing
annotation sourcesin the containing model, adds to that the annotation source of anyregisteredannotation validator that returnstrueforAnnotationValidator.isValidLocation(Annotation), removing the annotation source for any annotation validator that returnsfalse.- Angegeben von:
getChoiceOfValuesin SchnittstelleIItemPropertyDescriptor- Setzt außer Kraft:
getChoiceOfValuesin KlasseItemPropertyDescriptor
-
isChoiceArbitrary
This implementation is specialized to always return
true.- Angegeben von:
isChoiceArbitraryin SchnittstelleIItemPropertyDescriptor.ValueHandlerProvider- Setzt außer Kraft:
isChoiceArbitraryin KlasseItemPropertyDescriptor
-
getValueHandler
This is specialized to do additional validation checking to ensure that the source URI is
well-formed.- Angegeben von:
getValueHandlerin SchnittstelleIItemPropertyDescriptor.ValueHandlerProvider- Setzt außer Kraft:
getValueHandlerin KlasseItemPropertyDescriptor
-