Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2008-12-12 17:03:46 +0000
committeratikhomirov2008-12-12 17:03:46 +0000
commit2064b3fca545964b3e549a15bf5cb1eeab79991a (patch)
tree0787f9cefb26b04c74bc0be8efe97483e6dd0d30
parent4cac7b15e21ea6c15dde696a34b6259ccf09c6be (diff)
downloadorg.eclipse.gmf-tooling-2064b3fca545964b3e549a15bf5cb1eeab79991a.tar.gz
org.eclipse.gmf-tooling-2064b3fca545964b3e549a15bf5cb1eeab79991a.tar.xz
org.eclipse.gmf-tooling-2064b3fca545964b3e549a15bf5cb1eeab79991a.zip
[258455] Allow to reference figure models (e.g. GMFGraph) from GMFGenv20081212-1717
-rw-r--r--plugins/org.eclipse.gmf.codegen/models/gmfgen.ecore7
-rw-r--r--plugins/org.eclipse.gmf.codegen/models/gmfgen.genmodel3
-rw-r--r--plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GMFGenFactory.java9
-rw-r--r--plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GMFGenPackage.java248
-rw-r--r--plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/ModeledViewmap.java58
-rw-r--r--plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/GMFGenFactoryImpl.java11
-rw-r--r--plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/GMFGenPackageImpl.java178
-rw-r--r--plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/ModeledViewmapImpl.java160
-rw-r--r--plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenAdapterFactory.java18
-rw-r--r--plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenSwitch.java22
10 files changed, 553 insertions, 161 deletions
diff --git a/plugins/org.eclipse.gmf.codegen/models/gmfgen.ecore b/plugins/org.eclipse.gmf.codegen/models/gmfgen.ecore
index 6c771a41e..34c37931e 100644
--- a/plugins/org.eclipse.gmf.codegen/models/gmfgen.ecore
+++ b/plugins/org.eclipse.gmf.codegen/models/gmfgen.ecore
@@ -1293,6 +1293,13 @@
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ModeledViewmap" eSuperTypes="#//Viewmap">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="NOTE: Provisional API. Allows to use arbitrary model element to keep information about a figure. May (but not necessarily will) point to e.g. GMFGraph model elements. It's up to template author to handle specific kinds of figure models"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="figureModel" lowerBound="1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
+ </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ValueExpression">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="Expression as a is textual statement which results in a value when evaluated in a context"/>
diff --git a/plugins/org.eclipse.gmf.codegen/models/gmfgen.genmodel b/plugins/org.eclipse.gmf.codegen/models/gmfgen.genmodel
index 8e7282ae6..2b1b6877d 100644
--- a/plugins/org.eclipse.gmf.codegen/models/gmfgen.genmodel
+++ b/plugins/org.eclipse.gmf.codegen/models/gmfgen.genmodel
@@ -650,6 +650,9 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute gmfgen.ecore#//ParentAssignedViewmap/setterName"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute gmfgen.ecore#//ParentAssignedViewmap/figureQualifiedClassName"/>
</genClasses>
+ <genClasses ecoreClass="gmfgen.ecore#//ModeledViewmap">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference gmfgen.ecore#//ModeledViewmap/figureModel"/>
+ </genClasses>
<genClasses ecoreClass="gmfgen.ecore#//ValueExpression" labelFeature="#//gmfgen/ValueExpression/body">
<genFeatures createChild="false" propertyMultiLine="true" ecoreFeature="ecore:EAttribute gmfgen.ecore#//ValueExpression/body"/>
<genFeatures property="None" createChild="false" ecoreFeature="ecore:EAttribute gmfgen.ecore#//ValueExpression/langName"/>
diff --git a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GMFGenFactory.java b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GMFGenFactory.java
index 9e2f80964..f6f370ef4 100644
--- a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GMFGenFactory.java
+++ b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GMFGenFactory.java
@@ -422,6 +422,15 @@ public interface GMFGenFactory extends EFactory {
ParentAssignedViewmap createParentAssignedViewmap();
/**
+ * Returns a new object of class '<em>Modeled Viewmap</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Modeled Viewmap</em>'.
+ * @generated
+ */
+ ModeledViewmap createModeledViewmap();
+
+ /**
* Returns a new object of class '<em>Palette</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GMFGenPackage.java b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GMFGenPackage.java
index 6ae5f6a9f..625ce93d3 100644
--- a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GMFGenPackage.java
+++ b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/GMFGenPackage.java
@@ -6645,6 +6645,61 @@ public interface GMFGenPackage extends EPackage {
int PARENT_ASSIGNED_VIEWMAP_FEATURE_COUNT = VIEWMAP_FEATURE_COUNT + 3;
/**
+ * The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.impl.ModeledViewmapImpl <em>Modeled Viewmap</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.gmf.codegen.gmfgen.impl.ModeledViewmapImpl
+ * @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getModeledViewmap()
+ * @generated
+ */
+ int MODELED_VIEWMAP = 66;
+
+ /**
+ * The feature id for the '<em><b>Attributes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MODELED_VIEWMAP__ATTRIBUTES = VIEWMAP__ATTRIBUTES;
+
+ /**
+ * The feature id for the '<em><b>Required Plugin IDs</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MODELED_VIEWMAP__REQUIRED_PLUGIN_IDS = VIEWMAP__REQUIRED_PLUGIN_IDS;
+
+ /**
+ * The feature id for the '<em><b>Layout Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MODELED_VIEWMAP__LAYOUT_TYPE = VIEWMAP__LAYOUT_TYPE;
+
+ /**
+ * The feature id for the '<em><b>Figure Model</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MODELED_VIEWMAP__FIGURE_MODEL = VIEWMAP_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Modeled Viewmap</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MODELED_VIEWMAP_FEATURE_COUNT = VIEWMAP_FEATURE_COUNT + 1;
+
+ /**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.impl.PaletteImpl <em>Palette</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -6652,7 +6707,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getPalette()
* @generated
*/
- int PALETTE = 68;
+ int PALETTE = 69;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.impl.EntryBaseImpl <em>Entry Base</em>}' class.
@@ -6662,7 +6717,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getEntryBase()
* @generated
*/
- int ENTRY_BASE = 69;
+ int ENTRY_BASE = 70;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.impl.ToolEntryImpl <em>Tool Entry</em>}' class.
@@ -6672,7 +6727,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getToolEntry()
* @generated
*/
- int TOOL_ENTRY = 71;
+ int TOOL_ENTRY = 72;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.impl.ToolGroupImpl <em>Tool Group</em>}' class.
@@ -6682,7 +6737,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getToolGroup()
* @generated
*/
- int TOOL_GROUP = 75;
+ int TOOL_GROUP = 76;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.impl.ValueExpressionImpl <em>Value Expression</em>}' class.
@@ -6692,7 +6747,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getValueExpression()
* @generated
*/
- int VALUE_EXPRESSION = 66;
+ int VALUE_EXPRESSION = 67;
/**
* The feature id for the '<em><b>Body</b></em>' attribute.
@@ -6738,7 +6793,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenConstraint()
* @generated
*/
- int GEN_CONSTRAINT = 67;
+ int GEN_CONSTRAINT = 68;
/**
* The feature id for the '<em><b>Body</b></em>' attribute.
@@ -6892,7 +6947,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getAbstractToolEntry()
* @generated
*/
- int ABSTRACT_TOOL_ENTRY = 70;
+ int ABSTRACT_TOOL_ENTRY = 71;
/**
* The feature id for the '<em><b>Title</b></em>' attribute.
@@ -7109,7 +7164,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getStandardEntry()
* @generated
*/
- int STANDARD_ENTRY = 72;
+ int STANDARD_ENTRY = 73;
/**
* The feature id for the '<em><b>Title</b></em>' attribute.
@@ -7218,7 +7273,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getToolGroupItem()
* @generated
*/
- int TOOL_GROUP_ITEM = 73;
+ int TOOL_GROUP_ITEM = 74;
/**
* The feature id for the '<em><b>Group</b></em>' container reference.
@@ -7246,7 +7301,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getSeparator()
* @generated
*/
- int SEPARATOR = 74;
+ int SEPARATOR = 75;
/**
* The feature id for the '<em><b>Group</b></em>' container reference.
@@ -7382,7 +7437,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenElementInitializer()
* @generated
*/
- int GEN_ELEMENT_INITIALIZER = 76;
+ int GEN_ELEMENT_INITIALIZER = 77;
/**
* The feature id for the '<em><b>Type Model Facet</b></em>' reference.
@@ -7410,7 +7465,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenFeatureSeqInitializer()
* @generated
*/
- int GEN_FEATURE_SEQ_INITIALIZER = 77;
+ int GEN_FEATURE_SEQ_INITIALIZER = 78;
/**
* The feature id for the '<em><b>Type Model Facet</b></em>' reference.
@@ -7465,7 +7520,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenFeatureValueSpec()
* @generated
*/
- int GEN_FEATURE_VALUE_SPEC = 78;
+ int GEN_FEATURE_VALUE_SPEC = 79;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.GenFeatureInitializer <em>Gen Feature Initializer</em>}' class.
@@ -7475,7 +7530,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenFeatureInitializer()
* @generated
*/
- int GEN_FEATURE_INITIALIZER = 80;
+ int GEN_FEATURE_INITIALIZER = 81;
/**
* The feature id for the '<em><b>Feature</b></em>' reference.
@@ -7548,7 +7603,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenReferenceNewElementSpec()
* @generated
*/
- int GEN_REFERENCE_NEW_ELEMENT_SPEC = 79;
+ int GEN_REFERENCE_NEW_ELEMENT_SPEC = 80;
/**
* The feature id for the '<em><b>Feature</b></em>' reference.
@@ -7594,7 +7649,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenLinkConstraints()
* @generated
*/
- int GEN_LINK_CONSTRAINTS = 81;
+ int GEN_LINK_CONSTRAINTS = 82;
/**
* The feature id for the '<em><b>Link</b></em>' container reference.
@@ -7640,7 +7695,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenAuditRoot()
* @generated
*/
- int GEN_AUDIT_ROOT = 82;
+ int GEN_AUDIT_ROOT = 83;
/**
* The feature id for the '<em><b>Editor Gen</b></em>' container reference.
@@ -7695,7 +7750,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenAuditContainer()
* @generated
*/
- int GEN_AUDIT_CONTAINER = 83;
+ int GEN_AUDIT_CONTAINER = 84;
/**
* The feature id for the '<em><b>Root</b></em>' container reference.
@@ -7768,7 +7823,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenRuleBase()
* @generated
*/
- int GEN_RULE_BASE = 84;
+ int GEN_RULE_BASE = 85;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -7805,7 +7860,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenAuditRule()
* @generated
*/
- int GEN_AUDIT_RULE = 85;
+ int GEN_AUDIT_RULE = 86;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -7923,7 +7978,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenRuleTarget()
* @generated
*/
- int GEN_RULE_TARGET = 86;
+ int GEN_RULE_TARGET = 87;
/**
* The number of structural features of the '<em>Gen Rule Target</em>' class.
@@ -7942,7 +7997,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenAuditable()
* @generated
*/
- int GEN_AUDITABLE = 94;
+ int GEN_AUDITABLE = 95;
/**
* The feature id for the '<em><b>Context Selector</b></em>' reference.
@@ -7970,7 +8025,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenDomainElementTarget()
* @generated
*/
- int GEN_DOMAIN_ELEMENT_TARGET = 87;
+ int GEN_DOMAIN_ELEMENT_TARGET = 88;
/**
* The feature id for the '<em><b>Context Selector</b></em>' reference.
@@ -8007,7 +8062,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenDiagramElementTarget()
* @generated
*/
- int GEN_DIAGRAM_ELEMENT_TARGET = 88;
+ int GEN_DIAGRAM_ELEMENT_TARGET = 89;
/**
* The feature id for the '<em><b>Context Selector</b></em>' reference.
@@ -8044,7 +8099,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenDomainAttributeTarget()
* @generated
*/
- int GEN_DOMAIN_ATTRIBUTE_TARGET = 89;
+ int GEN_DOMAIN_ATTRIBUTE_TARGET = 90;
/**
* The feature id for the '<em><b>Context Selector</b></em>' reference.
@@ -8090,7 +8145,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenNotationElementTarget()
* @generated
*/
- int GEN_NOTATION_ELEMENT_TARGET = 90;
+ int GEN_NOTATION_ELEMENT_TARGET = 91;
/**
* The feature id for the '<em><b>Context Selector</b></em>' reference.
@@ -8127,7 +8182,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenMetricContainer()
* @generated
*/
- int GEN_METRIC_CONTAINER = 91;
+ int GEN_METRIC_CONTAINER = 92;
/**
* The feature id for the '<em><b>Editor Gen</b></em>' container reference.
@@ -8164,7 +8219,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenMetricRule()
* @generated
*/
- int GEN_METRIC_RULE = 92;
+ int GEN_METRIC_RULE = 93;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -8255,7 +8310,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenAuditedMetricTarget()
* @generated
*/
- int GEN_AUDITED_METRIC_TARGET = 93;
+ int GEN_AUDITED_METRIC_TARGET = 94;
/**
* The feature id for the '<em><b>Context Selector</b></em>' reference.
@@ -8301,7 +8356,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenAuditContext()
* @generated
*/
- int GEN_AUDIT_CONTEXT = 95;
+ int GEN_AUDIT_CONTEXT = 96;
/**
* The feature id for the '<em><b>Root</b></em>' container reference.
@@ -8356,7 +8411,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenMeasurable()
* @generated
*/
- int GEN_MEASURABLE = 96;
+ int GEN_MEASURABLE = 97;
/**
* The number of structural features of the '<em>Gen Measurable</em>' class.
@@ -8375,7 +8430,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenExpressionProviderContainer()
* @generated
*/
- int GEN_EXPRESSION_PROVIDER_CONTAINER = 97;
+ int GEN_EXPRESSION_PROVIDER_CONTAINER = 98;
/**
* The feature id for the '<em><b>Expressions Package Name</b></em>' attribute.
@@ -8430,7 +8485,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenExpressionProviderBase()
* @generated
*/
- int GEN_EXPRESSION_PROVIDER_BASE = 98;
+ int GEN_EXPRESSION_PROVIDER_BASE = 99;
/**
* The feature id for the '<em><b>Expressions</b></em>' containment reference list.
@@ -8467,7 +8522,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenJavaExpressionProvider()
* @generated
*/
- int GEN_JAVA_EXPRESSION_PROVIDER = 99;
+ int GEN_JAVA_EXPRESSION_PROVIDER = 100;
/**
* The feature id for the '<em><b>Expressions</b></em>' containment reference list.
@@ -8522,7 +8577,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenExpressionInterpreter()
* @generated
*/
- int GEN_EXPRESSION_INTERPRETER = 100;
+ int GEN_EXPRESSION_INTERPRETER = 101;
/**
* The feature id for the '<em><b>Expressions</b></em>' containment reference list.
@@ -8577,7 +8632,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenLiteralExpressionProvider()
* @generated
*/
- int GEN_LITERAL_EXPRESSION_PROVIDER = 101;
+ int GEN_LITERAL_EXPRESSION_PROVIDER = 102;
/**
* The feature id for the '<em><b>Expressions</b></em>' containment reference list.
@@ -8614,7 +8669,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenDomainModelNavigator()
* @generated
*/
- int GEN_DOMAIN_MODEL_NAVIGATOR = 102;
+ int GEN_DOMAIN_MODEL_NAVIGATOR = 103;
/**
* The feature id for the '<em><b>Generate Domain Model Navigator</b></em>' attribute.
@@ -8705,7 +8760,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenNavigator()
* @generated
*/
- int GEN_NAVIGATOR = 103;
+ int GEN_NAVIGATOR = 104;
/**
* The feature id for the '<em><b>Generate Domain Model Navigator</b></em>' attribute.
@@ -8958,7 +9013,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenNavigatorChildReference()
* @generated
*/
- int GEN_NAVIGATOR_CHILD_REFERENCE = 104;
+ int GEN_NAVIGATOR_CHILD_REFERENCE = 105;
/**
* The feature id for the '<em><b>Navigator</b></em>' container reference.
@@ -9040,7 +9095,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenNavigatorPath()
* @generated
*/
- int GEN_NAVIGATOR_PATH = 105;
+ int GEN_NAVIGATOR_PATH = 106;
/**
* The feature id for the '<em><b>Segments</b></em>' containment reference list.
@@ -9068,7 +9123,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenNavigatorPathSegment()
* @generated
*/
- int GEN_NAVIGATOR_PATH_SEGMENT = 106;
+ int GEN_NAVIGATOR_PATH_SEGMENT = 107;
/**
* The feature id for the '<em><b>Path</b></em>' container reference.
@@ -9114,7 +9169,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenPropertySheet()
* @generated
*/
- int GEN_PROPERTY_SHEET = 107;
+ int GEN_PROPERTY_SHEET = 108;
/**
* The feature id for the '<em><b>Editor Gen</b></em>' container reference.
@@ -9187,7 +9242,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenPropertyTab()
* @generated
*/
- int GEN_PROPERTY_TAB = 108;
+ int GEN_PROPERTY_TAB = 109;
/**
* The feature id for the '<em><b>Sheet</b></em>' container reference.
@@ -9233,7 +9288,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenStandardPropertyTab()
* @generated
*/
- int GEN_STANDARD_PROPERTY_TAB = 109;
+ int GEN_STANDARD_PROPERTY_TAB = 110;
/**
* The feature id for the '<em><b>Sheet</b></em>' container reference.
@@ -9279,7 +9334,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenCustomPropertyTab()
* @generated
*/
- int GEN_CUSTOM_PROPERTY_TAB = 110;
+ int GEN_CUSTOM_PROPERTY_TAB = 111;
/**
* The feature id for the '<em><b>Sheet</b></em>' container reference.
@@ -9343,7 +9398,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenPropertyTabFilter()
* @generated
*/
- int GEN_PROPERTY_TAB_FILTER = 111;
+ int GEN_PROPERTY_TAB_FILTER = 112;
/**
* The feature id for the '<em><b>Tab</b></em>' container reference.
@@ -9371,7 +9426,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getTypeTabFilter()
* @generated
*/
- int TYPE_TAB_FILTER = 112;
+ int TYPE_TAB_FILTER = 113;
/**
* The feature id for the '<em><b>Tab</b></em>' container reference.
@@ -9417,7 +9472,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getCustomTabFilter()
* @generated
*/
- int CUSTOM_TAB_FILTER = 113;
+ int CUSTOM_TAB_FILTER = 114;
/**
* The feature id for the '<em><b>Tab</b></em>' container reference.
@@ -9454,7 +9509,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenContributionItem()
* @generated
*/
- int GEN_CONTRIBUTION_ITEM = 114;
+ int GEN_CONTRIBUTION_ITEM = 115;
/**
* The feature id for the '<em><b>Owner</b></em>' container reference.
@@ -9482,7 +9537,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenSharedContributionItem()
* @generated
*/
- int GEN_SHARED_CONTRIBUTION_ITEM = 115;
+ int GEN_SHARED_CONTRIBUTION_ITEM = 116;
/**
* The feature id for the '<em><b>Owner</b></em>' container reference.
@@ -9519,7 +9574,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenGroupMarker()
* @generated
*/
- int GEN_GROUP_MARKER = 116;
+ int GEN_GROUP_MARKER = 117;
/**
* The feature id for the '<em><b>Owner</b></em>' container reference.
@@ -9556,7 +9611,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenSeparator()
* @generated
*/
- int GEN_SEPARATOR = 117;
+ int GEN_SEPARATOR = 118;
/**
* The feature id for the '<em><b>Owner</b></em>' container reference.
@@ -9593,7 +9648,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenCustomAction()
* @generated
*/
- int GEN_CUSTOM_ACTION = 118;
+ int GEN_CUSTOM_ACTION = 119;
/**
* The feature id for the '<em><b>Owner</b></em>' container reference.
@@ -9648,7 +9703,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenCommandAction()
* @generated
*/
- int GEN_COMMAND_ACTION = 119;
+ int GEN_COMMAND_ACTION = 120;
/**
* The feature id for the '<em><b>Owner</b></em>' container reference.
@@ -9694,7 +9749,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenAction()
* @generated
*/
- int GEN_ACTION = 120;
+ int GEN_ACTION = 121;
/**
* The feature id for the '<em><b>Owner</b></em>' container reference.
@@ -9740,7 +9795,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getLoadResourceAction()
* @generated
*/
- int LOAD_RESOURCE_ACTION = 121;
+ int LOAD_RESOURCE_ACTION = 122;
/**
* The feature id for the '<em><b>Owner</b></em>' container reference.
@@ -9786,7 +9841,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getInitDiagramAction()
* @generated
*/
- int INIT_DIAGRAM_ACTION = 122;
+ int INIT_DIAGRAM_ACTION = 123;
/**
* The feature id for the '<em><b>Owner</b></em>' container reference.
@@ -9832,7 +9887,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getCreateShortcutAction()
* @generated
*/
- int CREATE_SHORTCUT_ACTION = 123;
+ int CREATE_SHORTCUT_ACTION = 124;
/**
* The feature id for the '<em><b>Owner</b></em>' container reference.
@@ -9878,7 +9933,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenActionFactoryContributionItem()
* @generated
*/
- int GEN_ACTION_FACTORY_CONTRIBUTION_ITEM = 124;
+ int GEN_ACTION_FACTORY_CONTRIBUTION_ITEM = 125;
/**
* The feature id for the '<em><b>Owner</b></em>' container reference.
@@ -9915,7 +9970,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenContributionManager()
* @generated
*/
- int GEN_CONTRIBUTION_MANAGER = 125;
+ int GEN_CONTRIBUTION_MANAGER = 126;
/**
* The feature id for the '<em><b>ID</b></em>' attribute.
@@ -9961,7 +10016,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenMenuManager()
* @generated
*/
- int GEN_MENU_MANAGER = 126;
+ int GEN_MENU_MANAGER = 127;
/**
* The feature id for the '<em><b>ID</b></em>' attribute.
@@ -10025,7 +10080,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenToolBarManager()
* @generated
*/
- int GEN_TOOL_BAR_MANAGER = 127;
+ int GEN_TOOL_BAR_MANAGER = 128;
/**
* The feature id for the '<em><b>ID</b></em>' attribute.
@@ -10080,7 +10135,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenContextMenu()
* @generated
*/
- int GEN_CONTEXT_MENU = 128;
+ int GEN_CONTEXT_MENU = 129;
/**
* The feature id for the '<em><b>ID</b></em>' attribute.
@@ -10135,7 +10190,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenApplication()
* @generated
*/
- int GEN_APPLICATION = 129;
+ int GEN_APPLICATION = 130;
/**
* The feature id for the '<em><b>Editor Gen</b></em>' container reference.
@@ -10280,7 +10335,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenLinkEnd()
* @generated
*/
- int GEN_LINK_END = 130;
+ int GEN_LINK_END = 131;
/**
* The feature id for the '<em><b>Diagram Run Time Class</b></em>' reference.
@@ -10407,7 +10462,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenParsers()
* @generated
*/
- int GEN_PARSERS = 131;
+ int GEN_PARSERS = 132;
/**
* The feature id for the '<em><b>Editor Gen</b></em>' container reference.
@@ -10489,7 +10544,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenParserImplementation()
* @generated
*/
- int GEN_PARSER_IMPLEMENTATION = 132;
+ int GEN_PARSER_IMPLEMENTATION = 133;
/**
* The feature id for the '<em><b>Holder</b></em>' container reference.
@@ -10526,7 +10581,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getPredefinedParser()
* @generated
*/
- int PREDEFINED_PARSER = 133;
+ int PREDEFINED_PARSER = 134;
/**
* The feature id for the '<em><b>Holder</b></em>' container reference.
@@ -10590,7 +10645,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getCustomParser()
* @generated
*/
- int CUSTOM_PARSER = 134;
+ int CUSTOM_PARSER = 135;
/**
* The feature id for the '<em><b>Holder</b></em>' container reference.
@@ -10645,7 +10700,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getExternalParser()
* @generated
*/
- int EXTERNAL_PARSER = 135;
+ int EXTERNAL_PARSER = 136;
/**
* The feature id for the '<em><b>Holder</b></em>' container reference.
@@ -10691,7 +10746,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getStandardPreferencePages()
* @generated
*/
- int STANDARD_PREFERENCE_PAGES = 136;
+ int STANDARD_PREFERENCE_PAGES = 137;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.RulerUnits <em>Ruler Units</em>}' enum.
@@ -10701,7 +10756,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getRulerUnits()
* @generated
*/
- int RULER_UNITS = 137;
+ int RULER_UNITS = 138;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.Routing <em>Routing</em>}' enum.
@@ -10711,7 +10766,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getRouting()
* @generated
*/
- int ROUTING = 138;
+ int ROUTING = 139;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.LineStyle <em>Line Style</em>}' enum.
@@ -10721,7 +10776,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getLineStyle()
* @generated
*/
- int LINE_STYLE = 139;
+ int LINE_STYLE = 140;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.JFaceFont <em>JFace Font</em>}' enum.
@@ -10731,7 +10786,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getJFaceFont()
* @generated
*/
- int JFACE_FONT = 140;
+ int JFACE_FONT = 141;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.FontStyle <em>Font Style</em>}' enum.
@@ -10741,7 +10796,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getFontStyle()
* @generated
*/
- int FONT_STYLE = 141;
+ int FONT_STYLE = 142;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.DiagramColors <em>Diagram Colors</em>}' enum.
@@ -10751,7 +10806,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getDiagramColors()
* @generated
*/
- int DIAGRAM_COLORS = 142;
+ int DIAGRAM_COLORS = 143;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.ProviderPriority <em>Provider Priority</em>}' enum.
@@ -10761,7 +10816,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getProviderPriority()
* @generated
*/
- int PROVIDER_PRIORITY = 143;
+ int PROVIDER_PRIORITY = 144;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.LinkLabelAlignment <em>Link Label Alignment</em>}' enum.
@@ -10771,7 +10826,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getLinkLabelAlignment()
* @generated
*/
- int LINK_LABEL_ALIGNMENT = 144;
+ int LINK_LABEL_ALIGNMENT = 145;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.LabelTextAccessMethod <em>Label Text Access Method</em>}' enum.
@@ -10781,7 +10836,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getLabelTextAccessMethod()
* @generated
*/
- int LABEL_TEXT_ACCESS_METHOD = 145;
+ int LABEL_TEXT_ACCESS_METHOD = 146;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.ViewmapLayoutType <em>Viewmap Layout Type</em>}' enum.
@@ -10791,7 +10846,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getViewmapLayoutType()
* @generated
*/
- int VIEWMAP_LAYOUT_TYPE = 146;
+ int VIEWMAP_LAYOUT_TYPE = 147;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.StandardEntryKind <em>Standard Entry Kind</em>}' enum.
@@ -10801,7 +10856,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getStandardEntryKind()
* @generated
*/
- int STANDARD_ENTRY_KIND = 147;
+ int STANDARD_ENTRY_KIND = 148;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.GenSeverity <em>Gen Severity</em>}' enum.
@@ -10811,7 +10866,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenSeverity()
* @generated
*/
- int GEN_SEVERITY = 148;
+ int GEN_SEVERITY = 149;
/**
* The meta object id for the '{@link org.eclipse.gmf.codegen.gmfgen.GenLanguage <em>Gen Language</em>}' enum.
@@ -10821,7 +10876,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenLanguage()
* @generated
*/
- int GEN_LANGUAGE = 149;
+ int GEN_LANGUAGE = 150;
/**
@@ -10832,7 +10887,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGenNavigatorReferenceType()
* @generated
*/
- int GEN_NAVIGATOR_REFERENCE_TYPE = 150;
+ int GEN_NAVIGATOR_REFERENCE_TYPE = 151;
/**
@@ -10843,7 +10898,7 @@ public interface GMFGenPackage extends EPackage {
* @see org.eclipse.gmf.codegen.gmfgen.impl.GMFGenPackageImpl#getGeneratedType()
* @generated
*/
- int GENERATED_TYPE = 151;
+ int GENERATED_TYPE = 152;
/**
@@ -14499,6 +14554,27 @@ public interface GMFGenPackage extends EPackage {
EAttribute getParentAssignedViewmap_FigureQualifiedClassName();
/**
+ * Returns the meta object for class '{@link org.eclipse.gmf.codegen.gmfgen.ModeledViewmap <em>Modeled Viewmap</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Modeled Viewmap</em>'.
+ * @see org.eclipse.gmf.codegen.gmfgen.ModeledViewmap
+ * @generated
+ */
+ EClass getModeledViewmap();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.gmf.codegen.gmfgen.ModeledViewmap#getFigureModel <em>Figure Model</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Figure Model</em>'.
+ * @see org.eclipse.gmf.codegen.gmfgen.ModeledViewmap#getFigureModel()
+ * @see #getModeledViewmap()
+ * @generated
+ */
+ EReference getModeledViewmap_FigureModel();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.gmf.codegen.gmfgen.ValueExpression <em>Value Expression</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/ModeledViewmap.java b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/ModeledViewmap.java
new file mode 100644
index 000000000..804bd6d52
--- /dev/null
+++ b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/ModeledViewmap.java
@@ -0,0 +1,58 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.gmf.codegen.gmfgen;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Modeled Viewmap</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * NOTE: Provisional API. Allows to use arbitrary model element to keep information about a figure. May (but not necessarily will) point to e.g. GMFGraph model elements. It's up to template author to handle specific kinds of figure models
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.gmf.codegen.gmfgen.ModeledViewmap#getFigureModel <em>Figure Model</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getModeledViewmap()
+ * @model
+ * @generated
+ */
+public interface ModeledViewmap extends Viewmap {
+ /**
+ * Returns the value of the '<em><b>Figure Model</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Figure Model</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Figure Model</em>' reference.
+ * @see #setFigureModel(EObject)
+ * @see org.eclipse.gmf.codegen.gmfgen.GMFGenPackage#getModeledViewmap_FigureModel()
+ * @model required="true"
+ * @generated
+ */
+ EObject getFigureModel();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.gmf.codegen.gmfgen.ModeledViewmap#getFigureModel <em>Figure Model</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Figure Model</em>' reference.
+ * @see #getFigureModel()
+ * @generated
+ */
+ void setFigureModel(EObject value);
+
+} // ModeledViewmap
diff --git a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/GMFGenFactoryImpl.java b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/GMFGenFactoryImpl.java
index 5637caa4a..3fc5a1714 100644
--- a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/GMFGenFactoryImpl.java
+++ b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/GMFGenFactoryImpl.java
@@ -104,6 +104,7 @@ public class GMFGenFactoryImpl extends EFactoryImpl implements GMFGenFactory {
case GMFGenPackage.SNIPPET_VIEWMAP: return createSnippetViewmap();
case GMFGenPackage.INNER_CLASS_VIEWMAP: return createInnerClassViewmap();
case GMFGenPackage.PARENT_ASSIGNED_VIEWMAP: return createParentAssignedViewmap();
+ case GMFGenPackage.MODELED_VIEWMAP: return createModeledViewmap();
case GMFGenPackage.VALUE_EXPRESSION: return createValueExpression();
case GMFGenPackage.GEN_CONSTRAINT: return createGenConstraint();
case GMFGenPackage.PALETTE: return createPalette();
@@ -696,6 +697,16 @@ public class GMFGenFactoryImpl extends EFactoryImpl implements GMFGenFactory {
* <!-- end-user-doc -->
* @generated
*/
+ public ModeledViewmap createModeledViewmap() {
+ ModeledViewmapImpl modeledViewmap = new ModeledViewmapImpl();
+ return modeledViewmap;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public ValueExpression createValueExpression() {
ValueExpressionImpl valueExpression = new ValueExpressionImpl();
return valueExpression;
diff --git a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/GMFGenPackageImpl.java b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/GMFGenPackageImpl.java
index c803bd578..638905f9a 100644
--- a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/GMFGenPackageImpl.java
+++ b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/GMFGenPackageImpl.java
@@ -513,6 +513,13 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
* <!-- end-user-doc -->
* @generated
*/
+ private EClass modeledViewmapEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EClass valueExpressionEClass = null;
/**
@@ -4472,9 +4479,30 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
* <!-- end-user-doc -->
* @generated
*/
+ public EClass getModeledViewmap() {
+ if (modeledViewmapEClass == null) {
+ modeledViewmapEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(77);
+ }
+ return modeledViewmapEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getModeledViewmap_FigureModel() {
+ return (EReference)getModeledViewmap().getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getValueExpression() {
if (valueExpressionEClass == null) {
- valueExpressionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(77);
+ valueExpressionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(78);
}
return valueExpressionEClass;
}
@@ -4513,7 +4541,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenConstraint() {
if (genConstraintEClass == null) {
- genConstraintEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(78);
+ genConstraintEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(79);
}
return genConstraintEClass;
}
@@ -4525,7 +4553,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getPalette() {
if (paletteEClass == null) {
- paletteEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(79);
+ paletteEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(80);
}
return paletteEClass;
}
@@ -4582,7 +4610,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getEntryBase() {
if (entryBaseEClass == null) {
- entryBaseEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(80);
+ entryBaseEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(81);
}
return entryBaseEClass;
}
@@ -4639,7 +4667,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getAbstractToolEntry() {
if (abstractToolEntryEClass == null) {
- abstractToolEntryEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(81);
+ abstractToolEntryEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(82);
}
return abstractToolEntryEClass;
}
@@ -4678,7 +4706,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getToolEntry() {
if (toolEntryEClass == null) {
- toolEntryEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(82);
+ toolEntryEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(83);
}
return toolEntryEClass;
}
@@ -4717,7 +4745,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getStandardEntry() {
if (standardEntryEClass == null) {
- standardEntryEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(83);
+ standardEntryEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(84);
}
return standardEntryEClass;
}
@@ -4738,7 +4766,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getToolGroupItem() {
if (toolGroupItemEClass == null) {
- toolGroupItemEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(85);
+ toolGroupItemEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(86);
}
return toolGroupItemEClass;
}
@@ -4759,7 +4787,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getSeparator() {
if (separatorEClass == null) {
- separatorEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(86);
+ separatorEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(87);
}
return separatorEClass;
}
@@ -4771,7 +4799,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getToolGroup() {
if (toolGroupEClass == null) {
- toolGroupEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(87);
+ toolGroupEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(88);
}
return toolGroupEClass;
}
@@ -4828,7 +4856,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenElementInitializer() {
if (genElementInitializerEClass == null) {
- genElementInitializerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(88);
+ genElementInitializerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(89);
}
return genElementInitializerEClass;
}
@@ -4849,7 +4877,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenFeatureSeqInitializer() {
if (genFeatureSeqInitializerEClass == null) {
- genFeatureSeqInitializerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(89);
+ genFeatureSeqInitializerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(90);
}
return genFeatureSeqInitializerEClass;
}
@@ -4888,7 +4916,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenFeatureValueSpec() {
if (genFeatureValueSpecEClass == null) {
- genFeatureValueSpecEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(90);
+ genFeatureValueSpecEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(91);
}
return genFeatureValueSpecEClass;
}
@@ -4909,7 +4937,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenReferenceNewElementSpec() {
if (genReferenceNewElementSpecEClass == null) {
- genReferenceNewElementSpecEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(91);
+ genReferenceNewElementSpecEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(92);
}
return genReferenceNewElementSpecEClass;
}
@@ -4930,7 +4958,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenFeatureInitializer() {
if (genFeatureInitializerEClass == null) {
- genFeatureInitializerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(92);
+ genFeatureInitializerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(93);
}
return genFeatureInitializerEClass;
}
@@ -4960,7 +4988,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenLinkConstraints() {
if (genLinkConstraintsEClass == null) {
- genLinkConstraintsEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(93);
+ genLinkConstraintsEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(94);
}
return genLinkConstraintsEClass;
}
@@ -4999,7 +5027,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenAuditRoot() {
if (genAuditRootEClass == null) {
- genAuditRootEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(94);
+ genAuditRootEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(95);
}
return genAuditRootEClass;
}
@@ -5047,7 +5075,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenAuditContainer() {
if (genAuditContainerEClass == null) {
- genAuditContainerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(95);
+ genAuditContainerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(96);
}
return genAuditContainerEClass;
}
@@ -5068,7 +5096,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenRuleBase() {
if (genRuleBaseEClass == null) {
- genRuleBaseEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(96);
+ genRuleBaseEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(97);
}
return genRuleBaseEClass;
}
@@ -5143,7 +5171,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenAuditRule() {
if (genAuditRuleEClass == null) {
- genAuditRuleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(97);
+ genAuditRuleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(98);
}
return genAuditRuleEClass;
}
@@ -5236,7 +5264,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenRuleTarget() {
if (genRuleTargetEClass == null) {
- genRuleTargetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(99);
+ genRuleTargetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(100);
}
return genRuleTargetEClass;
}
@@ -5248,7 +5276,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenDomainElementTarget() {
if (genDomainElementTargetEClass == null) {
- genDomainElementTargetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(100);
+ genDomainElementTargetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(101);
}
return genDomainElementTargetEClass;
}
@@ -5269,7 +5297,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenDiagramElementTarget() {
if (genDiagramElementTargetEClass == null) {
- genDiagramElementTargetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(101);
+ genDiagramElementTargetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(102);
}
return genDiagramElementTargetEClass;
}
@@ -5290,7 +5318,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenDomainAttributeTarget() {
if (genDomainAttributeTargetEClass == null) {
- genDomainAttributeTargetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(102);
+ genDomainAttributeTargetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(103);
}
return genDomainAttributeTargetEClass;
}
@@ -5320,7 +5348,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenNotationElementTarget() {
if (genNotationElementTargetEClass == null) {
- genNotationElementTargetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(103);
+ genNotationElementTargetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(104);
}
return genNotationElementTargetEClass;
}
@@ -5341,7 +5369,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenMetricContainer() {
if (genMetricContainerEClass == null) {
- genMetricContainerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(104);
+ genMetricContainerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(105);
}
return genMetricContainerEClass;
}
@@ -5371,7 +5399,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenMetricRule() {
if (genMetricRuleEClass == null) {
- genMetricRuleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(105);
+ genMetricRuleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(106);
}
return genMetricRuleEClass;
}
@@ -5437,7 +5465,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenAuditedMetricTarget() {
if (genAuditedMetricTargetEClass == null) {
- genAuditedMetricTargetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(106);
+ genAuditedMetricTargetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(107);
}
return genAuditedMetricTargetEClass;
}
@@ -5467,7 +5495,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenAuditable() {
if (genAuditableEClass == null) {
- genAuditableEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(107);
+ genAuditableEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(108);
}
return genAuditableEClass;
}
@@ -5488,7 +5516,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenAuditContext() {
if (genAuditContextEClass == null) {
- genAuditContextEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(108);
+ genAuditContextEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(109);
}
return genAuditContextEClass;
}
@@ -5536,7 +5564,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenMeasurable() {
if (genMeasurableEClass == null) {
- genMeasurableEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(109);
+ genMeasurableEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(110);
}
return genMeasurableEClass;
}
@@ -5548,7 +5576,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenExpressionProviderContainer() {
if (genExpressionProviderContainerEClass == null) {
- genExpressionProviderContainerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(110);
+ genExpressionProviderContainerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(111);
}
return genExpressionProviderContainerEClass;
}
@@ -5596,7 +5624,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenExpressionProviderBase() {
if (genExpressionProviderBaseEClass == null) {
- genExpressionProviderBaseEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(111);
+ genExpressionProviderBaseEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(112);
}
return genExpressionProviderBaseEClass;
}
@@ -5626,7 +5654,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenJavaExpressionProvider() {
if (genJavaExpressionProviderEClass == null) {
- genJavaExpressionProviderEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(112);
+ genJavaExpressionProviderEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(113);
}
return genJavaExpressionProviderEClass;
}
@@ -5656,7 +5684,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenExpressionInterpreter() {
if (genExpressionInterpreterEClass == null) {
- genExpressionInterpreterEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(113);
+ genExpressionInterpreterEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(114);
}
return genExpressionInterpreterEClass;
}
@@ -5686,7 +5714,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenLiteralExpressionProvider() {
if (genLiteralExpressionProviderEClass == null) {
- genLiteralExpressionProviderEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(114);
+ genLiteralExpressionProviderEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(115);
}
return genLiteralExpressionProviderEClass;
}
@@ -5698,7 +5726,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenDomainModelNavigator() {
if (genDomainModelNavigatorEClass == null) {
- genDomainModelNavigatorEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(116);
+ genDomainModelNavigatorEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(117);
}
return genDomainModelNavigatorEClass;
}
@@ -5782,7 +5810,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenNavigator() {
if (genNavigatorEClass == null) {
- genNavigatorEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(117);
+ genNavigatorEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(118);
}
return genNavigatorEClass;
}
@@ -5956,7 +5984,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenNavigatorChildReference() {
if (genNavigatorChildReferenceEClass == null) {
- genNavigatorChildReferenceEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(119);
+ genNavigatorChildReferenceEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(120);
}
return genNavigatorChildReferenceEClass;
}
@@ -6031,7 +6059,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenNavigatorPath() {
if (genNavigatorPathEClass == null) {
- genNavigatorPathEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(120);
+ genNavigatorPathEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(121);
}
return genNavigatorPathEClass;
}
@@ -6052,7 +6080,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenNavigatorPathSegment() {
if (genNavigatorPathSegmentEClass == null) {
- genNavigatorPathSegmentEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(121);
+ genNavigatorPathSegmentEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(122);
}
return genNavigatorPathSegmentEClass;
}
@@ -6091,7 +6119,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenPropertySheet() {
if (genPropertySheetEClass == null) {
- genPropertySheetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(122);
+ genPropertySheetEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(123);
}
return genPropertySheetEClass;
}
@@ -6157,7 +6185,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenPropertyTab() {
if (genPropertyTabEClass == null) {
- genPropertyTabEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(123);
+ genPropertyTabEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(124);
}
return genPropertyTabEClass;
}
@@ -6196,7 +6224,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenStandardPropertyTab() {
if (genStandardPropertyTabEClass == null) {
- genStandardPropertyTabEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(124);
+ genStandardPropertyTabEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(125);
}
return genStandardPropertyTabEClass;
}
@@ -6208,7 +6236,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenCustomPropertyTab() {
if (genCustomPropertyTabEClass == null) {
- genCustomPropertyTabEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(125);
+ genCustomPropertyTabEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(126);
}
return genCustomPropertyTabEClass;
}
@@ -6238,7 +6266,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenPropertyTabFilter() {
if (genPropertyTabFilterEClass == null) {
- genPropertyTabFilterEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(126);
+ genPropertyTabFilterEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(127);
}
return genPropertyTabFilterEClass;
}
@@ -6259,7 +6287,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getTypeTabFilter() {
if (typeTabFilterEClass == null) {
- typeTabFilterEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(127);
+ typeTabFilterEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(128);
}
return typeTabFilterEClass;
}
@@ -6289,7 +6317,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getCustomTabFilter() {
if (customTabFilterEClass == null) {
- customTabFilterEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(129);
+ customTabFilterEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(130);
}
return customTabFilterEClass;
}
@@ -6310,7 +6338,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenContributionItem() {
if (genContributionItemEClass == null) {
- genContributionItemEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(130);
+ genContributionItemEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(131);
}
return genContributionItemEClass;
}
@@ -6331,7 +6359,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenSharedContributionItem() {
if (genSharedContributionItemEClass == null) {
- genSharedContributionItemEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(131);
+ genSharedContributionItemEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(132);
}
return genSharedContributionItemEClass;
}
@@ -6352,7 +6380,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenGroupMarker() {
if (genGroupMarkerEClass == null) {
- genGroupMarkerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(132);
+ genGroupMarkerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(133);
}
return genGroupMarkerEClass;
}
@@ -6373,7 +6401,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenSeparator() {
if (genSeparatorEClass == null) {
- genSeparatorEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(133);
+ genSeparatorEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(134);
}
return genSeparatorEClass;
}
@@ -6394,7 +6422,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenCustomAction() {
if (genCustomActionEClass == null) {
- genCustomActionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(134);
+ genCustomActionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(135);
}
return genCustomActionEClass;
}
@@ -6433,7 +6461,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenCommandAction() {
if (genCommandActionEClass == null) {
- genCommandActionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(135);
+ genCommandActionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(136);
}
return genCommandActionEClass;
}
@@ -6463,7 +6491,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenAction() {
if (genActionEClass == null) {
- genActionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(136);
+ genActionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(137);
}
return genActionEClass;
}
@@ -6493,7 +6521,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getLoadResourceAction() {
if (loadResourceActionEClass == null) {
- loadResourceActionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(137);
+ loadResourceActionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(138);
}
return loadResourceActionEClass;
}
@@ -6505,7 +6533,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getInitDiagramAction() {
if (initDiagramActionEClass == null) {
- initDiagramActionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(138);
+ initDiagramActionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(139);
}
return initDiagramActionEClass;
}
@@ -6517,7 +6545,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getCreateShortcutAction() {
if (createShortcutActionEClass == null) {
- createShortcutActionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(139);
+ createShortcutActionEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(140);
}
return createShortcutActionEClass;
}
@@ -6529,7 +6557,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenActionFactoryContributionItem() {
if (genActionFactoryContributionItemEClass == null) {
- genActionFactoryContributionItemEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(140);
+ genActionFactoryContributionItemEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(141);
}
return genActionFactoryContributionItemEClass;
}
@@ -6550,7 +6578,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenContributionManager() {
if (genContributionManagerEClass == null) {
- genContributionManagerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(141);
+ genContributionManagerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(142);
}
return genContributionManagerEClass;
}
@@ -6589,7 +6617,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenMenuManager() {
if (genMenuManagerEClass == null) {
- genMenuManagerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(142);
+ genMenuManagerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(143);
}
return genMenuManagerEClass;
}
@@ -6610,7 +6638,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenToolBarManager() {
if (genToolBarManagerEClass == null) {
- genToolBarManagerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(143);
+ genToolBarManagerEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(144);
}
return genToolBarManagerEClass;
}
@@ -6622,7 +6650,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenContextMenu() {
if (genContextMenuEClass == null) {
- genContextMenuEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(144);
+ genContextMenuEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(145);
}
return genContextMenuEClass;
}
@@ -6643,7 +6671,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenApplication() {
if (genApplicationEClass == null) {
- genApplicationEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(145);
+ genApplicationEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(146);
}
return genApplicationEClass;
}
@@ -6781,7 +6809,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenLinkEnd() {
if (genLinkEndEClass == null) {
- genLinkEndEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(146);
+ genLinkEndEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(147);
}
return genLinkEndEClass;
}
@@ -6811,7 +6839,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenParsers() {
if (genParsersEClass == null) {
- genParsersEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(147);
+ genParsersEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(148);
}
return genParsersEClass;
}
@@ -6886,7 +6914,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getGenParserImplementation() {
if (genParserImplementationEClass == null) {
- genParserImplementationEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(148);
+ genParserImplementationEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(149);
}
return genParserImplementationEClass;
}
@@ -6916,7 +6944,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getPredefinedParser() {
if (predefinedParserEClass == null) {
- predefinedParserEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(149);
+ predefinedParserEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(150);
}
return predefinedParserEClass;
}
@@ -6955,7 +6983,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getCustomParser() {
if (customParserEClass == null) {
- customParserEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(150);
+ customParserEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(151);
}
return customParserEClass;
}
@@ -6985,7 +7013,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EClass getExternalParser() {
if (externalParserEClass == null) {
- externalParserEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(151);
+ externalParserEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(152);
}
return externalParserEClass;
}
@@ -7138,7 +7166,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EEnum getStandardEntryKind() {
if (standardEntryKindEEnum == null) {
- standardEntryKindEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(84);
+ standardEntryKindEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(85);
}
return standardEntryKindEEnum;
}
@@ -7150,7 +7178,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EEnum getGenSeverity() {
if (genSeverityEEnum == null) {
- genSeverityEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(98);
+ genSeverityEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(99);
}
return genSeverityEEnum;
}
@@ -7162,7 +7190,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EEnum getGenLanguage() {
if (genLanguageEEnum == null) {
- genLanguageEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(115);
+ genLanguageEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(116);
}
return genLanguageEEnum;
}
@@ -7174,7 +7202,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EEnum getGenNavigatorReferenceType() {
if (genNavigatorReferenceTypeEEnum == null) {
- genNavigatorReferenceTypeEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(118);
+ genNavigatorReferenceTypeEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(119);
}
return genNavigatorReferenceTypeEEnum;
}
@@ -7186,7 +7214,7 @@ public class GMFGenPackageImpl extends EPackageImpl implements GMFGenPackage {
*/
public EEnum getGeneratedType() {
if (generatedTypeEEnum == null) {
- generatedTypeEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(128);
+ generatedTypeEEnum = (EEnum)EPackage.Registry.INSTANCE.getEPackage(GMFGenPackage.eNS_URI).getEClassifiers().get(129);
}
return generatedTypeEEnum;
}
diff --git a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/ModeledViewmapImpl.java b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/ModeledViewmapImpl.java
new file mode 100644
index 000000000..91cd3766b
--- /dev/null
+++ b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/impl/ModeledViewmapImpl.java
@@ -0,0 +1,160 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.gmf.codegen.gmfgen.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.gmf.codegen.gmfgen.GMFGenPackage;
+import org.eclipse.gmf.codegen.gmfgen.ModeledViewmap;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Modeled Viewmap</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.gmf.codegen.gmfgen.impl.ModeledViewmapImpl#getFigureModel <em>Figure Model</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ModeledViewmapImpl extends ViewmapImpl implements ModeledViewmap {
+ /**
+ * The cached value of the '{@link #getFigureModel() <em>Figure Model</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFigureModel()
+ * @generated
+ * @ordered
+ */
+ protected EObject figureModel;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ModeledViewmapImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return GMFGenPackage.eINSTANCE.getModeledViewmap();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EObject getFigureModel() {
+ if (figureModel != null && figureModel.eIsProxy()) {
+ InternalEObject oldFigureModel = (InternalEObject)figureModel;
+ figureModel = eResolveProxy(oldFigureModel);
+ if (figureModel != oldFigureModel) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, GMFGenPackage.MODELED_VIEWMAP__FIGURE_MODEL, oldFigureModel, figureModel));
+ }
+ }
+ return figureModel;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EObject basicGetFigureModel() {
+ return figureModel;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFigureModel(EObject newFigureModel) {
+ EObject oldFigureModel = figureModel;
+ figureModel = newFigureModel;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, GMFGenPackage.MODELED_VIEWMAP__FIGURE_MODEL, oldFigureModel, figureModel));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case GMFGenPackage.MODELED_VIEWMAP__FIGURE_MODEL:
+ if (resolve) return getFigureModel();
+ return basicGetFigureModel();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case GMFGenPackage.MODELED_VIEWMAP__FIGURE_MODEL:
+ setFigureModel((EObject)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case GMFGenPackage.MODELED_VIEWMAP__FIGURE_MODEL:
+ setFigureModel((EObject)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case GMFGenPackage.MODELED_VIEWMAP__FIGURE_MODEL:
+ return figureModel != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ModeledViewmapImpl
diff --git a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenAdapterFactory.java b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenAdapterFactory.java
index d6b50c4b0..df14f3db1 100644
--- a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenAdapterFactory.java
+++ b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenAdapterFactory.java
@@ -333,6 +333,10 @@ public class GMFGenAdapterFactory extends AdapterFactoryImpl {
return createParentAssignedViewmapAdapter();
}
@Override
+ public Adapter caseModeledViewmap(ModeledViewmap object) {
+ return createModeledViewmapAdapter();
+ }
+ @Override
public Adapter caseValueExpression(ValueExpression object) {
return createValueExpressionAdapter();
}
@@ -1557,6 +1561,20 @@ public class GMFGenAdapterFactory extends AdapterFactoryImpl {
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.gmf.codegen.gmfgen.ModeledViewmap <em>Modeled Viewmap</em>}'.
+ * <!-- begin-user-doc -->
+ * 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.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.gmf.codegen.gmfgen.ModeledViewmap
+ * @generated
+ */
+ public Adapter createModeledViewmapAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.gmf.codegen.gmfgen.Palette <em>Palette</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
diff --git a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenSwitch.java b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenSwitch.java
index d209d399d..2dd23cb4f 100644
--- a/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenSwitch.java
+++ b/plugins/org.eclipse.gmf.codegen/src/org/eclipse/gmf/codegen/gmfgen/util/GMFGenSwitch.java
@@ -567,6 +567,13 @@ public class GMFGenSwitch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case GMFGenPackage.MODELED_VIEWMAP: {
+ ModeledViewmap modeledViewmap = (ModeledViewmap)theEObject;
+ T result = caseModeledViewmap(modeledViewmap);
+ if (result == null) result = caseViewmap(modeledViewmap);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
case GMFGenPackage.VALUE_EXPRESSION: {
ValueExpression valueExpression = (ValueExpression)theEObject;
T result = caseValueExpression(valueExpression);
@@ -2044,6 +2051,21 @@ public class GMFGenSwitch<T> {
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Modeled Viewmap</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Modeled Viewmap</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseModeledViewmap(ModeledViewmap object) {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>Palette</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;

Back to the top