org.eclipse.ohf.stem.diseasemodels.standard.provider
Class StandardItemProviderAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.eclipse.ohf.stem.diseasemodels.standard.util.StandardAdapterFactory
          extended by org.eclipse.ohf.stem.diseasemodels.standard.provider.StandardItemProviderAdapterFactory
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.IDisposable

public class StandardItemProviderAdapterFactory
extends StandardAdapterFactory
implements org.eclipse.emf.edit.provider.ComposeableAdapterFactory, org.eclipse.emf.edit.provider.IChangeNotifier, org.eclipse.emf.edit.provider.IDisposable

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 Summary
StandardItemProviderAdapterFactory()
          This constructs an instance.
 
Method Summary
 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.
 java.lang.Object adapt(java.lang.Object object, java.lang.Object type)
           
 void addListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)
          This adds a listener.
 org.eclipse.emf.common.notify.Adapter createAggregatingDiseaseModelStateAdapter()
          This creates an adapter for a AggregatingDiseaseModelState.
 org.eclipse.emf.common.notify.Adapter createAggregatingSEIRDiseaseModelAdapter()
          This creates an adapter for a AggregatingSEIRDiseaseModel.
 org.eclipse.emf.common.notify.Adapter createAggregatingSIDiseaseModelAdapter()
          This creates an adapter for a AggregatingSIDiseaseModel.
 org.eclipse.emf.common.notify.Adapter createAggregatingSIRDiseaseModelAdapter()
          This creates an adapter for a AggregatingSIRDiseaseModel.
 org.eclipse.emf.common.notify.Adapter createDeterministicSEIRDiseaseModelAdapter()
          This creates an adapter for a DeterministicSEIRDiseaseModel.
 org.eclipse.emf.common.notify.Adapter createDeterministicSIDiseaseModelAdapter()
          This creates an adapter for a DeterministicSIDiseaseModel.
 org.eclipse.emf.common.notify.Adapter createDeterministicSIRDiseaseModelAdapter()
          This creates an adapter for a DeterministicSIRDiseaseModel.
 org.eclipse.emf.common.notify.Adapter createSEIRLabelAdapter()
          This creates an adapter for a SEIRLabel.
 org.eclipse.emf.common.notify.Adapter createSEIRLabelValueAdapter()
          This creates an adapter for a SEIRLabelValue.
 org.eclipse.emf.common.notify.Adapter createSIDiseaseModelStateAdapter()
          This creates an adapter for a SIDiseaseModelState.
 org.eclipse.emf.common.notify.Adapter createSIInfectorAdapter()
          This creates an adapter for a SIInfector.
 org.eclipse.emf.common.notify.Adapter createSILabelAdapter()
          This creates an adapter for a SILabel.
 org.eclipse.emf.common.notify.Adapter createSILabelValueAdapter()
          This creates an adapter for a SILabelValue.
 org.eclipse.emf.common.notify.Adapter createSIRLabelAdapter()
          This creates an adapter for a SIRLabel.
 org.eclipse.emf.common.notify.Adapter createSIRLabelValueAdapter()
          This creates an adapter for a SIRLabelValue.
 org.eclipse.emf.common.notify.Adapter createStochasticSEIRDiseaseModelAdapter()
          This creates an adapter for a StochasticSEIRDiseaseModel.
 org.eclipse.emf.common.notify.Adapter createStochasticSIDiseaseModelAdapter()
          This creates an adapter for a StochasticSIDiseaseModel.
 org.eclipse.emf.common.notify.Adapter createStochasticSIRDiseaseModelAdapter()
          This creates an adapter for a StochasticSIRDiseaseModel.
 void dispose()
          This disposes all of the item providers created by this factory.
 void fireNotifyChanged(org.eclipse.emf.common.notify.Notification notification)
          This delegates to changeNotifier and to parentAdapterFactory.
 org.eclipse.emf.edit.provider.ComposeableAdapterFactory getRootAdapterFactory()
          This returns the root adapter factory that contains this factory.
 boolean isFactoryForType(java.lang.Object type)
           
 void removeListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)
          This removes a listener.
 void setParentAdapterFactory(org.eclipse.emf.edit.provider.ComposedAdapterFactory parentAdapterFactory)
          This sets the composed adapter factory that contains this factory.
 
