|
||||||||||
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
org.graphdrawing.graphml.util.GraphMLAdapterFactory
public class GraphMLAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX
method for each class of the model.
GraphMLPackage
Field Summary | |
---|---|
protected static GraphMLPackage |
modelPackage
The cached model package. |
protected GraphMLSwitch<Adapter> |
modelSwitch
The switch that delegates to the createXXX methods. |
Constructor Summary | |
---|---|
GraphMLAdapterFactory()
Creates an instance of the adapter factory. |
Method Summary | |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target . |
Adapter |
createDataExtensionTypeAdapter()
Creates a new adapter for an object of class ' Data Extension Type '. |
Adapter |
createDataTypeAdapter()
Creates a new adapter for an object of class ' Data Type '. |
Adapter |
createDefaultTypeAdapter()
Creates a new adapter for an object of class ' Default Type '. |
Adapter |
createDocumentRootAdapter()
Creates a new adapter for an object of class ' Document Root '. |
Adapter |
createEdgeTypeAdapter()
Creates a new adapter for an object of class ' Edge Type '. |
Adapter |
createEndpointTypeAdapter()
Creates a new adapter for an object of class ' Endpoint Type '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case. |
Adapter |
createGraphmlTypeAdapter()
Creates a new adapter for an object of class ' Graphml Type '. |
Adapter |
createGraphTypeAdapter()
Creates a new adapter for an object of class ' Graph Type '. |
Adapter |
createHyperedgeTypeAdapter()
Creates a new adapter for an object of class ' Hyperedge Type '. |
Adapter |
createKeyTypeAdapter()
Creates a new adapter for an object of class ' Key Type '. |
Adapter |
createLocatorTypeAdapter()
Creates a new adapter for an object of class ' Locator Type '. |
Adapter |
createNodeTypeAdapter()
Creates a new adapter for an object of class ' Node Type '. |
Adapter |
createPortTypeAdapter()
Creates a new adapter for an object of class ' Port Type '. |
boolean |
isFactoryForType(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 GraphMLPackage modelPackage
protected GraphMLSwitch<Adapter> modelSwitch
createXXX
methods.
Constructor Detail |
---|
public GraphMLAdapterFactory()
Method Detail |
---|
public boolean isFactoryForType(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 createDataExtensionTypeAdapter()
Data Extension Type
'.
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.
DataExtensionType
public Adapter createDataTypeAdapter()
Data Type
'.
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.
DataType
public Adapter createDefaultTypeAdapter()
Default Type
'.
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.
DefaultType
public Adapter createDocumentRootAdapter()
Document Root
'.
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.
DocumentRoot
public Adapter createEdgeTypeAdapter()
Edge Type
'.
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.
EdgeType
public Adapter createEndpointTypeAdapter()
Endpoint Type
'.
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.
EndpointType
public Adapter createGraphmlTypeAdapter()
Graphml Type
'.
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.
GraphmlType
public Adapter createGraphTypeAdapter()
Graph Type
'.
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.
GraphType
public Adapter createHyperedgeTypeAdapter()
Hyperedge Type
'.
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.
HyperedgeType
public Adapter createKeyTypeAdapter()
Key Type
'.
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.
KeyType
public Adapter createLocatorTypeAdapter()
Locator Type
'.
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.
LocatorType
public Adapter createNodeTypeAdapter()
Node Type
'.
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.
NodeType
public Adapter createPortTypeAdapter()
Port Type
'.
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.
PortType
public Adapter createEObjectAdapter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |