Generation Framework

org.eclipse.gmf.mappings.util
Class GMFMapAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.eclipse.gmf.mappings.util.GMFMapAdapterFactory
All Implemented Interfaces:
AdapterFactory
Direct Known Subclasses:
GMFMapItemProviderAdapterFactory

public class GMFMapAdapterFactory
extends AdapterFactoryImpl

The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.

See Also:
GMFMapPackage
** Generated **

Field Summary
protected static GMFMapPackage modelPackage
          The cached model package
protected  GMFMapSwitch<Adapter> modelSwitch
          The switch the delegates to the createXXX methods
 
Constructor Summary
GMFMapAdapterFactory()
          Creates an instance of the adapter factory
 
Method Summary
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target
 Adapter createAppearanceStewardAdapter()
          Creates a new adapter for an object of class 'Appearance Steward'
 Adapter createAuditableAdapter()
          Creates a new adapter for an object of class 'Auditable'
 Adapter createAuditContainerAdapter()
          Creates a new adapter for an object of class 'Audit Container'
 Adapter createAuditedMetricTargetAdapter()
          Creates a new adapter for an object of class 'Audited Metric Target'
 Adapter createAuditRuleAdapter()
          Creates a new adapter for an object of class 'Audit Rule'
 Adapter createCanvasMappingAdapter()
          Creates a new adapter for an object of class 'Canvas Mapping'
 Adapter createChildReferenceAdapter()
          Creates a new adapter for an object of class 'Child Reference'
 Adapter createCompartmentMappingAdapter()
          Creates a new adapter for an object of class 'Compartment Mapping'
 Adapter createConstraintAdapter()
          Creates a new adapter for an object of class 'Constraint'
 Adapter createDesignLabelMappingAdapter()
          Creates a new adapter for an object of class 'Design Label Mapping'
 Adapter createDiagramElementTargetAdapter()
          Creates a new adapter for an object of class 'Diagram Element Target'
 Adapter createDomainAttributeTargetAdapter()
          Creates a new adapter for an object of class 'Domain Attribute Target'
 Adapter createDomainElementTargetAdapter()
          Creates a new adapter for an object of class 'Domain Element Target'
 Adapter createElementInitializerAdapter()
          Creates a new adapter for an object of class 'Element Initializer'
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case
 Adapter createFeatureInitializerAdapter()
          Creates a new adapter for an object of class 'Feature Initializer'
 Adapter createFeatureLabelMappingAdapter()
          Creates a new adapter for an object of class 'Feature Label Mapping'
 Adapter createFeatureSeqInitializerAdapter()
          Creates a new adapter for an object of class 'Feature Seq Initializer'
 Adapter createFeatureValueSpecAdapter()
          Creates a new adapter for an object of class 'Feature Value Spec'
 Adapter createLabelMappingAdapter()
          Creates a new adapter for an object of class 'Label Mapping'
 Adapter createLinkConstraintsAdapter()
          Creates a new adapter for an object of class 'Link Constraints'
 Adapter createLinkMappingAdapter()
          Creates a new adapter for an object of class 'Link Mapping'
 Adapter createMappingAdapter()
          Creates a new adapter for an object of class 'Mapping'
 Adapter createMappingEntryAdapter()
          Creates a new adapter for an object of class 'Mapping Entry'
 Adapter createMeasurableAdapter()
          Creates a new adapter for an object of class 'Measurable'
 Adapter createMenuOwnerAdapter()
          Creates a new adapter for an object of class 'Menu Owner'
 Adapter createMetricContainerAdapter()
          Creates a new adapter for an object of class 'Metric Container'
 Adapter createMetricRuleAdapter()
          Creates a new adapter for an object of class 'Metric Rule'
 Adapter createNeedsContainmentAdapter()
          Creates a new adapter for an object of class 'Needs Containment'
 Adapter createNodeMappingAdapter()
          Creates a new adapter for an object of class 'Node Mapping'
 Adapter createNodeReferenceAdapter()
          Creates a new adapter for an object of class 'Node Reference'
 Adapter createNotationElementTargetAdapter()
          Creates a new adapter for an object of class 'Notation Element Target'
 Adapter createReferenceNewElementSpecAdapter()
          Creates a new adapter for an object of class 'Reference New Element Spec'
 Adapter createRuleBaseAdapter()
          Creates a new adapter for an object of class 'Rule Base'
 Adapter createToolOwnerAdapter()
          Creates a new adapter for an object of class 'Tool Owner'
 Adapter createTopNodeReferenceAdapter()
          Creates a new adapter for an object of class 'Top Node Reference'
 Adapter createValueExpressionAdapter()
          Creates a new adapter for an object of class 'Value Expression'
 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

