|
||||||||||
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.ptolemy.moml.util.MomlAdapterFactory
public class MomlAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX
method for each class of the model.
MomlPackage
Field Summary | |
---|---|
protected static MomlPackage |
modelPackage
The cached model package. |
protected MomlSwitch<Adapter> |
modelSwitch
The switch that delegates to the createXXX methods. |
Constructor Summary | |
---|---|
MomlAdapterFactory()
Creates an instance of the adapter factory. |
Method Summary | |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target . |
Adapter |
createAnyAdapter()
Creates a new adapter for an object of class ' Any '. |
Adapter |
createClassTypeAdapter()
Creates a new adapter for an object of class ' Class Type '. |
Adapter |
createConfigureTypeAdapter()
Creates a new adapter for an object of class ' Configure Type '. |
Adapter |
createDeleteEntityTypeAdapter()
Creates a new adapter for an object of class ' Delete Entity Type '. |
Adapter |
createDeletePortTypeAdapter()
Creates a new adapter for an object of class ' Delete Port Type '. |
Adapter |
createDeletePropertyTypeAdapter()
Creates a new adapter for an object of class ' Delete Property Type '. |
Adapter |
createDeleteRelationTypeAdapter()
Creates a new adapter for an object of class ' Delete Relation Type '. |
Adapter |
createDirectorTypeAdapter()
Creates a new adapter for an object of class ' Director Type '. |
Adapter |
createDisplayTypeAdapter()
Creates a new adapter for an object of class ' Display Type '. |
Adapter |
createDocTypeAdapter()
Creates a new adapter for an object of class ' Doc Type '. |
Adapter |
createDocumentRootAdapter()
Creates a new adapter for an object of class ' Document Root '. |
Adapter |
createEntityTypeAdapter()
Creates a new adapter for an object of class ' Entity Type '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case. |
Adapter |
createGroupTypeAdapter()
Creates a new adapter for an object of class ' Group Type '. |
Adapter |
createImportTypeAdapter()
Creates a new adapter for an object of class ' Import Type '. |
Adapter |
createInputTypeAdapter()
Creates a new adapter for an object of class ' Input Type '. |
Adapter |
createLinkTypeAdapter()
Creates a new adapter for an object of class ' Link Type '. |
Adapter |
createLocationTypeAdapter()
Creates a new adapter for an object of class ' Location Type '. |
Adapter |
createModelTypeAdapter()
Creates a new adapter for an object of class ' Model Type '. |
Adapter |
createPortTypeAdapter()
Creates a new adapter for an object of class ' Port Type '. |
Adapter |
createPropertyTypeAdapter()
Creates a new adapter for an object of class ' Property Type '. |
Adapter |
createRelationTypeAdapter()
Creates a new adapter for an object of class ' Relation Type '. |
Adapter |
createRenameTypeAdapter()
Creates a new adapter for an object of class ' Rename Type '. |
Adapter |
createRenditionTypeAdapter()
Creates a new adapter for an object of class ' Rendition Type '. |
Adapter |
createUnlinkTypeAdapter()
Creates a new adapter for an object of class ' Unlink Type '. |
Adapter |
createVertexTypeAdapter()
Creates a new adapter for an object of class ' Vertex 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 MomlPackage modelPackage
protected MomlSwitch<Adapter> modelSwitch
createXXX
methods.
Constructor Detail |
---|
public MomlAdapterFactory()
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 createAnyAdapter()
Any
'.
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.
Any
public Adapter createClassTypeAdapter()
Class 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.
ClassType
public Adapter createConfigureTypeAdapter()
Configure 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.
ConfigureType
public Adapter createDeleteEntityTypeAdapter()
Delete Entity 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.
DeleteEntityType
public Adapter createDeletePortTypeAdapter()
Delete 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.
DeletePortType
public Adapter createDeletePropertyTypeAdapter()
Delete Property 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.
DeletePropertyType
public Adapter createDeleteRelationTypeAdapter()
Delete Relation 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.
DeleteRelationType
public Adapter createDirectorTypeAdapter()
Director 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.
DirectorType
public Adapter createDisplayTypeAdapter()
Display 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.
DisplayType
public Adapter createDocTypeAdapter()
Doc 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.
DocType
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 createEntityTypeAdapter()
Entity 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.
EntityType
public Adapter createGroupTypeAdapter()
Group 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.
GroupType
public Adapter createImportTypeAdapter()
Import 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.
ImportType
public Adapter createInputTypeAdapter()
Input 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.
InputType
public Adapter createLinkTypeAdapter()
Link 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.
LinkType
public Adapter createLocationTypeAdapter()
Location 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.
LocationType
public Adapter createModelTypeAdapter()
Model 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.
ModelType
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 createPropertyTypeAdapter()
Property 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.
PropertyType
public Adapter createRelationTypeAdapter()
Relation 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.
RelationType
public Adapter createRenameTypeAdapter()
Rename 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.
RenameType
public Adapter createRenditionTypeAdapter()
Rendition 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.
RenditionType
public Adapter createUnlinkTypeAdapter()
Unlink 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.
UnlinkType
public Adapter createVertexTypeAdapter()
Vertex 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.
VertexType
public Adapter createEObjectAdapter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |