|
Generation Framework | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gmf.codegen.gmfgen.util.GMFGenSwitch
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.
GMFGenPackage| Field Summary | |
protected static GMFGenPackage |
modelPackage
The cached model package |
| Constructor Summary | |
GMFGenSwitch()
Creates an instance of the switch |
|
| Method Summary | |
java.lang.Object |
caseAttributes(Attributes object)
Returns the result of interpretting the object as an instance of 'Attributes' |
java.lang.Object |
caseBatchValidation(BatchValidation object)
Returns the result of interpretting the object as an instance of 'Batch Validation' |
java.lang.Object |
caseColorAttributes(ColorAttributes object)
Returns the result of interpretting the object as an instance of 'Color Attributes' |
java.lang.Object |
caseCompositeFeatureLabelModelFacet(CompositeFeatureLabelModelFacet object)
Returns the result of interpretting the object as an instance of 'Composite Feature Label Model Facet' |
java.lang.Object |
caseCompositeFeatureModelFacet(CompositeFeatureModelFacet object)
Returns the result of interpretting the object as an instance of 'Composite Feature Model Facet' |
java.lang.Object |
caseDefaultSizeAttributes(DefaultSizeAttributes object)
Returns the result of interpretting the object as an instance of 'Default Size Attributes' |
java.lang.Object |
caseDesignLabelModelFacet(DesignLabelModelFacet object)
Returns the result of interpretting the object as an instance of 'Design Label Model Facet' |
java.lang.Object |
caseEditorCandies(EditorCandies object)
Returns the result of interpretting the object as an instance of 'Editor Candies' |
java.lang.Object |
caseEditPartCandies(EditPartCandies object)
Returns the result of interpretting the object as an instance of 'Edit Part Candies' |
java.lang.Object |
caseElementType(ElementType object)
Returns the result of interpretting the object as an instance of 'Element Type' |
java.lang.Object |
caseEntryBase(EntryBase object)
Returns the result of interpretting the object as an instance of 'Entry Base' |
java.lang.Object |
caseFeatureLabelModelFacet(FeatureLabelModelFacet object)
Returns the result of interpretting the object as an instance of 'Feature Label Model Facet' |
java.lang.Object |
caseFeatureLinkModelFacet(FeatureLinkModelFacet object)
Returns the result of interpretting the object as an instance of 'Feature Link Model Facet' |
java.lang.Object |
caseFeatureModelFacet(FeatureModelFacet object)
Returns the result of interpretting the object as an instance of 'Feature Model Facet' |
java.lang.Object |
caseFigureViewmap(FigureViewmap object)
Returns the result of interpretting the object as an instance of 'Figure Viewmap' |
java.lang.Object |
caseGenAuditable(GenAuditable object)
Returns the result of interpretting the object as an instance of 'Gen Auditable' |
java.lang.Object |
caseGenAuditContainer(GenAuditContainer object)
Returns the result of interpretting the object as an instance of 'Gen Audit Container' |
java.lang.Object |
caseGenAuditedMetricTarget(GenAuditedMetricTarget object)
Returns the result of interpretting the object as an instance of 'Gen Audited Metric Target' |
java.lang.Object |
caseGenAuditRule(GenAuditRule object)
Returns the result of interpretting the object as an instance of 'Gen Audit Rule' |
java.lang.Object |
caseGenChildContainer(GenChildContainer object)
Returns the result of interpretting the object as an instance of 'Gen Child Container' |
java.lang.Object |
caseGenChildLabelNode(GenChildLabelNode object)
Returns the result of interpretting the object as an instance of 'Gen Child Label Node' |
java.lang.Object |
caseGenChildNode(GenChildNode object)
Returns the result of interpretting the object as an instance of 'Gen Child Node' |
java.lang.Object |
caseGenCommonBase(GenCommonBase object)
Returns the result of interpretting the object as an instance of 'Gen Common Base' |
java.lang.Object |
caseGenCompartment(GenCompartment object)
Returns the result of interpretting the object as an instance of 'Gen Compartment' |
java.lang.Object |
caseGenConstraint(GenConstraint object)
Returns the result of interpretting the object as an instance of 'Gen Constraint' |
java.lang.Object |
caseGenContainerBase(GenContainerBase object)
Returns the result of interpretting the object as an instance of 'Gen Container Base' |
java.lang.Object |
caseGenDiagram(GenDiagram object)
Returns the result of interpretting the object as an instance of 'Gen Diagram' |
java.lang.Object |
caseGenDiagramElementTarget(GenDiagramElementTarget object)
Returns the result of interpretting the object as an instance of 'Gen Diagram Element Target' |
java.lang.Object |
caseGenDomainAttributeTarget(GenDomainAttributeTarget object)
Returns the result of interpretting the object as an instance of 'Gen Domain Attribute Target' |
java.lang.Object |
caseGenDomainElementTarget(GenDomainElementTarget object)
Returns the result of interpretting the object as an instance of 'Gen Domain Element Target' |
java.lang.Object |
caseGenEditorGenerator(GenEditorGenerator object)
Returns the result of interpretting the object as an instance of 'Gen Editor Generator' |
java.lang.Object |
caseGenEditorView(GenEditorView object)
Returns the result of interpretting the object as an instance of 'Gen Editor View' |
java.lang.Object |
caseGenElementInitializer(GenElementInitializer object)
Returns the result of interpretting the object as an instance of 'Gen Element Initializer' |
java.lang.Object |
caseGenExpressionInterpreter(GenExpressionInterpreter object)
Returns the result of interpretting the object as an instance of 'Gen Expression Interpreter' |
java.lang.Object |
caseGenExpressionProviderBase(GenExpressionProviderBase object)
Returns the result of interpretting the object as an instance of 'Gen Expression Provider Base' |
java.lang.Object |
caseGenExpressionProviderContainer(GenExpressionProviderContainer object)
Returns the result of interpretting the object as an instance of 'Gen Expression Provider Container' |
java.lang.Object |
caseGenExternalNodeLabel(GenExternalNodeLabel object)
Returns the result of interpretting the object as an instance of 'Gen External Node Label' |
java.lang.Object |
caseGenFeatureSeqInitializer(GenFeatureSeqInitializer object)
Returns the result of interpretting the object as an instance of 'Gen Feature Seq Initializer' |
java.lang.Object |
caseGenFeatureValueSpec(GenFeatureValueSpec object)
Returns the result of interpretting the object as an instance of 'Gen Feature Value Spec' |
java.lang.Object |
caseGenJavaExpressionProvider(GenJavaExpressionProvider object)
Returns the result of interpretting the object as an instance of 'Gen Java Expression Provider' |
java.lang.Object |
caseGenLabel(GenLabel object)
Returns the result of interpretting the object as an instance of 'Gen Label' |
java.lang.Object |
caseGenLink(GenLink object)
Returns the result of interpretting the object as an instance of 'Gen Link' |
java.lang.Object |
caseGenLinkConstraints(GenLinkConstraints object)
Returns the result of interpretting the object as an instance of 'Gen Link Constraints' |
java.lang.Object |
caseGenLinkLabel(GenLinkLabel object)
Returns the result of interpretting the object as an instance of 'Gen Link Label' |
java.lang.Object |
caseGenMeasurable(GenMeasurable object)
Returns the result of interpretting the object as an instance of 'Gen Measurable' |
java.lang.Object |
caseGenMetricContainer(GenMetricContainer object)
Returns the result of interpretting the object as an instance of 'Gen Metric Container' |
java.lang.Object |
caseGenMetricRule(GenMetricRule object)
Returns the result of interpretting the object as an instance of 'Gen Metric Rule' |
java.lang.Object |
caseGenNode(GenNode object)
Returns the result of interpretting the object as an instance of 'Gen Node' |
java.lang.Object |
caseGenNodeLabel(GenNodeLabel object)
Returns the result of interpretting the object as an instance of 'Gen Node Label' |
java.lang.Object |
caseGenNotationElementTarget(GenNotationElementTarget object)
Returns the result of interpretting the object as an instance of 'Gen Notation Element Target' |
java.lang.Object |
caseGenPlugin(GenPlugin object)
Returns the result of interpretting the object as an instance of 'Gen Plugin' |
java.lang.Object |
caseGenRuleBase(GenRuleBase object)
Returns the result of interpretting the object as an instance of 'Gen Rule Base' |
java.lang.Object |
caseGenRuleContainerBase(GenRuleContainerBase object)
Returns the result of interpretting the object as an instance of 'Gen Rule Container Base' |
java.lang.Object |
caseGenRuleTarget(GenRuleTarget object)
Returns the result of interpretting the object as an instance of 'Gen Rule Target' |
java.lang.Object |
caseGenTopLevelNode(GenTopLevelNode object)
Returns the result of interpretting the object as an instance of 'Gen Top Level Node' |
java.lang.Object |
caseInnerClassViewmap(InnerClassViewmap object)
Returns the result of interpretting the object as an instance of 'Inner Class Viewmap' |
java.lang.Object |
caseLabelModelFacet(LabelModelFacet object)
Returns the result of interpretting the object as an instance of 'Label Model Facet' |
java.lang.Object |
caseLabelOffsetAttributes(LabelOffsetAttributes object)
Returns the result of interpretting the object as an instance of 'Label Offset Attributes' |
java.lang.Object |
caseLinkConstraints(LinkConstraints object)
Returns the result of interpretting the object as an instance of 'Link Constraints' |
java.lang.Object |
caseLinkModelFacet(LinkModelFacet object)
Returns the result of interpretting the object as an instance of 'Link Model Facet' |
java.lang.Object |
caseMeasurementUnit(MeasurementUnit object)
Returns the result of interpretting the object as an instance of 'Measurement Unit' |
java.lang.Object |
caseMetamodelType(MetamodelType object)
Returns the result of interpretting the object as an instance of 'Metamodel Type' |
java.lang.Object |
caseModelFacet(ModelFacet object)
Returns the result of interpretting the object as an instance of 'Model Facet' |
java.lang.Object |
caseNotationType(NotationType object)
Returns the result of interpretting the object as an instance of 'Notation Type' |
java.lang.Object |
casePackageNames(PackageNames object)
Returns the result of interpretting the object as an instance of 'Package Names' |
java.lang.Object |
casePalette(Palette object)
Returns the result of interpretting the object as an instance of 'Palette' |
java.lang.Object |
caseParentAssignedViewmap(ParentAssignedViewmap object)
Returns the result of interpretting the object as an instance of 'Parent Assigned Viewmap' |
java.lang.Object |
caseProviderClassNames(ProviderClassNames object)
Returns the result of interpretting the object as an instance of 'Provider Class Names' |
java.lang.Object |
caseResizeConstraints(ResizeConstraints object)
Returns the result of interpretting the object as an instance of 'Resize Constraints' |
java.lang.Object |
caseSeparator(Separator object)
Returns the result of interpretting the object as an instance of 'Separator' |
java.lang.Object |
caseShortcuts(Shortcuts object)
Returns the result of interpretting the object as an instance of 'Shortcuts' |
java.lang.Object |
caseSnippetViewmap(SnippetViewmap object)
Returns the result of interpretting the object as an instance of 'Snippet Viewmap' |
java.lang.Object |
caseSpecializationType(SpecializationType object)
Returns the result of interpretting the object as an instance of 'Specialization Type' |
java.lang.Object |
caseStyleAttributes(StyleAttributes object)
Returns the result of interpretting the object as an instance of 'Style Attributes' |
java.lang.Object |
caseToolEntry(ToolEntry object)
Returns the result of interpretting the object as an instance of 'Tool Entry' |
java.lang.Object |
caseToolGroup(ToolGroup object)
Returns the result of interpretting the object as an instance of 'Tool Group' |
java.lang.Object |
caseToolGroupItem(ToolGroupItem object)
Returns the result of interpretting the object as an instance of 'Tool Group Item' |
java.lang.Object |
caseTypeLinkModelFacet(TypeLinkModelFacet object)
Returns the result of interpretting the object as an instance of 'Type Link Model Facet' |
java.lang.Object |
caseTypeModelFacet(TypeModelFacet object)
Returns the result of interpretting the object as an instance of 'Type Model Facet' |
java.lang.Object |
caseValueExpression(ValueExpression object)
Returns the result of interpretting the object as an instance of 'Value Expression' |
java.lang.Object |
caseViewmap(Viewmap object)
Returns the result of interpretting the object as an instance of 'Viewmap' |
java.lang.Object |
defaultCase(EObject object)
Returns the result of interpretting the object as an instance of 'EObject' |
protected java.lang.Object |
doSwitch(EClass theEClass,
EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
java.lang.Object |
doSwitch(EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
protected java.lang.Object |
doSwitch(int classifierID,
EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static GMFGenPackage modelPackage
| Constructor Detail |
public GMFGenSwitch()
| Method Detail |
public java.lang.Object doSwitch(EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
protected java.lang.Object doSwitch(EClass theEClass,
EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
protected java.lang.Object doSwitch(int classifierID,
EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.public java.lang.Object caseGenEditorGenerator(GenEditorGenerator object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenDiagram(GenDiagram object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenEditorView(GenEditorView object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseBatchValidation(BatchValidation object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseProviderClassNames(ProviderClassNames object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseShortcuts(Shortcuts object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object casePackageNames(PackageNames object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseLinkConstraints(LinkConstraints object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseEditorCandies(EditorCandies object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseEditPartCandies(EditPartCandies object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseMeasurementUnit(MeasurementUnit object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenPlugin(GenPlugin object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseElementType(ElementType object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseMetamodelType(MetamodelType object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseSpecializationType(SpecializationType object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseNotationType(NotationType object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenCommonBase(GenCommonBase object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenContainerBase(GenContainerBase object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenNode(GenNode object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenTopLevelNode(GenTopLevelNode object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenChildNode(GenChildNode object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenChildLabelNode(GenChildLabelNode object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenCompartment(GenCompartment object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenChildContainer(GenChildContainer object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenLink(GenLink object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenLabel(GenLabel object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenNodeLabel(GenNodeLabel object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenExternalNodeLabel(GenExternalNodeLabel object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenLinkLabel(GenLinkLabel object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseModelFacet(ModelFacet object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseLinkModelFacet(LinkModelFacet object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseLabelModelFacet(LabelModelFacet object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseTypeModelFacet(TypeModelFacet object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseFeatureModelFacet(FeatureModelFacet object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseFeatureLabelModelFacet(FeatureLabelModelFacet object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCompositeFeatureModelFacet(CompositeFeatureModelFacet object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCompositeFeatureLabelModelFacet(CompositeFeatureLabelModelFacet object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseDesignLabelModelFacet(DesignLabelModelFacet object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseTypeLinkModelFacet(TypeLinkModelFacet object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseFeatureLinkModelFacet(FeatureLinkModelFacet object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseViewmap(Viewmap object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseAttributes(Attributes object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseColorAttributes(ColorAttributes object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseStyleAttributes(StyleAttributes object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseResizeConstraints(ResizeConstraints object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseDefaultSizeAttributes(DefaultSizeAttributes object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseLabelOffsetAttributes(LabelOffsetAttributes object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseFigureViewmap(FigureViewmap object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseSnippetViewmap(SnippetViewmap object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseInnerClassViewmap(InnerClassViewmap object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseParentAssignedViewmap(ParentAssignedViewmap object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object casePalette(Palette object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseEntryBase(EntryBase object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseToolEntry(ToolEntry object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseToolGroupItem(ToolGroupItem object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseSeparator(Separator object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseToolGroup(ToolGroup object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenElementInitializer(GenElementInitializer object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenFeatureSeqInitializer(GenFeatureSeqInitializer object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenFeatureValueSpec(GenFeatureValueSpec object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenLinkConstraints(GenLinkConstraints object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenRuleContainerBase(GenRuleContainerBase object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenAuditContainer(GenAuditContainer object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenAuditRule(GenAuditRule object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenRuleTarget(GenRuleTarget object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenDomainElementTarget(GenDomainElementTarget object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenDiagramElementTarget(GenDiagramElementTarget object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenDomainAttributeTarget(GenDomainAttributeTarget object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenNotationElementTarget(GenNotationElementTarget object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenMetricContainer(GenMetricContainer object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenMetricRule(GenMetricRule object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenAuditedMetricTarget(GenAuditedMetricTarget object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenAuditable(GenAuditable object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenMeasurable(GenMeasurable object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenExpressionProviderContainer(GenExpressionProviderContainer object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenExpressionProviderBase(GenExpressionProviderBase object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenJavaExpressionProvider(GenJavaExpressionProvider object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenExpressionInterpreter(GenExpressionInterpreter object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenRuleBase(GenRuleBase object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseValueExpression(ValueExpression object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseGenConstraint(GenConstraint object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object defaultCase(EObject object)
object - the target of the switch.
GMFGenSwitch.doSwitch(org.eclipse.emf.ecore.EObject)
|
Generation Framework | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.