|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAdapterFactoryImpl
com.ibm.etools.systems.app.model.src.util.SrcAdapterFactory
com.ibm.etools.systems.app.model.src.provider.SrcItemProviderAdapterFactory
public class SrcItemProviderAdapterFactory
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 | |
|---|---|
protected CallableBlockItemProvider |
callableBlockItemProvider
This keeps track of the one adapter used for all CallableBlock instances. |
protected CallableBlockWithSignatureItemProvider |
callableBlockWithSignatureItemProvider
This keeps track of the one adapter used for all CallableBlockWithSignature instances. |
protected CallsRelationshipItemProvider |
callsRelationshipItemProvider
This keeps track of the one adapter used for all CallsRelationship instances. |
protected IChangeNotifier |
changeNotifier
This is used to implement org.eclipse.emf.edit.provider.IChangeNotifier. |
static String |
copyright
|
protected IncludesRelationshipItemProvider |
includesRelationshipItemProvider
This keeps track of the one adapter used for all IncludesRelationship instances. |
protected InvokesRelationshipItemProvider |
invokesRelationshipItemProvider
This keeps track of the one adapter used for all InvokesRelationship instances. |
protected ComposedAdapterFactory |
parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory. |
protected SourceContainerItemProvider |
sourceContainerItemProvider
This keeps track of the one adapter used for all SourceContainer instances. |
protected Collection |
supportedTypes
This keeps track of all the supported types checked by isFactoryForType. |
| Fields inherited from class com.ibm.etools.systems.app.model.src.util.SrcAdapterFactory |
|---|
modelPackage, modelSwitch |
| Constructor Summary | |
|---|---|
SrcItemProviderAdapterFactory()
This constructs an instance. |
|
| Method Summary | |
|---|---|
Adapter |
adapt(Notifier notifier,
Object type)
This implementation substitutes the factory itself as the key for the adapter. |
void |
addListener(INotifyChangedListener notifyChangedListener)
This adds a listener. |
Adapter |
createCallableBlockAdapter()
This creates an adapter for a CallableBlock. |
Adapter |
createCallableBlockWithSignatureAdapter()
This creates an adapter for a CallableBlockWithSignature. |
Adapter |
createCallsRelationshipAdapter()
This creates an adapter for a CallsRelationship. |
Adapter |
createIncludesRelationshipAdapter()
This creates an adapter for a IncludesRelationship. |
Adapter |
createInvokesRelationshipAdapter()
This creates an adapter for a InvokesRelationship. |
Adapter |
createSourceContainerAdapter()
This creates an adapter for a SourceContainer. |
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(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 com.ibm.etools.systems.app.model.src.util.SrcAdapterFactory |
|---|
createAdapter, createArtifactAdapter, createEObjectAdapter, createMainEntryPointAdapter, createRelationshipAdapter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String copyright
protected ComposedAdapterFactory parentAdapterFactory
protected IChangeNotifier changeNotifier
org.eclipse.emf.edit.provider.IChangeNotifier.
protected Collection supportedTypes
isFactoryForType.
protected IncludesRelationshipItemProvider includesRelationshipItemProvider
IncludesRelationship instances.
protected InvokesRelationshipItemProvider invokesRelationshipItemProvider
InvokesRelationship instances.
protected CallableBlockWithSignatureItemProvider callableBlockWithSignatureItemProvider
CallableBlockWithSignature instances.
protected CallableBlockItemProvider callableBlockItemProvider
CallableBlock instances.
protected SourceContainerItemProvider sourceContainerItemProvider
SourceContainer instances.
protected CallsRelationshipItemProvider callsRelationshipItemProvider
CallsRelationship instances.
| Constructor Detail |
|---|
public SrcItemProviderAdapterFactory()
| Method Detail |
|---|
public Adapter createIncludesRelationshipAdapter()
IncludesRelationship.
createIncludesRelationshipAdapter in class SrcAdapterFactoryIncludesRelationshippublic Adapter createInvokesRelationshipAdapter()
InvokesRelationship.
createInvokesRelationshipAdapter in class SrcAdapterFactoryInvokesRelationshippublic Adapter createCallableBlockWithSignatureAdapter()
CallableBlockWithSignature.
createCallableBlockWithSignatureAdapter in class SrcAdapterFactoryCallableBlockWithSignaturepublic Adapter createCallableBlockAdapter()
CallableBlock.
createCallableBlockAdapter in class SrcAdapterFactoryCallableBlockpublic Adapter createSourceContainerAdapter()
SourceContainer.
createSourceContainerAdapter in class SrcAdapterFactorySourceContainerpublic Adapter createCallsRelationshipAdapter()
CallsRelationship.
createCallsRelationshipAdapter in class SrcAdapterFactoryCallsRelationshippublic ComposeableAdapterFactory getRootAdapterFactory()
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
public boolean isFactoryForType(Object type)
isFactoryForType in class SrcAdapterFactory
public Adapter adapt(Notifier notifier,
Object type)
public void addListener(INotifyChangedListener notifyChangedListener)
public void removeListener(INotifyChangedListener notifyChangedListener)
public void fireNotifyChanged(Notification notification)
changeNotifier and to parentAdapterFactory.
public void dispose()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||