Methods inherited from class org.eclipse.ohf.stem.diseasemodels.standard.util.StandardAdapterFactory
createAdapter, createDecoratorAdapter, createDiseaseModelAdapter, createDiseaseModelLabelAdapter, createDiseaseModelLabelValueAdapter, createDiseaseModelStateAdapter, createDynamicLabelAdapter, createDynamicNodeLabelAdapter, createEObjectAdapter, createIdentifiableAdapter, createInfectorAdapter, createLabelAdapter, createLabelValueAdapter, createNodeDecoratorAdapter, createNodeLabelAdapter, createSanityChecker_1Adapter, createSanityCheckerAdapter, createSEIRAdapter, createSIAdapter, createSIRAdapter, createStandardDiseaseModelAdapter, createStandardDiseaseModelLabelAdapter, createStandardDiseaseModelLabelValueAdapter, createStandardDiseaseModelStateAdapter, createStandardInfectorAdapter, createStandardStochasticDiseaseModelAdapter, createStochasticDiseaseModelAdapter
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adaptAllNew, adaptNew
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.common.notify.AdapterFactory
adaptAllNew, adaptNew
 

Constructor Detail

StandardItemProviderAdapterFactory

public StandardItemProviderAdapterFactory()
This constructs an instance.

Method Detail

createSEIRLabelAdapter

public org.eclipse.emf.common.notify.Adapter createSEIRLabelAdapter()
This creates an adapter for a SEIRLabel.

Overrides:
createSEIRLabelAdapter in class StandardAdapterFactory
Returns:
See Also:
SEIRLabel

createSEIRLabelValueAdapter

public org.eclipse.emf.common.notify.Adapter createSEIRLabelValueAdapter()
This creates an adapter for a SEIRLabelValue.

Overrides:
createSEIRLabelValueAdapter in class StandardAdapterFactory
Returns:
See Also:
SEIRLabelValue

createSIRLabelAdapter

public org.eclipse.emf.common.notify.Adapter createSIRLabelAdapter()
This creates an adapter for a SIRLabel.

Overrides:
createSIRLabelAdapter in class StandardAdapterFactory
Returns:
See Also:
SIRLabel

createSIRLabelValueAdapter

public org.eclipse.emf.common.notify.Adapter createSIRLabelValueAdapter()
This creates an adapter for a SIRLabelValue.

Overrides:
createSIRLabelValueAdapter in class StandardAdapterFactory
Returns:
See Also:
SIRLabelValue

createStochasticSEIRDiseaseModelAdapter

public org.eclipse.emf.common.notify.Adapter createStochasticSEIRDiseaseModelAdapter()
This creates an adapter for a StochasticSEIRDiseaseModel.

Overrides:
createStochasticSEIRDiseaseModelAdapter in class StandardAdapterFactory
Returns:
See Also:
StochasticSEIRDiseaseModel

createDeterministicSEIRDiseaseModelAdapter

public org.eclipse.emf.common.notify.Adapter createDeterministicSEIRDiseaseModelAdapter()
This creates an adapter for a DeterministicSEIRDiseaseModel.

Overrides:
createDeterministicSEIRDiseaseModelAdapter in class StandardAdapterFactory
Returns:
See Also:
DeterministicSEIRDiseaseModel

createSILabelAdapter

public org.eclipse.emf.common.notify.Adapter createSILabelAdapter()
This creates an adapter for a SILabel.

Overrides:
createSILabelAdapter in class StandardAdapterFactory
Returns:
See Also:
SILabel

createSILabelValueAdapter

public org.eclipse.emf.common.notify.Adapter createSILabelValueAdapter()
This creates an adapter for a SILabelValue.

Overrides:
createSILabelValueAdapter in class StandardAdapterFactory
Returns:
See Also:
SILabelValue

createSIInfectorAdapter

public org.eclipse.emf.common.notify.Adapter createSIInfectorAdapter()
This creates an adapter for a SIInfector.

Overrides:
createSIInfectorAdapter in class StandardAdapterFactory
Returns:
See Also:
SIInfector

createDeterministicSIRDiseaseModelAdapter

public org.eclipse.emf.common.notify.Adapter createDeterministicSIRDiseaseModelAdapter()
This creates an adapter for a DeterministicSIRDiseaseModel.

Overrides:
createDeterministicSIRDiseaseModelAdapter in class StandardAdapterFactory
Returns:
See Also:
DeterministicSIRDiseaseModel

createDeterministicSIDiseaseModelAdapter

public org.eclipse.emf.common.notify.Adapter createDeterministicSIDiseaseModelAdapter()
This creates an adapter for a DeterministicSIDiseaseModel.

Overrides:
createDeterministicSIDiseaseModelAdapter in class StandardAdapterFactory
Returns:
See Also:
DeterministicSIDiseaseModel

createStochasticSIRDiseaseModelAdapter

public org.eclipse.emf.common.notify.Adapter createStochasticSIRDiseaseModelAdapter()
This creates an adapter for a StochasticSIRDiseaseModel.

