|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecore.util.Switch<T>
org.eclipse.gmf.mappings.util.GMFMapSwitch<T>
public class GMFMapSwitch<T>
The Switch for the model's inheritance hierarchy.
It supports the call doSwitch(object)
to invoke the caseXXX
method for each class of the model,
starting with the actual class of the object
and proceeding up the inheritance hierarchy
until a non-null result is returned,
which is the result of the switch.
GMFMapPackage
Field Summary | |
---|---|
protected static GMFMapPackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
GMFMapSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
T |
caseAppearanceSteward(AppearanceSteward object)
Returns the result of interpreting the object as an instance of 'Appearance Steward'. |
T |
caseAuditable(Auditable object)
Returns the result of interpreting the object as an instance of 'Auditable'. |
T |
caseAuditContainer(AuditContainer object)
Returns the result of interpreting the object as an instance of 'Audit Container'. |
T |
caseAuditedMetricTarget(AuditedMetricTarget object)
Returns the result of interpreting the object as an instance of 'Audited Metric Target'. |
T |
caseAuditRule(AuditRule object)
Returns the result of interpreting the object as an instance of 'Audit Rule'. |
T |
caseCanvasMapping(CanvasMapping object)
Returns the result of interpreting the object as an instance of 'Canvas Mapping'. |
T |
caseChildReference(ChildReference object)
Returns the result of interpreting the object as an instance of 'Child Reference'. |
T |
caseCompartmentMapping(CompartmentMapping object)
Returns the result of interpreting the object as an instance of 'Compartment Mapping'. |
T |
caseConstraint(Constraint object)
Returns the result of interpreting the object as an instance of 'Constraint'. |
T |
caseDesignLabelMapping(DesignLabelMapping object)
Returns the result of interpreting the object as an instance of 'Design Label Mapping'. |
T |
caseDiagramElementTarget(DiagramElementTarget object)
Returns the result of interpreting the object as an instance of 'Diagram Element Target'. |
T |
caseDomainAttributeTarget(DomainAttributeTarget object)
Returns the result of interpreting the object as an instance of 'Domain Attribute Target'. |
T |
caseDomainElementTarget(DomainElementTarget object)
Returns the result of interpreting the object as an instance of 'Domain Element Target'. |
T |
caseElementInitializer(ElementInitializer object)
Returns the result of interpreting the object as an instance of 'Element Initializer'. |
T |
caseExpressionLabelMapping(ExpressionLabelMapping object)
Returns the result of interpreting the object as an instance of 'Expression Label Mapping'. |
T |
caseFeatureInitializer(FeatureInitializer object)
Returns the result of interpreting the object as an instance of 'Feature Initializer'. |
T |
caseFeatureLabelMapping(FeatureLabelMapping object)
Returns the result of interpreting the object as an instance of 'Feature Label Mapping'. |
T |
caseFeatureSeqInitializer(FeatureSeqInitializer object)
Returns the result of interpreting the object as an instance of 'Feature Seq Initializer'. |
T |
caseFeatureValueSpec(FeatureValueSpec object)
Returns the result of interpreting the object as an instance of 'Feature Value Spec'. |
T |
caseLabelMapping(LabelMapping object)
Returns the result of interpreting the object as an instance of 'Label Mapping'. |
T |
caseLinkConstraints(LinkConstraints object)
Returns the result of interpreting the object as an instance of 'Link Constraints'. |
T |
caseLinkMapping(LinkMapping object)
Returns the result of interpreting the object as an instance of 'Link Mapping'. |
T |
caseMapping(Mapping object)
Returns the result of interpreting the object as an instance of 'Mapping'. |
T |
caseMappingEntry(MappingEntry object)
Returns the result of interpreting the object as an instance of 'Mapping Entry'. |
T |
caseMeasurable(Measurable object)
Returns the result of interpreting the object as an instance of 'Measurable'. |
T |
caseMenuOwner(MenuOwner object)
Returns the result of interpreting the object as an instance of 'Menu Owner'. |
T |
caseMetricContainer(MetricContainer object)
Returns the result of interpreting the object as an instance of 'Metric Container'. |
T |
caseMetricRule(MetricRule object)
Returns the result of interpreting the object as an instance of 'Metric Rule'. |
T |
caseNeedsContainment(NeedsContainment object)
Returns the result of interpreting the object as an instance of 'Needs Containment'. |
T |
caseNodeMapping(NodeMapping object)
Returns the result of interpreting the object as an instance of 'Node Mapping'. |
T |
caseNodeReference(NodeReference object)
Returns the result of interpreting the object as an instance of 'Node Reference'. |
T |
caseNotationElementTarget(NotationElementTarget object)
Returns the result of interpreting the object as an instance of 'Notation Element Target'. |
T |
caseOclChoiceLabelMapping(OclChoiceLabelMapping object)
Returns the result of interpreting the object as an instance of 'Ocl Choice Label Mapping'. |
T |
caseReferenceNewElementSpec(ReferenceNewElementSpec object)
Returns the result of interpreting the object as an instance of 'Reference New Element Spec'. |
T |
caseRuleBase(RuleBase object)
Returns the result of interpreting the object as an instance of 'Rule Base'. |
T |
caseToolOwner(ToolOwner object)
Returns the result of interpreting the object as an instance of 'Tool Owner'. |
T |
caseTopNodeReference(TopNodeReference object)
Returns the result of interpreting the object as an instance of 'Top Node Reference'. |
T |
caseValueExpression(ValueExpression object)
Returns the result of interpreting the object as an instance of 'Value Expression'. |
T |
caseVisualEffectMapping(VisualEffectMapping object)
Returns the result of interpreting the object as an instance of 'Visual Effect Mapping'. |
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. |
protected T |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package. |
Methods inherited from class org.eclipse.emf.ecore.util.Switch |
---|
doSwitch, doSwitch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static GMFMapPackage modelPackage
Constructor Detail |
---|
public GMFMapSwitch()
Method Detail |
---|
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T>
protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
doSwitch
in class org.eclipse.emf.ecore.util.Switch<T>
caseXXX
call.public T caseMappingEntry(MappingEntry object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNeedsContainment(NeedsContainment object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNodeReference(NodeReference object)
object
- the target of the switch.
doSwitch(EObject)
public T caseChildReference(ChildReference object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTopNodeReference(TopNodeReference object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNodeMapping(NodeMapping object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCompartmentMapping(CompartmentMapping object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLinkMapping(LinkMapping object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCanvasMapping(CanvasMapping object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLabelMapping(LabelMapping object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFeatureLabelMapping(FeatureLabelMapping object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOclChoiceLabelMapping(OclChoiceLabelMapping object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDesignLabelMapping(DesignLabelMapping object)
object
- the target of the switch.
doSwitch(EObject)
public T caseExpressionLabelMapping(ExpressionLabelMapping object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMapping(Mapping object)
object
- the target of the switch.
doSwitch(EObject)
public T caseConstraint(Constraint object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLinkConstraints(LinkConstraints object)
object
- the target of the switch.
doSwitch(EObject)
public T caseValueExpression(ValueExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T caseElementInitializer(ElementInitializer object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFeatureSeqInitializer(FeatureSeqInitializer object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFeatureInitializer(FeatureInitializer object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFeatureValueSpec(FeatureValueSpec object)
object
- the target of the switch.
doSwitch(EObject)
public T caseReferenceNewElementSpec(ReferenceNewElementSpec object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMenuOwner(MenuOwner object)
object
- the target of the switch.
doSwitch(EObject)
public T caseToolOwner(ToolOwner object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAppearanceSteward(AppearanceSteward object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAuditContainer(AuditContainer object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAuditRule(AuditRule object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRuleBase(RuleBase object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDomainElementTarget(DomainElementTarget object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDomainAttributeTarget(DomainAttributeTarget object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDiagramElementTarget(DiagramElementTarget object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNotationElementTarget(NotationElementTarget object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMetricContainer(MetricContainer object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMetricRule(MetricRule object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAuditedMetricTarget(AuditedMetricTarget object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAuditable(Auditable object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMeasurable(Measurable object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVisualEffectMapping(VisualEffectMapping object)
object
- the target of the switch.
doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T>
object
- the target of the switch.
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |