Class EtypesItemProviderAdapterFactory
- java.lang.Object
- 
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
- 
- org.eclipse.emf.cdo.etypes.util.EtypesAdapterFactory
- 
- org.eclipse.emf.cdo.etypes.provider.EtypesItemProviderAdapterFactory
 
 
 
- 
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.AdapterFactory,- org.eclipse.emf.edit.provider.ComposeableAdapterFactory,- org.eclipse.emf.edit.provider.IChangeNotifier,- org.eclipse.emf.edit.provider.IChildCreationExtender,- org.eclipse.emf.edit.provider.IDisposable
 
 public class EtypesItemProviderAdapterFactory extends EtypesAdapterFactory implements org.eclipse.emf.edit.provider.ComposeableAdapterFactory, org.eclipse.emf.edit.provider.IChangeNotifier, org.eclipse.emf.edit.provider.IDisposable, org.eclipse.emf.edit.provider.IChildCreationExtender This is the factory that is used to provide the interfaces needed to support Viewers. The adapters generated by this factory convert EMF adapter notifications into calls tofireNotifyChanged. The adapters also support Eclipse property sheets. Note that most of the adapters are shared among multiple instances.- Since:
- 4.0
- Generated
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected AnnotationItemProviderannotationItemProviderThis keeps track of the one adapter used for allAnnotationinstances.protected org.eclipse.emf.edit.provider.IChangeNotifierchangeNotifierThis is used to implementIChangeNotifier.protected org.eclipse.emf.edit.provider.ChildCreationExtenderManagerchildCreationExtenderManagerThis helps manage the child creation extenders.protected org.eclipse.emf.edit.provider.ComposedAdapterFactoryparentAdapterFactoryThis keeps track of the root adapter factory that delegates to this adapter factory.protected java.util.Collection<java.lang.Object>supportedTypesThis keeps track of all the supported types checked byisFactoryForType.- 
Fields inherited from class org.eclipse.emf.cdo.etypes.util.EtypesAdapterFactorymodelPackage, modelSwitch
 
- 
 - 
Constructor SummaryConstructors Constructor Description EtypesItemProviderAdapterFactory()This constructs an instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectadapt(java.lang.Object object, java.lang.Object type)org.eclipse.emf.common.notify.Adapteradapt(org.eclipse.emf.common.notify.Notifier notifier, java.lang.Object type)This implementation substitutes the factory itself as the key for the adapter.voidaddListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)This adds a listener.org.eclipse.emf.common.notify.AdaptercreateAnnotationAdapter()This creates an adapter for aAnnotation.voiddispose()This disposes all of the item providers created by this factory.voidfireNotifyChanged(org.eclipse.emf.common.notify.Notification notification)This delegates tochangeNotifierand toparentAdapterFactory.java.util.List<org.eclipse.emf.edit.provider.IChildCreationExtender>getChildCreationExtenders()java.util.Collection<?>getNewChildDescriptors(java.lang.Object object, org.eclipse.emf.edit.domain.EditingDomain editingDomain)org.eclipse.emf.common.util.ResourceLocatorgetResourceLocator()org.eclipse.emf.edit.provider.ComposeableAdapterFactorygetRootAdapterFactory()This returns the root adapter factory that contains this factory.booleanisFactoryForType(java.lang.Object type)voidremoveListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)This removes a listener.voidsetParentAdapterFactory(org.eclipse.emf.edit.provider.ComposedAdapterFactory parentAdapterFactory)This sets the composed adapter factory that contains this factory.- 
Methods inherited from class org.eclipse.emf.cdo.etypes.util.EtypesAdapterFactorycreateAdapter, createEObjectAdapter, createModelElementAdapter
 - 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpladaptAllNew, adaptNew, associate, createAdapter, resolve
 
- 
 
- 
- 
- 
Field Detail- 
parentAdapterFactoryprotected org.eclipse.emf.edit.provider.ComposedAdapterFactory parentAdapterFactory This keeps track of the root adapter factory that delegates to this adapter factory.- Generated
 
 - 
changeNotifierprotected org.eclipse.emf.edit.provider.IChangeNotifier changeNotifier This is used to implementIChangeNotifier.- Generated
 
 - 
