org.eclipse.emf.mapping.provider
Class FunctionNamePairItemProvider

java.lang.Object
  |
  +--org.eclipse.emf.common.notify.impl.AdapterImpl
        |
        +--org.eclipse.emf.edit.provider.ItemProviderAdapter
              |
              +--org.eclipse.emf.mapping.provider.MappingItemProviderAdapter
                    |
                    +--org.eclipse.emf.mapping.provider.MappingHelperItemProvider
                          |
                          +--org.eclipse.emf.mapping.provider.TypeConverterItemProvider
                                |
                                +--org.eclipse.emf.mapping.provider.FunctionNamePairItemProvider
All Implemented Interfaces:
Adapter, CreateChildCommand.Helper, IChangeNotifier, IDisposable, IEditingDomainItemProvider, IItemLabelProvider, IItemPropertySource, IStructuredItemContentProvider, ITreeItemContentProvider, ResourceLocator

public class FunctionNamePairItemProvider
extends TypeConverterItemProvider
implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource

This is the item provider adpater for a FunctionNamePair object.


Field Summary
protected static java.lang.String DIVIDER
           
 
Fields inherited from class org.eclipse.emf.edit.provider.ItemProviderAdapter
adapterFactory, changeNotifier, childrenReferences, itemPropertyDescriptors, targets
 
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
 
Constructor Summary
FunctionNamePairItemProvider(AdapterFactory adapterFactory)
          This constructs an instance from a factory and a notifier.
 
Method Summary
 java.util.List getPropertyDescriptors(java.lang.Object object)
          This returns the property descriptors for the adapted class.
 java.lang.String getText(java.lang.Object object)
          This does the same thing as ILabelProvider.getlText, it fetches the label text specific to this object instance.
 void notifyChanged(Notification msg)
          This handles notification by delegating to fireNotifyChanged.
 
Methods inherited from class org.eclipse.emf.mapping.provider.MappingHelperItemProvider
getChildren, getImage, getParent, hasChildren
 
Methods inherited from class org.eclipse.emf.edit.provider.ItemProviderAdapter
addListener, collectNewChildDescriptors, createAddCommand, createChildParameter, createCommand, createCopyCommand, createCreateChildCommand, createCreateCopyCommand, createDragAndDropCommand, createInitializeCopyCommand, createMoveCommand, createRemoveCommand, createReplaceCommand, createSetCommand, dispose, factorAddCommand, factorMoveCommand, factorRemoveCommand, fireNotifyChanged, getAdapterFactory, getBaseURL, getChildReference, getChildrenReferences, getCreateChildDescription, getCreateChildImage, getCreateChildResult, getCreateChildText, getCreateChildToolTipText, getEditableValue, getElements, getFeatureText, getImage, getNewChildDescriptors, getPropertyDescriptor, getPropertyValue, getReferenceValue, getResourceLocator, getResourceLocator, getSetFeature, getSetFeatures, getString, getString, getString, getString, getTypeText, getUpdateableText, isAdapterForType, isPropertySet, removeListener, resetPropertyValue, setPropertyValue, setTarget
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.edit.provider.IEditingDomainItemProvider
createCommand, getChildren, getNewChildDescriptors, getParent
 
Methods inherited from interface org.eclipse.emf.edit.provider.IStructuredItemContentProvider
getElements
 
Methods inherited from interface org.eclipse.emf.edit.provider.ITreeItemContentProvider
getChildren, getParent, hasChildren
 
Methods inherited from interface org.eclipse.emf.edit.provider.IItemLabelProvider
getImage
 
Methods inherited from interface org.eclipse.emf.edit.provider.IItemPropertySource
getEditableValue, getPropertyDescriptor
 

Field Detail

DIVIDER

protected static final java.lang.String DIVIDER
Constructor Detail

FunctionNamePairItemProvider

public FunctionNamePairItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier.
Method Detail

getPropertyDescriptors

public java.util.List getPropertyDescriptors(java.lang.Object object)
This returns the property descriptors for the adapted class.
Specified by:
getPropertyDescriptors in interface IItemPropertySource
Overrides:
getPropertyDescriptors in class TypeConverterItemProvider

getText

public java.lang.String getText(java.lang.Object object)
Description copied from interface: IItemLabelProvider
This does the same thing as ILabelProvider.getlText, it fetches the label text specific to this object instance.
Specified by:
getText in interface IItemLabelProvider
Overrides:
getText in class MappingHelperItemProvider

notifyChanged

public void notifyChanged(Notification msg)
This handles notification by delegating to fireNotifyChanged.
Overrides:
notifyChanged in class TypeConverterItemProvider
Following copied from interface: org.eclipse.emf.common.notify.Adapter
Parameters:
notification - a description of the change.

Copyright 2001-2003 IBM Corporation and others.
All Rights Reserved.