|
Traceability | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
ttm.util.TtmAdapterFactory
org.topcased.traceability.hmi.providers.TtmModelerProviderAdapterFactory
public class TtmModelerProviderAdapterFactory
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 |
|---|
| Fields inherited from class ttm.util.TtmAdapterFactory |
|---|
modelPackage, modelSwitch |
| Constructor Summary | |
|---|---|
TtmModelerProviderAdapterFactory()
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. |
java.lang.Object |
adapt(java.lang.Object object,
java.lang.Object type)
|
void |
addListener(INotifyChangedListener notifyChangedListener)
This adds a listener. |
Adapter |
createAbstractLinkAdapter()
This creates an adapter for a AbstractLink. |
Adapter |
createAttributeAdapter()
This creates an adapter for a Attribute. |
Adapter |
createAttributeOwnerAdapter()
This creates an adapter for a AttributeOwner. |
Adapter |
createCoverageResultAdapter()
This creates an adapter for a CoverageResult. |
Adapter |
createCoverLinkAdapter()
This creates an adapter for a CoverLink. |
Adapter |
createCoverPointAdapter()
This creates an adapter for a CoverPoint. |
Adapter |
createDocumentAdapter()
This creates an adapter for a Document. |
Adapter |
createElementAdapter()
This creates an adapter for a Element. |
Adapter |
createHierarchicalElementAdapter()
This creates an adapter for a HierarchicalElement. |
Adapter |
createIdentifiedElementAdapter()
This creates an adapter for a IdentifiedElement. |
Adapter |
createNavigationLinkAdapter()
This creates an adapter for a NavigationLink. |
Adapter |
createProjectAdapter()
This creates an adapter for a Project. |
Adapter |
createRequirementAdapter()
This creates an adapter for a Requirement. |
Adapter |
createRuleAdapter()
This creates an adapter for a Rule. |
Adapter |
createRuleInstanceAdapter()
This creates an adapter for a RuleInstance. |
Adapter |
createSectionAdapter()
This creates an adapter for a Section. |
Adapter |
createTextAdapter()
This creates an adapter for a Text. |
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)
Returns whether this factory is applicable for the type of the object. |
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 ttm.util.TtmAdapterFactory |
|---|
createAdapter, createEObjectAdapter |
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl |
|---|
adaptAllNew, adaptNew, associate, createAdapter, resolve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.common.notify.AdapterFactory |
|---|
adaptAllNew, adaptNew |
| Constructor Detail |
|---|
public TtmModelerProviderAdapterFactory()
| Method Detail |
|---|
public ComposeableAdapterFactory getRootAdapterFactory()
getRootAdapterFactory in interface ComposeableAdapterFactorypublic void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
setParentAdapterFactory in interface ComposeableAdapterFactoryparentAdapterFactory - the new parent adapter factorypublic boolean isFactoryForType(java.lang.Object type)
TtmAdapterFactorytrue if the object is either the model's package or is an instance object of the model.
isFactoryForType in interface AdapterFactoryisFactoryForType in class TtmAdapterFactorytype - the type to test
public Adapter adapt(Notifier notifier,
java.lang.Object type)
adapt in interface AdapterFactoryadapt in class AdapterFactoryImplnotifier - the notifiertype - the object to adapt
public java.lang.Object adapt(java.lang.Object object,
java.lang.Object type)
adapt in interface AdapterFactoryadapt in class AdapterFactoryImplobject - the object to adapttype - the type to adapt
public void addListener(INotifyChangedListener notifyChangedListener)
addListener in interface IChangeNotifiernotifyChangedListener - the listener to addpublic void removeListener(INotifyChangedListener notifyChangedListener)
removeListener in interface IChangeNotifiernotifyChangedListener - the listener to removepublic void fireNotifyChanged(Notification notification)
changeNotifier and to parentAdapterFactory.
fireNotifyChanged in interface IChangeNotifiernotification - the notification to firepublic Adapter createDocumentAdapter()
Document.
createDocumentAdapter in class TtmAdapterFactoryDocumentpublic Adapter createSectionAdapter()
Section.
createSectionAdapter in class TtmAdapterFactorySectionpublic Adapter createHierarchicalElementAdapter()
HierarchicalElement.
createHierarchicalElementAdapter in class TtmAdapterFactoryHierarchicalElementpublic Adapter createIdentifiedElementAdapter()
IdentifiedElement.
createIdentifiedElementAdapter in class TtmAdapterFactoryIdentifiedElementpublic Adapter createTextAdapter()
Text.
createTextAdapter in class TtmAdapterFactoryTextpublic Adapter createAttributeAdapter()
Attribute.
createAttributeAdapter in class TtmAdapterFactoryAttributepublic Adapter createRequirementAdapter()
Requirement.
createRequirementAdapter in class TtmAdapterFactoryRequirementpublic Adapter createCoverLinkAdapter()
CoverLink.
createCoverLinkAdapter in class TtmAdapterFactoryCoverLinkpublic Adapter createNavigationLinkAdapter()
NavigationLink.
createNavigationLinkAdapter in class TtmAdapterFactoryNavigationLinkpublic Adapter createAbstractLinkAdapter()
AbstractLink.
createAbstractLinkAdapter in class TtmAdapterFactoryAbstractLinkpublic Adapter createProjectAdapter()
Project.
createProjectAdapter in class TtmAdapterFactoryProjectpublic Adapter createElementAdapter()
Element.
createElementAdapter in class TtmAdapterFactoryElementpublic Adapter createRuleInstanceAdapter()
RuleInstance.
createRuleInstanceAdapter in class TtmAdapterFactoryRuleInstancepublic Adapter createAttributeOwnerAdapter()
AttributeOwner.
createAttributeOwnerAdapter in class TtmAdapterFactoryAttributeOwnerpublic Adapter createRuleAdapter()
Rule.
createRuleAdapter in class TtmAdapterFactoryRulepublic Adapter createCoverageResultAdapter()
CoverageResult.
createCoverageResultAdapter in class TtmAdapterFactoryCoverageResultpublic Adapter createCoverPointAdapter()
CoverPoint.
createCoverPointAdapter in class TtmAdapterFactoryCoverPointpublic void dispose()
dispose in interface IDisposable
|
Traceability | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.