childCreationExtenderManagerprotected org.eclipse.emf.edit.provider.ChildCreationExtenderManager childCreationExtenderManager This helps manage the child creation extenders.- Generated
 
 - 
supportedTypesprotected java.util.Collection<java.lang.Object> supportedTypes This keeps track of all the supported types checked byisFactoryForType.- Generated
 
 - 
annotationItemProviderprotected AnnotationItemProvider annotationItemProvider This keeps track of the one adapter used for allAnnotationinstances.- Generated
 
 
- 
 - 
Method Detail- 
createAnnotationAdapterpublic org.eclipse.emf.common.notify.Adapter createAnnotationAdapter() This creates an adapter for aAnnotation.- Overrides:
- createAnnotationAdapterin class- EtypesAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Annotation
- Generated
 
 - 
getRootAdapterFactorypublic org.eclipse.emf.edit.provider.ComposeableAdapterFactory getRootAdapterFactory() This returns the root adapter factory that contains this factory.- Specified by:
- getRootAdapterFactoryin interface- org.eclipse.emf.edit.provider.ComposeableAdapterFactory
- Generated
 
 - 
setParentAdapterFactorypublic void setParentAdapterFactory(org.eclipse.emf.edit.provider.ComposedAdapterFactory parentAdapterFactory) This sets the composed adapter factory that contains this factory.- Specified by:
- setParentAdapterFactoryin interface- org.eclipse.emf.edit.provider.ComposeableAdapterFactory
- Generated
 
 - 
isFactoryForTypepublic boolean isFactoryForType(java.lang.Object type) - Specified by:
- isFactoryForTypein interface- org.eclipse.emf.common.notify.AdapterFactory
- Overrides:
- isFactoryForTypein class- EtypesAdapterFactory
- Returns:
- whether this factory is applicable for the type of the object.
- Generated
 
 - 
adaptpublic org.eclipse.emf.common.notify.Adapter adapt(org.eclipse.emf.common.notify.Notifier notifier, java.lang.Object type)This implementation substitutes the factory itself as the key for the adapter.- Specified by:
- adaptin interface- org.eclipse.emf.common.notify.AdapterFactory
- Overrides:
- adaptin class- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
- Generated
 
 - 
adaptpublic java.lang.Object adapt(java.lang.Object object, java.lang.Object type)- Specified by:
- adaptin interface- org.eclipse.emf.common.notify.AdapterFactory
- Overrides:
- adaptin class- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
- Generated
 
 - 
getChildCreationExtenderspublic java.util.List<org.eclipse.emf.edit.provider.IChildCreationExtender> getChildCreationExtenders() - Generated
 
 - 
getNewChildDescriptorspublic java.util.Collection<?> getNewChildDescriptors(java.lang.Object object, org.eclipse.emf.edit.domain.EditingDomain editingDomain)- Specified by:
- getNewChildDescriptorsin interface- org.eclipse.emf.edit.provider.IChildCreationExtender
- Generated
 
 - 
getResourceLocatorpublic org.eclipse.emf.common.util.ResourceLocator getResourceLocator() - Specified by:
- getResourceLocatorin interface- org.eclipse.emf.edit.provider.IChildCreationExtender
- Generated
 
 - 
addListenerpublic void addListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener) This adds a listener.- Specified by:
- addListenerin interface- org.eclipse.emf.edit.provider.IChangeNotifier
- Generated
 
 - 
removeListenerpublic void removeListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener) This removes a listener.- Specified by:
- removeListenerin interface- org.eclipse.emf.edit.provider.IChangeNotifier
- Generated
 
 - 
fireNotifyChangedpublic void fireNotifyChanged(org.eclipse.emf.common.notify.Notification notification) This delegates tochangeNotifierand toparentAdapterFactory.- Specified by:
- fireNotifyChangedin interface- org.eclipse.emf.edit.provider.IChangeNotifier
- Generated
 
 - 
disposepublic void dispose() This disposes all of the item providers created by this factory.- Specified by:
- disposein interface- org.eclipse.emf.edit.provider.IDisposable
- Generated
 
 
- 
 
-