Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2008-06-28 16:13:42 +0000
committerashatalin2008-06-28 16:13:42 +0000
commitb423cbe84344660a4c2e54f64a0bfbd851acfed3 (patch)
treea7f142ca46d81909b95a9d4d10f06397d74d2449 /plugins
parent37f8931d713890835849e87685155ad31f29f0e9 (diff)
downloadorg.eclipse.gmf-tooling-b423cbe84344660a4c2e54f64a0bfbd851acfed3.tar.gz
org.eclipse.gmf-tooling-b423cbe84344660a4c2e54f64a0bfbd851acfed3.tar.xz
org.eclipse.gmf-tooling-b423cbe84344660a4c2e54f64a0bfbd851acfed3.zip
Regenerating the code with new templates.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.editor/plugin.properties15
-rw-r--r--plugins/org.eclipse.gmf.graphdef.editor/plugin.xml12
-rw-r--r--plugins/org.eclipse.gmf.graphdef.editor/src/org/eclipse/gmf/graphdef/editor/providers/ElementInitializers.java80
3 files changed, 53 insertions, 54 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.editor/plugin.properties b/plugins/org.eclipse.gmf.graphdef.editor/plugin.properties
index 3d37b1ec9..1981c9902 100644
--- a/plugins/org.eclipse.gmf.graphdef.editor/plugin.properties
+++ b/plugins/org.eclipse.gmf.graphdef.editor/plugin.properties
@@ -27,13 +27,12 @@ tab.diagram=Rulers & Grid
tab.points=Points
# Preferences
-preference.page.title.org.eclipse.gmf.graphdef.diagram.general=GMFGraph Diagram
-preference.page.title.org.eclipse.gmf.graphdef.diagram.appearance=Appearance
-preference.page.title.org.eclipse.gmf.graphdef.diagram.connections=Connections
-preference.page.title.org.eclipse.gmf.graphdef.diagram.printing=Printing
-preference.page.title.org.eclipse.gmf.graphdef.diagram.rulersAndGrid=Rulers And Grid
-preference.page.title.org.eclipse.gmf.graphdef.diagram.pathmaps=Pathmaps
-
+prefpage.org.eclipse.gmf.graphdef.diagram.general=GMFGraph Diagram
+prefpage.org.eclipse.gmf.graphdef.diagram.appearance=Appearance
+prefpage.org.eclipse.gmf.graphdef.diagram.connections=Connections
+prefpage.org.eclipse.gmf.graphdef.diagram.printing=Printing
+prefpage.org.eclipse.gmf.graphdef.diagram.rulersAndGrid=Rulers And Grid
+prefpage.org.eclipse.gmf.graphdef.diagram.pathmaps=Pathmaps
# Providers
metatype.name.Canvas_1000=Undefined
@@ -92,4 +91,4 @@ tab.styles=Styles
metatype.name.Point_3022=Point
metatype.name.Polygon_3023=Polygon
metatype.name.Polygon_3024=Polygon
-metatype.name.Polygon_3025=Polygon
+metatype.name.Polygon_3025=Polygon \ No newline at end of file
diff --git a/plugins/org.eclipse.gmf.graphdef.editor/plugin.xml b/plugins/org.eclipse.gmf.graphdef.editor/plugin.xml
index 4d72bebf5..ee0b58519 100644
--- a/plugins/org.eclipse.gmf.graphdef.editor/plugin.xml
+++ b/plugins/org.eclipse.gmf.graphdef.editor/plugin.xml
@@ -148,36 +148,36 @@
<?gmfgen generated="true"?>
<page
id="org.eclipse.gmf.graphdef.diagram.general"
- name="%preference.page.title.org.eclipse.gmf.graphdef.diagram.general"
+ name="%prefpage.org.eclipse.gmf.graphdef.diagram.general"
class="org.eclipse.gmf.graphdef.editor.preferences.DiagramGeneralPreferencePage">
</page>
<page
id="org.eclipse.gmf.graphdef.diagram.appearance"
- name="%preference.page.title.org.eclipse.gmf.graphdef.diagram.appearance"
+ name="%prefpage.org.eclipse.gmf.graphdef.diagram.appearance"
category="org.eclipse.gmf.graphdef.diagram.general"
class="org.eclipse.gmf.graphdef.editor.preferences.DiagramAppearancePreferencePage">
</page>
<page
id="org.eclipse.gmf.graphdef.diagram.connections"
- name="%preference.page.title.org.eclipse.gmf.graphdef.diagram.connections"
+ name="%prefpage.org.eclipse.gmf.graphdef.diagram.connections"
category="org.eclipse.gmf.graphdef.diagram.general"
class="org.eclipse.gmf.graphdef.editor.preferences.DiagramConnectionsPreferencePage">
</page>
<page
id="org.eclipse.gmf.graphdef.diagram.printing"
- name="%preference.page.title.org.eclipse.gmf.graphdef.diagram.printing"
+ name="%prefpage.org.eclipse.gmf.graphdef.diagram.printing"
category="org.eclipse.gmf.graphdef.diagram.general"
class="org.eclipse.gmf.graphdef.editor.preferences.DiagramPrintingPreferencePage">
</page>
<page
id="org.eclipse.gmf.graphdef.diagram.rulersAndGrid"
- name="%preference.page.title.org.eclipse.gmf.graphdef.diagram.rulersAndGrid"
+ name="%prefpage.org.eclipse.gmf.graphdef.diagram.rulersAndGrid"
category="org.eclipse.gmf.graphdef.diagram.general"
class="org.eclipse.gmf.graphdef.editor.preferences.DiagramRulersAndGridPreferencePage">
</page>
<page
id="org.eclipse.gmf.graphdef.diagram.pathmaps"
- name="%preference.page.title.org.eclipse.gmf.graphdef.diagram.pathmaps"
+ name="%prefpage.org.eclipse.gmf.graphdef.diagram.pathmaps"
category="org.eclipse.gmf.graphdef.diagram.general"
class="org.eclipse.gmf.runtime.emf.ui.preferences.PathmapsPreferencePage">
</page>
diff --git a/plugins/org.eclipse.gmf.graphdef.editor/src/org/eclipse/gmf/graphdef/editor/providers/ElementInitializers.java b/plugins/org.eclipse.gmf.graphdef.editor/src/org/eclipse/gmf/graphdef/editor/providers/ElementInitializers.java
index 3e941e70b..53d48aa39 100644
--- a/plugins/org.eclipse.gmf.graphdef.editor/src/org/eclipse/gmf/graphdef/editor/providers/ElementInitializers.java
+++ b/plugins/org.eclipse.gmf.graphdef.editor/src/org/eclipse/gmf/graphdef/editor/providers/ElementInitializers.java
@@ -30,30 +30,30 @@ public class ElementInitializers {
*/
public static void init_Polyline_3014(Polyline instance) {
try {
+ Point newInstance_0_0 = GMFGraphFactory.eINSTANCE.createPoint();
- Point newInstance100 = GMFGraphFactory.eINSTANCE.createPoint();
+ instance.getTemplate().add(newInstance_0_0);
+ Object value_0_0_0 = GMFGraphOCLFactory.getExpression("10", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance_0_0);
- instance.getTemplate().add(newInstance100);
- Object value10100 = GMFGraphOCLFactory.getExpression("10", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance100);
+ value_0_0_0 = GMFGraphAbstractExpression.performCast(value_0_0_0, EcorePackage.eINSTANCE.getEInt());
+ newInstance_0_0.setX(((Integer) value_0_0_0).intValue());
+ Object value_0_0_1 = GMFGraphOCLFactory.getExpression("10", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance_0_0);
- value10100 = GMFGraphAbstractExpression.performCast(value10100, EcorePackage.eINSTANCE.getEInt());
- newInstance100.setX(((Integer) value10100).intValue());
- Object value10101 = GMFGraphOCLFactory.getExpression("10", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance100);
+ value_0_0_1 = GMFGraphAbstractExpression.performCast(value_0_0_1, EcorePackage.eINSTANCE.getEInt());
+ newInstance_0_0.setY(((Integer) value_0_0_1).intValue());
- value10101 = GMFGraphAbstractExpression.performCast(value10101, EcorePackage.eINSTANCE.getEInt());
- newInstance100.setY(((Integer) value10101).intValue());
+ Point newInstance_0_1 = GMFGraphFactory.eINSTANCE.createPoint();
- Point newInstance101 = GMFGraphFactory.eINSTANCE.createPoint();
+ instance.getTemplate().add(newInstance_0_1);
+ Object value_0_1_0 = GMFGraphOCLFactory.getExpression("30", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance_0_1);
- instance.getTemplate().add(newInstance101);
- Object value10200 = GMFGraphOCLFactory.getExpression("30", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance101);
+ value_0_1_0 = GMFGraphAbstractExpression.performCast(value_0_1_0, EcorePackage.eINSTANCE.getEInt());
+ newInstance_0_1.setX(((Integer) value_0_1_0).intValue());
+ Object value_0_1_1 = GMFGraphOCLFactory.getExpression("30", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance_0_1);
- value10200 = GMFGraphAbstractExpression.performCast(value10200, EcorePackage.eINSTANCE.getEInt());
- newInstance101.setX(((Integer) value10200).intValue());
- Object value10201 = GMFGraphOCLFactory.getExpression("30", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance101);
+ value_0_1_1 = GMFGraphAbstractExpression.performCast(value_0_1_1, EcorePackage.eINSTANCE.getEInt());
+ newInstance_0_1.setY(((Integer) value_0_1_1).intValue());
- value10201 = GMFGraphAbstractExpression.performCast(value10201, EcorePackage.eINSTANCE.getEInt());
- newInstance101.setY(((Integer) value10201).intValue());
} catch (RuntimeException e) {
GMFGraphDiagramEditorPlugin.getInstance().logError("Element initialization failed", e); //$NON-NLS-1$
}
@@ -64,42 +64,42 @@ public class ElementInitializers {
*/
public static void init_Polygon_3023(Polygon instance) {
try {
+ Point newInstance_0_0 = GMFGraphFactory.eINSTANCE.createPoint();
- Point newInstance100 = GMFGraphFactory.eINSTANCE.createPoint();
+ instance.getTemplate().add(newInstance_0_0);
+ Object value_0_0_0 = GMFGraphOCLFactory.getExpression("10", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance_0_0);
- instance.getTemplate().add(newInstance100);
- Object value10100 = GMFGraphOCLFactory.getExpression("10", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance100);
+ value_0_0_0 = GMFGraphAbstractExpression.performCast(value_0_0_0, EcorePackage.eINSTANCE.getEInt());
+ newInstance_0_0.setX(((Integer) value_0_0_0).intValue());
+ Object value_0_0_1 = GMFGraphOCLFactory.getExpression("10", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance_0_0);
- value10100 = GMFGraphAbstractExpression.performCast(value10100, EcorePackage.eINSTANCE.getEInt());
- newInstance100.setX(((Integer) value10100).intValue());
- Object value10101 = GMFGraphOCLFactory.getExpression("10", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance100);
+ value_0_0_1 = GMFGraphAbstractExpression.performCast(value_0_0_1, EcorePackage.eINSTANCE.getEInt());
+ newInstance_0_0.setY(((Integer) value_0_0_1).intValue());
- value10101 = GMFGraphAbstractExpression.performCast(value10101, EcorePackage.eINSTANCE.getEInt());
- newInstance100.setY(((Integer) value10101).intValue());
+ Point newInstance_0_1 = GMFGraphFactory.eINSTANCE.createPoint();
- Point newInstance101 = GMFGraphFactory.eINSTANCE.createPoint();
+ instance.getTemplate().add(newInstance_0_1);
+ Object value_0_1_0 = GMFGraphOCLFactory.getExpression("30", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance_0_1);
- instance.getTemplate().add(newInstance101);
- Object value10200 = GMFGraphOCLFactory.getExpression("30", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance101);
+ value_0_1_0 = GMFGraphAbstractExpression.performCast(value_0_1_0, EcorePackage.eINSTANCE.getEInt());
+ newInstance_0_1.setX(((Integer) value_0_1_0).intValue());
+ Object value_0_1_1 = GMFGraphOCLFactory.getExpression("30", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance_0_1);
- value10200 = GMFGraphAbstractExpression.performCast(value10200, EcorePackage.eINSTANCE.getEInt());
- newInstance101.setX(((Integer) value10200).intValue());
- Object value10201 = GMFGraphOCLFactory.getExpression("30", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance101);
+ value_0_1_1 = GMFGraphAbstractExpression.performCast(value_0_1_1, EcorePackage.eINSTANCE.getEInt());
+ newInstance_0_1.setY(((Integer) value_0_1_1).intValue());
- value10201 = GMFGraphAbstractExpression.performCast(value10201, EcorePackage.eINSTANCE.getEInt());
- newInstance101.setY(((Integer) value10201).intValue());
+ Point newInstance_0_2 = GMFGraphFactory.eINSTANCE.createPoint();
- Point newInstance102 = GMFGraphFactory.eINSTANCE.createPoint();
+ instance.getTemplate().add(newInstance_0_2);
+ Object value_0_2_0 = GMFGraphOCLFactory.getExpression("10", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance_0_2);
- instance.getTemplate().add(newInstance102);
- Object value10300 = GMFGraphOCLFactory.getExpression("10", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance102);
+ value_0_2_0 = GMFGraphAbstractExpression.performCast(value_0_2_0, EcorePackage.eINSTANCE.getEInt());
+ newInstance_0_2.setX(((Integer) value_0_2_0).intValue());
+ Object value_0_2_1 = GMFGraphOCLFactory.getExpression("60", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance_0_2);
- value10300 = GMFGraphAbstractExpression.performCast(value10300, EcorePackage.eINSTANCE.getEInt());
- newInstance102.setX(((Integer) value10300).intValue());
- Object value10301 = GMFGraphOCLFactory.getExpression("60", GMFGraphPackage.eINSTANCE.getPoint()).evaluate(newInstance102);
+ value_0_2_1 = GMFGraphAbstractExpression.performCast(value_0_2_1, EcorePackage.eINSTANCE.getEInt());
+ newInstance_0_2.setY(((Integer) value_0_2_1).intValue());
- value10301 = GMFGraphAbstractExpression.performCast(value10301, EcorePackage.eINSTANCE.getEInt());
- newInstance102.setY(((Integer) value10301).intValue());
} catch (RuntimeException e) {
GMFGraphDiagramEditorPlugin.getInstance().logError("Element initialization failed", e); //$NON-NLS-1$
}

Back to the top