org.eclipse.stp.core.sca.provider
Class SCAItemProviderAdapterFactory

java.lang.Object
  extended by AdapterFactoryImpl
      extended by org.eclipse.stp.core.sca.util.SCAAdapterFactory
          extended by org.eclipse.stp.core.sca.provider.SCAItemProviderAdapterFactory

public class SCAItemProviderAdapterFactory
extends SCAAdapterFactory

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
SCAItemProviderAdapterFactory()
          This constructs an instance.
 
Method Summary
 Adapter adapt(Notifier notifier, java.lang.Object type)
          This implementation substitutes the factory itself as the key for the adapter.
 void addListener(INotifyChangedListener notifyChangedListener)
          This adds a listener.
 Adapter createAbstractImplementationAdapter()
          This creates an adapter for a AbstractImplementation.
 Adapter createBindingAdapter()
          This creates an adapter for a Binding.
 Adapter createComponentTypeAdapter()
          This creates an adapter for a ComponentType.
 Adapter createCompositeAdapter()
          This creates an adapter for a Composite.
 Adapter createEntryPointAdapter()
          This creates an adapter for a EntryPoint.
 Adapter createExternalServiceAdapter()
          This creates an adapter for a ExternalService.
 Adapter createImplementationComponentAdapter()
          This creates an adapter for a ImplementationComponent.
 Adapter createInterfaceAdapter()
          This creates an adapter for a Interface.
 Adapter createJavaImplementationAdapter()
          This creates an adapter for a JavaImplementation.
 Adapter createJavaInterfaceAdapter()
          This creates an adapter for a JavaInterface.
 Adapter createModuleAdapter()
          This creates an adapter for a Module.
 Adapter createModuleComponentAdapter()
          This creates an adapter for a ModuleComponent.
 Adapter createModuleFragmentAdapter()
          This creates an adapter for a ModuleFragment.
 Adapter createModuleReferenceAdapter()
          This creates an adapter for a ModuleReference.
 Adapter createModuleServiceAdapter()
          This creates an adapter for a ModuleService.
 Adapter createModuleWireAdapter()
          This creates an adapter for a ModuleWire.
 Adapter createPropertyAdapter()
          This creates an adapter for a Property.
 Adapter createPropertyValueAdapter()
          This creates an adapter for a PropertyValue.
 Adapter createPropertyValuesSetAdapter()
          This creates an adapter for a PropertyValuesSet.
 Adapter createReferenceAdapter()
          This creates an adapter for a Reference.
 Adapter createReferenceValueAdapter()
          This creates an adapter for a ReferenceValue.
 Adapter createReferenceValuesSetAdapter()
          This creates an adapter for a ReferenceValuesSet.
 Adapter createSCABindingAdapter()
          This creates an adapter for a SCABinding.
 Adapter createSCACoreRootAdapter()
          This creates an adapter for a SCACoreRoot.
 Adapter createServiceAdapter()
          This creates an adapter for a Service.
 Adapter createSLSBBindingAdapter()
          This creates an adapter for a SLSBBinding.
 Adapter createSubsystemAdapter()
          This creates an adapter for a Subsystem.
 Adapter createSystemWireAdapter()
          This creates an adapter for a SystemWire.
 Adapter createUnknownImplementationAdapter()
          This creates an adapter for a UnknownImplementation.
 Adapter createWebServiceBindingAdapter()
          This creates an adapter for a WebServiceBinding.
 Adapter createWSDLPortTypeAdapter()
          This creates an adapter for a WSDLPortType.
 void dispose()
          This disposes all of the item providers created by this factory.
 void fireNotifyChanged(Notification notification)
          This delegates to changeNotifier and to parentAdapterFactory.
 ComposeableAdapterFactory getRootAdapterFactory()
          This returns the root adapter factory that contains this factory.
 boolean isFactoryForType(java.lang.Object type)
           
 void removeListener(INotifyChangedListener notifyChangedListener)
          This removes a listener.
 void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
          This sets the composed adapter factory that contains this factory.
 
Methods inherited from class org.eclipse.stp.core.sca.util.SCAAdapterFactory
createAdapter, createComponentAdapter, createEObjectAdapter, createImplementationAdapter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Constructor Detail

SCAItemProviderAdapterFactory

public SCAItemProviderAdapterFactory()
This constructs an instance.

Method Detail

createAbstractImplementationAdapter

public Adapter createAbstractImplementationAdapter()
This creates an adapter for a AbstractImplementation.

Overrides:
createAbstractImplementationAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
AbstractImplementation

createBindingAdapter

public Adapter createBindingAdapter()
This creates an adapter for a Binding.

Overrides:
createBindingAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
Binding

createComponentTypeAdapter

public Adapter createComponentTypeAdapter()
This creates an adapter for a ComponentType.

Overrides:
createComponentTypeAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
ComponentType

createCompositeAdapter

public Adapter createCompositeAdapter()
This creates an adapter for a Composite.

Overrides:
createCompositeAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
Composite

createEntryPointAdapter

public Adapter createEntryPointAdapter()
This creates an adapter for a EntryPoint.

Overrides:
createEntryPointAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
EntryPoint

createExternalServiceAdapter

public Adapter createExternalServiceAdapter()
This creates an adapter for a ExternalService.

Overrides:
createExternalServiceAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
ExternalService

createImplementationComponentAdapter

