public class FeatureMapEntryItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource
FeatureMapEntry
object.
ItemProviderAdapter.ChildrenStore, ItemProviderAdapter.ModifiableSingletonEList<E>, ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommand, ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommandActionDelegate
Adapter.Internal
adapterFactory, changeNotifier, childrenFeatures, childrenReferences, childrenStoreMap, itemPropertyDescriptors, targets, wrappers, wrappingNeeded
target
Constructor and Description |
---|
FeatureMapEntryItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier
|
Modifier and Type | Method and Description |
---|---|
protected void |
addDataValuePropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Data Value feature
|
protected void |
addFeatureNamePropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Feature Name feature
|
protected void |
addFeaturePropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Feature feature
|
protected void |
addReferenceValuePropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Reference Value feature
|
protected void |
addValuePropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Value feature
|
java.lang.Object |
getImage(java.lang.Object object)
This returns FeatureMapEntry.gif
|
java.util.List<IItemPropertyDescriptor> |
getPropertyDescriptors(java.lang.Object object)
This returns the property descriptors for the adapted class
|
ResourceLocator |
getResourceLocator()
Return the resource locator for this item provider's resources
|
java.lang.String |
getText(java.lang.Object object)
This returns the label text for the adapted class
|
void |
notifyChanged(Notification notification)
This handles model notifications by calling
ItemProviderAdapter.updateChildren(org.eclipse.emf.common.notify.Notification) to update any cached
children and by creating a viewer notification, which it passes to ItemProviderAdapter.fireNotifyChanged(org.eclipse.emf.common.notify.Notification) |
addListener, adjustWrapperIndex, adjustWrapperIndices, adjustWrapperIndices, collectNewChildDescriptors, createAddCommand, createAddCommand, createChildParameter, createChildrenStore, createCommand, createCopyCommand, createCreateChildCommand, createCreateChildCommand, createCreateCopyCommand, createDragAndDropCommand, createDragAndDropCommand, createInitializeCopyCommand, createItemPropertyDescriptor, createItemPropertyDescriptor, createMoveCommand, createMoveCommand, createRemoveCommand, createRemoveCommand, createReplaceCommand, createReplaceCommand, createSetCommand, createSetCommand, createWrapper, crop, dispose, disposeWrapper, disposeWrappers, factorAddCommand, factorMoveCommand, factorRemoveCommand, fireNotifyChanged, getAdapterFactory, getBackground, getBackground, getBaseURL, getChildFeature, getChildReference, getChildren, getChildrenFeatures, getChildrenReferences, getChildrenStore, getColumnImage, getColumnText, getCreateChildDescription, getCreateChildImage, getCreateChildResult, getCreateChildText, getCreateChildToolTipText, getEditableValue, getElements, getFeatureText, getFeatureValue, getFont, getFont, getForeground, getForeground, getImage, getNewChildDescriptors, getParent, getPropertyDescriptor, getPropertyValue, getReferenceValue, getResourceLocator, getRootAdapterFactory, getSetFeature, getSetFeatures, getString, getString, getString, getString, getString, getString, getString, getString, getTypeText, getTypeText, getUpdateableText, getValue, getWrappedValues, hasChildren, hasChildren, isAdapterForType, isEquivalentValue, isPropertySet, isResolveProxies, isValidValue, isWrappingNeeded, overlayImage, removeListener, resetPropertyValue, setPropertyValue, setTarget, shouldComposeCreationImage, shouldTranslate, unsetTarget, unwrap, unwrapCommandValues, updateChildren, wrap, wrapCommand
getTarget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createCommand, getChildren, getNewChildDescriptors, getParent
getChildren, getParent, hasChildren
getElements
getEditableValue, getPropertyDescriptor
public FeatureMapEntryItemProvider(AdapterFactory adapterFactory)
public java.util.List<IItemPropertyDescriptor> getPropertyDescriptors(java.lang.Object object)
getPropertyDescriptors
in interface IItemPropertySource
getPropertyDescriptors
in class ItemProviderAdapter
protected void addFeatureNamePropertyDescriptor(java.lang.Object object)
protected void addDataValuePropertyDescriptor(java.lang.Object object)
protected void addValuePropertyDescriptor(java.lang.Object object)
protected void addFeaturePropertyDescriptor(java.lang.Object object)
protected void addReferenceValuePropertyDescriptor(java.lang.Object object)
public java.lang.Object getImage(java.lang.Object object)
getImage
in interface IItemLabelProvider
getImage
in class ItemProviderAdapter
public java.lang.String getText(java.lang.Object object)
getText
in interface IItemLabelProvider
getText
in class ItemProviderAdapter
public void notifyChanged(Notification notification)
ItemProviderAdapter.updateChildren(org.eclipse.emf.common.notify.Notification)
to update any cached
children and by creating a viewer notification, which it passes to ItemProviderAdapter.fireNotifyChanged(org.eclipse.emf.common.notify.Notification)
.
notifyChanged
in interface Adapter
notifyChanged
in class AdapterImpl
notification
- a description of the change.public ResourceLocator getResourceLocator()
getResourceLocator
in class ItemProviderAdapter