Public Member Functions | Protected Attributes

de.fraunhofer.isst.eastadl.autosar.provider.AutosarItemProviderAdapterFactory Class Reference

List of all members.

Public Member Functions

Adapter adapt (Notifier notifier, Object type)
Object adapt (Object object, Object type)
void addListener (INotifyChangedListener notifyChangedListener)
 AutosarItemProviderAdapterFactory ()
Adapter createIdentifiableInstanceRefAdapter ()
void dispose ()
void fireNotifyChanged (Notification notification)
ComposeableAdapterFactory getRootAdapterFactory ()
boolean isFactoryForType (Object type)
void removeListener (INotifyChangedListener notifyChangedListener)
void setParentAdapterFactory (ComposedAdapterFactory parentAdapterFactory)

Protected Attributes

IChangeNotifier changeNotifier = new ChangeNotifier()
IdentifiableInstanceRefItemProvider identifiableInstanceRefItemProvider
ComposedAdapterFactory parentAdapterFactory
Collection< Object > supportedTypes = new ArrayList<Object>()

Detailed Description

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 to fireNotifyChanged. The adapters also support Eclipse property sheets. Note that most of the adapters are shared among multiple instances.


Constructor & Destructor Documentation

de.fraunhofer.isst.eastadl.autosar.provider.AutosarItemProviderAdapterFactory.AutosarItemProviderAdapterFactory (  ) 

This constructs an instance.


Member Function Documentation

Adapter de.fraunhofer.isst.eastadl.autosar.provider.AutosarItemProviderAdapterFactory.adapt ( Notifier  notifier,
Object  type 
)

This implementation substitutes the factory itself as the key for the adapter.

Object de.fraunhofer.isst.eastadl.autosar.provider.AutosarItemProviderAdapterFactory.adapt ( Object  object,
Object  type 
)
void de.fraunhofer.isst.eastadl.autosar.provider.AutosarItemProviderAdapterFactory.addListener ( INotifyChangedListener  notifyChangedListener  ) 

This adds a listener.

Adapter de.fraunhofer.isst.eastadl.autosar.provider.AutosarItemProviderAdapterFactory.createIdentifiableInstanceRefAdapter (  ) 
void de.fraunhofer.isst.eastadl.autosar.provider.AutosarItemProviderAdapterFactory.dispose (  ) 

This disposes all of the item providers created by this factory.

void de.fraunhofer.isst.eastadl.autosar.provider.AutosarItemProviderAdapterFactory.fireNotifyChanged ( Notification  notification  ) 

This delegates to changeNotifier and to parentAdapterFactory.

ComposeableAdapterFactory de.fraunhofer.isst.eastadl.autosar.provider.AutosarItemProviderAdapterFactory.getRootAdapterFactory (  ) 

This returns the root adapter factory that contains this factory.

boolean de.fraunhofer.isst.eastadl.autosar.provider.AutosarItemProviderAdapterFactory.isFactoryForType ( Object  type  ) 
void de.fraunhofer.isst.eastadl.autosar.provider.AutosarItemProviderAdapterFactory.removeListener ( INotifyChangedListener  notifyChangedListener  ) 

This removes a listener.

void de.fraunhofer.isst.eastadl.autosar.provider.AutosarItemProviderAdapterFactory.setParentAdapterFactory ( ComposedAdapterFactory  parentAdapterFactory  ) 

This sets the composed adapter factory that contains this factory.


Member Data Documentation

This keeps track of the one adapter used for all de.fraunhofer.isst.eastadl.autosar.IdentifiableInstanceRef instances.

This keeps track of the root adapter factory that delegates to this adapter factory.

This keeps track of all the supported types checked by isFactoryForType.