Klasse AnnotationItemProviderAdapterFactory.ModeledItemPropertyDescriptorDecorator
java.lang.Object
org.eclipse.emf.edit.provider.ItemPropertyDescriptorDecorator
org.eclipse.emf.cdo.etypes.provider.annotation.AnnotationItemProviderAdapterFactory.ModeledItemPropertyDescriptorDecorator
- Alle implementierten Schnittstellen:
IItemPropertyDescriptor,IItemPropertyDescriptor.ValueHandlerProvider,IPropertyEditorFactory.Provider
- Umschließende Klasse:
AnnotationItemProviderAdapterFactory
public static class AnnotationItemProviderAdapterFactory.ModeledItemPropertyDescriptorDecorator
extends ItemPropertyDescriptorDecorator
An item property descriptor decorator implementation used by
AnnotationItemProviderAdapterFactory.createPropertyDescriptorDecorator
to create an assistant-aware decorator.
It is reusable in overrides of AnnotationItemProviderAdapterFactory.createPropertyDescriptorDecorator.-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.edit.provider.IItemPropertyDescriptor
IItemPropertyDescriptor.OverrideableCommandOwner, IItemPropertyDescriptor.ValueHandler, IItemPropertyDescriptor.ValueHandlerProvider -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected final AnnotationThe annotation modeled by the modeled object.protected final BasicAnnotationValidator.AssistantThe assistant used forvalue conversion.protected final EditingDomainThe editing domain of the annotation.protected final EStructuralFeatureThefeatureof a property of the modeled object.protected final StringThekeyof a property of the modeled object.Von Klasse geerbte Felder org.eclipse.emf.edit.provider.ItemPropertyDescriptorDecorator
itemPropertyDescriptor, object -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungModeledItemPropertyDescriptorDecorator(IItemPropertyDescriptor propertyDescriptor, EObject eObject, String key, EStructuralFeature eStructuralFeature, Annotation annotation, ResourceLocator resourceLocator, EditingDomain domain, BasicAnnotationValidator.Assistant assistant) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleancanSetProperty(Object object) booleanisPropertySet(Object thisObject) booleanisPropertyUnsettable(Object object) voidresetPropertyValue(Object thisObject) voidsetPropertyValue(Object object, Object value) Von Klasse geerbte Methoden org.eclipse.emf.edit.provider.ItemPropertyDescriptorDecorator
getCategory, getChoiceOfValues, getDecoratedItemPropertyDescriptor, getDecoratedObject, getDescription, getDisplayName, getEditorFactory, getFeature, getFilterFlags, getHelpContextIds, getId, getLabelProvider, getPropertyValue, getValueHandler, isChoiceArbitrary, isCompatibleWith, isMany, isMultiLine, isSortChoices
-
Felddetails
-
key
Thekeyof a property of the modeled object. -
eStructuralFeature
Thefeatureof a property of the modeled object. -
annotation
The annotation modeled by the modeled object. -
domain
The editing domain of the annotation. -
assistant
The assistant used forvalue conversion.
-
-
Konstruktordetails
-
ModeledItemPropertyDescriptorDecorator
public ModeledItemPropertyDescriptorDecorator(IItemPropertyDescriptor propertyDescriptor, EObject eObject, String key, EStructuralFeature eStructuralFeature, Annotation annotation, ResourceLocator resourceLocator, EditingDomain domain, BasicAnnotationValidator.Assistant assistant)
-
-
Methodendetails
-
canSetProperty
This implementation checks whether the resource of the
annotationisread-onlyindomain.- Angegeben von:
canSetPropertyin SchnittstelleIItemPropertyDescriptor- Setzt außer Kraft:
canSetPropertyin KlasseItemPropertyDescriptorDecorator
-
isPropertySet
This implementation checks if the key has a non-null value in the
annotationdetails.- Angegeben von:
isPropertySetin SchnittstelleIItemPropertyDescriptor- Setzt außer Kraft:
isPropertySetin KlasseItemPropertyDescriptorDecorator
-
isPropertyUnsettable
This implementation checks if the key has a
nullvalue in theannotationdetails and thevalue of the propertyis non-null. Returningtruefor this allows the properties view to set the implicit value explicitly via the tool bar button.- Angegeben von:
isPropertyUnsettablein SchnittstelleIItemPropertyDescriptor.ValueHandlerProvider- Setzt außer Kraft:
isPropertyUnsettablein KlasseItemPropertyDescriptorDecorator
-
resetPropertyValue
This implementation removes the detail corresponding to the
keyfrom theannotation.- Angegeben von:
resetPropertyValuein SchnittstelleIItemPropertyDescriptor- Setzt außer Kraft:
resetPropertyValuein KlasseItemPropertyDescriptorDecorator
-
setPropertyValue
This implementation
convertsthe value to a literal and either updates the key's existing entry's value or create a new entry for the key and value.- Angegeben von:
setPropertyValuein SchnittstelleIItemPropertyDescriptor- Setzt außer Kraft:
setPropertyValuein KlasseItemPropertyDescriptorDecorator
-