|
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
public class TtmAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX
method for each class of the model.
TtmPackage
Field Summary | |
---|---|
protected static TtmPackage |
modelPackage
The cached model package |
protected TtmSwitch |
modelSwitch
The switch the delegates to the createXXX methods |
Constructor Summary | |
---|---|
TtmAdapterFactory()
Creates an instance of the adapter factory |
Method Summary | |
---|---|
Adapter |
createAbstractLinkAdapter()
Creates a new adapter for an object of class ' Abstract Link ' |
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target |
Adapter |
createAttributeAdapter()
Creates a new adapter for an object of class ' Attribute ' |
Adapter |
createAttributeOwnerAdapter()
Creates a new adapter for an object of class ' Attribute Owner ' |
Adapter |
createCoverageResultAdapter()
Creates a new adapter for an object of class ' Coverage Result ' |
Adapter |
createCoverLinkAdapter()
Creates a new adapter for an object of class ' Cover Link ' |
Adapter |
createCoverPointAdapter()
Creates a new adapter for an object of class ' Cover Point ' |
Adapter |
createDocumentAdapter()
Creates a new adapter for an object of class ' Document ' |
Adapter |
createElementAdapter()
Creates a new adapter for an object of class ' Element ' |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case |
Adapter |
createHierarchicalElementAdapter()
Creates a new adapter for an object of class ' Hierarchical Element ' |
Adapter |
createIdentifiedElementAdapter()
Creates a new adapter for an object of class ' Identified Element ' |
Adapter |
createNavigationLinkAdapter()
Creates a new adapter for an object of class ' Navigation Link ' |
Adapter |
createProjectAdapter()
Creates a new adapter for an object of class ' Project ' |
Adapter |
createRequirementAdapter()
Creates a new adapter for an object of class ' Requirement ' |
Adapter |
createRuleAdapter()
Creates a new adapter for an object of class ' Rule ' |
Adapter |
createRuleInstanceAdapter()
Creates a new adapter for an object of class ' Rule Instance ' |
Adapter |
createSectionAdapter()
Creates a new adapter for an object of class ' Section ' |
Adapter |
createTextAdapter()
Creates a new adapter for an object of class ' Text ' |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object |
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl |
---|
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static TtmPackage modelPackage
protected TtmSwitch modelSwitch
createXXX
methods.
Constructor Detail |
---|
public TtmAdapterFactory()
Method Detail |
---|
public boolean isFactoryForType(java.lang.Object object)
true
if the object is either the model's package or is an instance object of the model.
isFactoryForType
in interface AdapterFactory
isFactoryForType
in class AdapterFactoryImpl
public Adapter createAdapter(Notifier target)
target
.
createAdapter
in class AdapterFactoryImpl
target
- the object to adapt.
target
.public Adapter createHierarchicalElementAdapter()
Hierarchical Element
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
HierarchicalElement
public Adapter createDocumentAdapter()
Document
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Document
public Adapter createSectionAdapter()
Section
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Section
public Adapter createIdentifiedElementAdapter()
Identified Element
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
IdentifiedElement
public Adapter createTextAdapter()
Text
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Text
public Adapter createAttributeAdapter()
Attribute
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Attribute
public Adapter createRequirementAdapter()
Requirement
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Requirement
public Adapter createCoverLinkAdapter()
Cover Link
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
CoverLink
public Adapter createNavigationLinkAdapter()
Navigation Link
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
NavigationLink
public Adapter createAbstractLinkAdapter()
Abstract Link
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
AbstractLink
public Adapter createProjectAdapter()
Project
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Project
public Adapter createElementAdapter()
Element
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Element
public Adapter createRuleInstanceAdapter()
Rule Instance
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
RuleInstance
public Adapter createAttributeOwnerAdapter()
Attribute Owner
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
AttributeOwner
public Adapter createRuleAdapter()
Rule
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Rule
public Adapter createCoverageResultAdapter()
Coverage Result
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
CoverageResult
public Adapter createCoverPointAdapter()
Cover Point
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
CoverPoint
public Adapter createEObjectAdapter()
|
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.