modelPackage

protected static GMFMapPackage modelPackage
The cached model package.

** Generated **

modelSwitch

protected GMFMapSwitch<Adapter> modelSwitch
The switch the delegates to the createXXX methods.

** Generated **
Constructor Detail

GMFMapAdapterFactory

public GMFMapAdapterFactory()
Creates an instance of the adapter factory.

** Generated **
Method Detail

isFactoryForType

public boolean isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.

Specified by:
isFactoryForType in interface AdapterFactory
Overrides:
isFactoryForType in class AdapterFactoryImpl
Returns:
whether this factory is applicable for the type of the object.
** Generated **

createAdapter

public Adapter createAdapter(Notifier target)
Creates an adapter for the target.

Overrides:
createAdapter in class AdapterFactoryImpl
Parameters:
target - the object to adapt.
Returns:
the adapter for the target.
** Generated **

createMappingEntryAdapter

public Adapter createMappingEntryAdapter()
Creates a new adapter for an object of class 'Mapping Entry'. 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.

Returns:
the new adapter.
See Also:
MappingEntry
** Generated **

createNeedsContainmentAdapter

public Adapter createNeedsContainmentAdapter()
Creates a new adapter for an object of class 'Needs Containment'. 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.

Returns:
the new adapter.
See Also:
NeedsContainment
** Generated **

createNodeReferenceAdapter

public Adapter createNodeReferenceAdapter()
Creates a new adapter for an object of class 'Node Reference'. 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.

Returns:
the new adapter.
See Also:
NodeReference
** Generated **

createChildReferenceAdapter

public Adapter createChildReferenceAdapter()
Creates a new adapter for an object of class 'Child Reference'. 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.

Returns:
the new adapter.
See Also:
ChildReference
** Generated **

createTopNodeReferenceAdapter

public Adapter createTopNodeReferenceAdapter()
Creates a new adapter for an object of class 'Top Node Reference'. 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.

Returns:
the new adapter.
See Also:
TopNodeReference
** Generated **

createNodeMappingAdapter

public Adapter createNodeMappingAdapter()
Creates a new adapter for an object of class 'Node Mapping'. 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.

Returns:
the new adapter.
See Also:
NodeMapping
** Generated **

createCompartmentMappingAdapter

public Adapter createCompartmentMappingAdapter()
Creates a new adapter for an object of class 'Compartment Mapping'. 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.

Returns:
the new adapter.
See Also:
CompartmentMapping
** Generated **

createLinkMappingAdapter

public Adapter createLinkMappingAdapter()
Creates a new adapter for an object of class 'Link Mapping'. 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.

Returns:
the new adapter.
See Also:
LinkMapping
** Generated **

createCanvasMappingAdapter

public Adapter createCanvasMappingAdapter()
Creates a new adapter for an object of class 'Canvas Mapping'. 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.

Returns:
the new adapter.
See Also:
CanvasMapping
** Generated **

createLabelMappingAdapter

public Adapter createLabelMappingAdapter()
Creates a new adapter for an object of class 'Label Mapping'. 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.

Returns:
the new adapter.
See Also:
LabelMapping
** Generated **

createFeatureLabelMappingAdapter

public Adapter createFeatureLabelMappingAdapter()
Creates a new adapter for an object of class 'Feature Label Mapping'. 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.

Returns:
the new adapter.
See Also:
FeatureLabelMapping
** Generated **

createDesignLabelMappingAdapter

public Adapter createDesignLabelMappingAdapter()
Creates a new adapter for an object of class 'Design Label Mapping'. 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.

Returns:
the new adapter.
See Also:
DesignLabelMapping
** Generated **

createMappingAdapter

public Adapter createMappingAdapter()
Creates a new adapter for an object of class 'Mapping'. 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.

Returns:
the new adapter.
See Also:
Mapping
** Generated **

createConstraintAdapter

public Adapter createConstraintAdapter()
Creates a new adapter for an object of class 'Constraint'. 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.

Returns:
the new adapter.
See Also:
Constraint
** Generated **

createLinkConstraintsAdapter

public Adapter createLinkConstraintsAdapter()
Creates a new adapter for an object of class 'Link Constraints'. 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.

Returns:
the new adapter.
See Also:
LinkConstraints
** Generated **

createValueExpressionAdapter

public Adapter createValueExpressionAdapter()
Creates a new adapter for an object of class 'Value Expression'. 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.

Returns:
the new adapter.
See Also:
ValueExpression
** Generated **

createElementInitializerAdapter