public Adapter createImplementationComponentAdapter()
This creates an adapter for a ImplementationComponent.

Overrides:
createImplementationComponentAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
ImplementationComponent

createInterfaceAdapter

public Adapter createInterfaceAdapter()
This creates an adapter for a Interface.

Overrides:
createInterfaceAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
Interface

createJavaImplementationAdapter

public Adapter createJavaImplementationAdapter()
This creates an adapter for a JavaImplementation.

Overrides:
createJavaImplementationAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
JavaImplementation

createJavaInterfaceAdapter

public Adapter createJavaInterfaceAdapter()
This creates an adapter for a JavaInterface.

Overrides:
createJavaInterfaceAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
JavaInterface

createModuleAdapter

public Adapter createModuleAdapter()
This creates an adapter for a Module.

Overrides:
createModuleAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
Module

createModuleComponentAdapter

public Adapter createModuleComponentAdapter()
This creates an adapter for a ModuleComponent.

Overrides:
createModuleComponentAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
ModuleComponent

createModuleFragmentAdapter

public Adapter createModuleFragmentAdapter()
This creates an adapter for a ModuleFragment.

Overrides:
createModuleFragmentAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
ModuleFragment

createModuleReferenceAdapter

public Adapter createModuleReferenceAdapter()
This creates an adapter for a ModuleReference.

Overrides:
createModuleReferenceAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
ModuleReference

createModuleServiceAdapter

public Adapter createModuleServiceAdapter()
This creates an adapter for a ModuleService.

Overrides:
createModuleServiceAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
ModuleService

createModuleWireAdapter

public Adapter createModuleWireAdapter()
This creates an adapter for a ModuleWire.

Overrides:
createModuleWireAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
ModuleWire

createPropertyAdapter

public Adapter createPropertyAdapter()
This creates an adapter for a Property.

Overrides:
createPropertyAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
Property

createPropertyValueAdapter

public Adapter createPropertyValueAdapter()
This creates an adapter for a PropertyValue.

Overrides:
createPropertyValueAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
PropertyValue

createPropertyValuesSetAdapter

public Adapter createPropertyValuesSetAdapter()
This creates an adapter for a PropertyValuesSet.

Overrides:
createPropertyValuesSetAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
PropertyValuesSet

createReferenceAdapter

public Adapter createReferenceAdapter()
This creates an adapter for a Reference.

Overrides:
createReferenceAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
Reference

createReferenceValueAdapter

public Adapter createReferenceValueAdapter()
This creates an adapter for a ReferenceValue.

Overrides:
createReferenceValueAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
ReferenceValue

createReferenceValuesSetAdapter

public Adapter createReferenceValuesSetAdapter()
This creates an adapter for a ReferenceValuesSet.

Overrides:
createReferenceValuesSetAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
ReferenceValuesSet

createSCABindingAdapter

public Adapter createSCABindingAdapter()
This creates an adapter for a SCABinding.

Overrides:
createSCABindingAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
SCABinding

createSCACoreRootAdapter

public Adapter createSCACoreRootAdapter()
This creates an adapter for a SCACoreRoot.

Overrides:
createSCACoreRootAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
SCACoreRoot

createServiceAdapter

public Adapter createServiceAdapter()
This creates an adapter for a Service.

Overrides:
createServiceAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
Service

createSLSBBindingAdapter

public Adapter createSLSBBindingAdapter()
This creates an adapter for a SLSBBinding.

Overrides:
createSLSBBindingAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
SLSBBinding

createSubsystemAdapter

public Adapter createSubsystemAdapter()
This creates an adapter for a Subsystem.

Overrides:
createSubsystemAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
Subsystem

createSystemWireAdapter

public Adapter createSystemWireAdapter()
This creates an adapter for a SystemWire.

Overrides:
createSystemWireAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
SystemWire

createUnknownImplementationAdapter

public Adapter createUnknownImplementationAdapter()
This creates an adapter for a UnknownImplementation.

Overrides:
createUnknownImplementationAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
UnknownImplementation

createWebServiceBindingAdapter

public Adapter createWebServiceBindingAdapter()
This creates an adapter for a WebServiceBinding.

Overrides:
createWebServiceBindingAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
WebServiceBinding

createWSDLPortTypeAdapter

public Adapter createWSDLPortTypeAdapter()
This creates an adapter for a WSDLPortType.

Overrides:
createWSDLPortTypeAdapter in class SCAAdapterFactory
Returns:
the new adapter.
See Also:
WSDLPortType

getRootAdapterFactory

public ComposeableAdapterFactory getRootAdapterFactory()
This returns the root adapter factory that contains this factory.


setParentAdapterFactory

public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
This sets the composed adapter factory that contains this factory.


isFactoryForType

public boolean isFactoryForType(java.lang.Object type)

Overrides:
isFactoryForType in class SCAAdapterFactory
Returns:
whether this factory is applicable for the type of the object.

adapt

public Adapter adapt(Notifier notifier,
                     java.lang.Object type)
This implementation substitutes the factory itself as the key for the adapter.


addListener

public void addListener(INotifyChangedListener notifyChangedListener)
This adds a listener.


removeListener

public void removeListener(INotifyChangedListener notifyChangedListener)
This removes a listener.


fireNotifyChanged

public void fireNotifyChanged(Notification notification)
This delegates to changeNotifier and to parentAdapterFactory.


dispose

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