org.eclipse.ohf.stem.definitions.labels.provider
Class LabelsItemProviderAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.eclipse.ohf.stem.definitions.labels.util.LabelsAdapterFactory
          extended by org.eclipse.ohf.stem.definitions.labels.provider.LabelsItemProviderAdapterFactory
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 LabelsItemProviderAdapterFactory
extends LabelsAdapterFactory
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.


Field Summary
static java.lang.String copyright
           
 
Constructor Summary
LabelsItemProviderAdapterFactory()
          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 createAreaLabelAdapter()
          This creates an adapter for a AreaLabel.
 org.eclipse.emf.common.notify.Adapter createAreaLabelValueAdapter()
          This creates an adapter for a AreaLabelValue.
 org.eclipse.emf.common.notify.Adapter createCommonBorderRelationshipLabelAdapter()
          This creates an adapter for a CommonBorderRelationshipLabel.
 org.eclipse.emf.common.notify.Adapter createCommonBorderRelationshipLabelValueAdapter()
          This creates an adapter for a CommonBorderRelationshipLabelValue.
 org.eclipse.emf.common.notify.Adapter createPhysicalRelationshipLabelValueAdapter()
          This creates an adapter for a PhysicalRelationshipLabelValue.
 org.eclipse.emf.common.notify.Adapter createPopulationLabelAdapter()
          This creates an adapter for a PopulationLabel.
 org.eclipse.emf.common.notify.Adapter createPopulationLabelValueAdapter()
          This creates an adapter for a PopulationLabelValue.
 org.eclipse.emf.common.notify.Adapter createRelativePhysicalRelationshipLabelAdapter()
          This creates an adapter for a RelativePhysicalRelationshipLabel.
 org.eclipse.emf.common.notify.Adapter createRelativePhysicalRelationshipLabelValueAdapter()
          This creates an adapter for a RelativePhysicalRelationshipLabelValue.
 org.eclipse.emf.common.notify.Adapter createTransportRelationshipLabelAdapter()
          This creates an adapter for a TransportRelationshipLabel.
 org.eclipse.emf.common.notify.Adapter createTransportRelationshipLabelValueAdapter()
          This creates an adapter for a TransportRelationshipLabelValue.
 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.definitions.labels.util.LabelsAdapterFactory
createAdapter, createDynamicEdgeLabelAdapter, createDynamicLabelAdapter, createEdgeLabelAdapter, createEObjectAdapter, createIdentifiableAdapter, createLabelAdapter, createLabelValueAdapter, createNodeLabelAdapter, createPhysicalRelationshipLabelAdapter, createSanityCheckerAdapter, createStaticEdgeLabelAdapter, createStaticNodeLabelAdapter
 
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
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Constructor Detail

LabelsItemProviderAdapterFactory

public LabelsItemProviderAdapterFactory()
This constructs an instance.

Method Detail

createPopulationLabelAdapter

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

Overrides:
createPopulationLabelAdapter in class LabelsAdapterFactory
Returns:
See Also:
PopulationLabel

createPopulationLabelValueAdapter

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

Overrides:
createPopulationLabelValueAdapter in class LabelsAdapterFactory
Returns:
See Also:
PopulationLabelValue

createAreaLabelAdapter

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

Overrides:
createAreaLabelAdapter in class LabelsAdapterFactory
Returns:
See Also:
AreaLabel

createAreaLabelValueAdapter

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

Overrides:
createAreaLabelValueAdapter in class LabelsAdapterFactory
Returns:
See Also:
AreaLabelValue

createRelativePhysicalRelationshipLabelAdapter

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

Overrides:
createRelativePhysicalRelationshipLabelAdapter in class LabelsAdapterFactory
Returns:
the new adapter.
See Also:
RelativePhysicalRelationshipLabel

createRelativePhysicalRelationshipLabelValueAdapter

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

Overrides:
createRelativePhysicalRelationshipLabelValueAdapter in class LabelsAdapterFactory
Returns:
the new adapter.
See Also:
RelativePhysicalRelationshipLabelValue

createCommonBorderRelationshipLabelAdapter

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

Overrides:
createCommonBorderRelationshipLabelAdapter in class LabelsAdapterFactory
Returns:
the new adapter.
See Also:
CommonBorderRelationshipLabel

createCommonBorderRelationshipLabelValueAdapter

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

Overrides:
createCommonBorderRelationshipLabelValueAdapter in class LabelsAdapterFactory
Returns:
the new adapter.
See Also:
CommonBorderRelationshipLabelValue

createTransportRelationshipLabelAdapter

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

Overrides:
createTransportRelationshipLabelAdapter in class LabelsAdapterFactory
Returns:
the new adapter.
See Also:
TransportRelationshipLabel

createTransportRelationshipLabelValueAdapter

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

Overrides:
createTransportRelationshipLabelValueAdapter in class LabelsAdapterFactory
Returns:
the new adapter.
See Also:
TransportRelationshipLabelValue

createPhysicalRelationshipLabelValueAdapter

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

Overrides:
createPhysicalRelationshipLabelValueAdapter in class LabelsAdapterFactory
Returns:
the new adapter.
See Also:
PhysicalRelationshipLabelValue

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 LabelsAdapterFactory
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