Overrides:
createStochasticSIRDiseaseModelAdapter in class StandardAdapterFactory
Returns:
See Also:
StochasticSIRDiseaseModel

createAggregatingSIDiseaseModelAdapter

public org.eclipse.emf.common.notify.Adapter createAggregatingSIDiseaseModelAdapter()
This creates an adapter for a AggregatingSIDiseaseModel.

Overrides:
createAggregatingSIDiseaseModelAdapter in class StandardAdapterFactory
Returns:
the new adapter.
See Also:
AggregatingSIDiseaseModel

createAggregatingDiseaseModelStateAdapter

public org.eclipse.emf.common.notify.Adapter createAggregatingDiseaseModelStateAdapter()
This creates an adapter for a AggregatingDiseaseModelState.

Overrides:
createAggregatingDiseaseModelStateAdapter in class StandardAdapterFactory
Returns:
the new adapter.
See Also:
AggregatingDiseaseModelState

createAggregatingSEIRDiseaseModelAdapter

public org.eclipse.emf.common.notify.Adapter createAggregatingSEIRDiseaseModelAdapter()
This creates an adapter for a AggregatingSEIRDiseaseModel.

Overrides:
createAggregatingSEIRDiseaseModelAdapter in class StandardAdapterFactory
Returns:
the new adapter.
See Also:
AggregatingSEIRDiseaseModel

createAggregatingSIRDiseaseModelAdapter

public org.eclipse.emf.common.notify.Adapter createAggregatingSIRDiseaseModelAdapter()
This creates an adapter for a AggregatingSIRDiseaseModel.

Overrides:
createAggregatingSIRDiseaseModelAdapter in class StandardAdapterFactory
Returns:
the new adapter.
See Also:
AggregatingSIRDiseaseModel

createStochasticSIDiseaseModelAdapter

public org.eclipse.emf.common.notify.Adapter createStochasticSIDiseaseModelAdapter()
This creates an adapter for a StochasticSIDiseaseModel.

Overrides:
createStochasticSIDiseaseModelAdapter in class StandardAdapterFactory
Returns:
See Also:
StochasticSIDiseaseModel

createSIDiseaseModelStateAdapter

public org.eclipse.emf.common.notify.Adapter createSIDiseaseModelStateAdapter()
This creates an adapter for a SIDiseaseModelState.

Overrides:
createSIDiseaseModelStateAdapter in class StandardAdapterFactory
Returns:
See Also:
SIDiseaseModelState

getRootAdapterFactory

public org.eclipse.emf.edit.provider.ComposeableAdapterFactory getRootAdapterFactory()
This returns the root adapter factory that contains this factory.

Specified by:
getRootAdapterFactory in interface org.eclipse.emf.edit.provider.ComposeableAdapterFactory
Returns:

setParentAdapterFactory

public void setParentAdapterFactory(org.eclipse.emf.edit.provider.ComposedAdapterFactory parentAdapterFactory)
This sets the composed adapter factory that contains this factory.

Specified by:
setParentAdapterFactory in interface org.eclipse.emf.edit.provider.ComposeableAdapterFactory
Parameters:
parentAdapterFactory -

isFactoryForType

public boolean isFactoryForType(java.lang.Object type)

Specified by:
isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactory
Overrides:
isFactoryForType in class StandardAdapterFactory
Parameters:
type -
Returns:

adapt

public 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:
adapt in interface org.eclipse.emf.common.notify.AdapterFactory
Overrides:
adapt in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
Parameters:
notifier -
type -
Returns:

adapt

public java.lang.Object adapt(java.lang.Object object,
                              java.lang.Object type)

Specified by:
adapt in interface org.eclipse.emf.common.notify.AdapterFactory
Overrides:
adapt in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
Parameters:
object -
type -
Returns:

addListener

public void addListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)
This adds a listener.

Specified by:
addListener in interface org.eclipse.emf.edit.provider.IChangeNotifier
Parameters:
notifyChangedListener -

removeListener

public void removeListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)
This removes a listener.

Specified by:
removeListener in interface org.eclipse.emf.edit.provider.IChangeNotifier
Parameters:
notifyChangedListener -

fireNotifyChanged

public void fireNotifyChanged(org.eclipse.emf.common.notify.Notification notification)
This delegates to changeNotifier and to parentAdapterFactory.

Specified by:
fireNotifyChanged in interface org.eclipse.emf.edit.provider.IChangeNotifier
Parameters:
notification -

dispose

public void dispose()
This disposes all of the item providers created by this factory.

Specified by:
dispose in interface org.eclipse.emf.edit.provider.IDisposable