public Adapter createElementInitializerAdapter()
Creates a new adapter for an object of class 'Element Initializer'. 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.

Returns:
the new adapter.
See Also:
ElementInitializer
** Generated **

createFeatureSeqInitializerAdapter

public Adapter createFeatureSeqInitializerAdapter()
Creates a new adapter for an object of class 'Feature Seq Initializer'. 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.

Returns:
the new adapter.
See Also:
FeatureSeqInitializer
** Generated **

createFeatureInitializerAdapter

public Adapter createFeatureInitializerAdapter()
Creates a new adapter for an object of class 'Feature Initializer'. 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.

Returns:
the new adapter.
See Also:
FeatureInitializer
** Generated **

createFeatureValueSpecAdapter

public Adapter createFeatureValueSpecAdapter()
Creates a new adapter for an object of class 'Feature Value Spec'. 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.

Returns:
the new adapter.
See Also:
FeatureValueSpec
** Generated **

createReferenceNewElementSpecAdapter

public Adapter createReferenceNewElementSpecAdapter()
Creates a new adapter for an object of class 'Reference New Element Spec'. 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.

Returns:
the new adapter.
See Also:
ReferenceNewElementSpec
** Generated **

createMenuOwnerAdapter

public Adapter createMenuOwnerAdapter()
Creates a new adapter for an object of class 'Menu 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.

Returns:
the new adapter.
See Also:
MenuOwner
** Generated **

createToolOwnerAdapter

public Adapter createToolOwnerAdapter()
Creates a new adapter for an object of class 'Tool 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.

Returns:
the new adapter.
See Also:
ToolOwner
** Generated **

createAppearanceStewardAdapter

public Adapter createAppearanceStewardAdapter()
Creates a new adapter for an object of class 'Appearance Steward'. 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.

Returns:
the new adapter.
See Also:
AppearanceSteward
** Generated **

createAuditContainerAdapter

public Adapter createAuditContainerAdapter()
Creates a new adapter for an object of class 'Audit Container'. 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.

Returns:
the new adapter.
See Also:
AuditContainer
** Generated **

createAuditRuleAdapter

public Adapter createAuditRuleAdapter()
Creates a new adapter for an object of class 'Audit 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.

Returns:
the new adapter.
See Also:
AuditRule
** Generated **

createRuleBaseAdapter

public Adapter createRuleBaseAdapter()
Creates a new adapter for an object of class 'Rule Base'. 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.

Returns:
the new adapter.
See Also:
RuleBase
** Generated **

createDomainElementTargetAdapter

public Adapter createDomainElementTargetAdapter()
Creates a new adapter for an object of class 'Domain Element Target'. 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.

Returns:
the new adapter.
See Also:
DomainElementTarget
** Generated **

createDomainAttributeTargetAdapter

public Adapter createDomainAttributeTargetAdapter()
Creates a new adapter for an object of class 'Domain Attribute Target'. 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.

Returns:
the new adapter.
See Also:
DomainAttributeTarget
** Generated **

createDiagramElementTargetAdapter

public Adapter createDiagramElementTargetAdapter()
Creates a new adapter for an object of class 'Diagram Element Target'. 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.

Returns:
the new adapter.
See Also:
DiagramElementTarget
** Generated **

createNotationElementTargetAdapter

public Adapter createNotationElementTargetAdapter()
Creates a new adapter for an object of class 'Notation Element Target'. 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.

Returns:
the new adapter.
See Also:
NotationElementTarget
** Generated **

createMetricContainerAdapter

public Adapter createMetricContainerAdapter()
Creates a new adapter for an object of class 'Metric Container'. 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.

Returns:
the new adapter.
See Also:
MetricContainer
** Generated **

createMetricRuleAdapter

public Adapter createMetricRuleAdapter()
Creates a new adapter for an object of class 'Metric 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.

Returns:
the new adapter.
See Also:
MetricRule
** Generated **

createAuditedMetricTargetAdapter

public Adapter createAuditedMetricTargetAdapter()
Creates a new adapter for an object of class 'Audited Metric Target'. 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.

Returns:
the new adapter.
See Also:
AuditedMetricTarget
** Generated **

createAuditableAdapter

public Adapter createAuditableAdapter()
Creates a new adapter for an object of class 'Auditable'. 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.

Returns:
the new adapter.
See Also:
Auditable
** Generated **

createMeasurableAdapter

public Adapter createMeasurableAdapter()
Creates a new adapter for an object of class 'Measurable'. 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.

Returns:
the new adapter.
See Also:
Measurable
** Generated **

createEObjectAdapter

public Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.

Returns:
the new adapter.
** Generated **

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.