Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2009-06-30 11:02:26 -0400
committerashatalin2009-06-30 11:02:26 -0400
commitf87b3209ddfa94719f64becbe0354d67447feb5a (patch)
tree178f92ca44ede0278a9394f45c19692d5c118006
parenteae63fd5a9d4d19fee3d02d0dbaf87583c6838b2 (diff)
downloadorg.eclipse.gmf-tooling-f87b3209ddfa94719f64becbe0354d67447feb5a.tar.gz
org.eclipse.gmf-tooling-f87b3209ddfa94719f64becbe0354d67447feb5a.tar.xz
org.eclipse.gmf-tooling-f87b3209ddfa94719f64becbe0354d67447feb5a.zip
Diagram editor was regenerated using latest templates.v20090630-1925
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/META-INF/MANIFEST.MF2
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen2
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationEditPart.java1
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationReferencesEditPart.java1
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClassESuperTypesEditPart.java2
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClassEditPart.java1
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EDataTypeEditPart.java1
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumEditPart.java1
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EPackage2EditPart.java1
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EReference2EditPart.java2
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EReferenceEditPart.java2
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/policies/EPackageCanonicalEditPolicy.java4
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/part/EcorePaletteFactory.java32
13 files changed, 32 insertions, 20 deletions
diff --git a/examples/org.eclipse.gmf.ecore.editor/META-INF/MANIFEST.MF b/examples/org.eclipse.gmf.ecore.editor/META-INF/MANIFEST.MF
index d0fe1675c..cd146a11c 100644
--- a/examples/org.eclipse.gmf.ecore.editor/META-INF/MANIFEST.MF
+++ b/examples/org.eclipse.gmf.ecore.editor/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.gmf.ecore.editor; singleton:=true
-Bundle-Version: 2.1.0.qualifier
+Bundle-Version: 2.2.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: org.eclipse.gmf.ecore.part.EcoreDiagramEditorPlugin
Bundle-Vendor: %providerName
diff --git a/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen b/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen
index 71cd8c6a8..712bb1123 100644
--- a/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen
+++ b/examples/org.eclipse.gmf.ecore.editor/models/ecore.gmfgen
@@ -1095,7 +1095,7 @@
iD="org.eclipse.gmf.ecore.editor"
name="ECore Sample Diagram Plugin"
provider="Eclipse.org"
- version="2.1.0.qualifier"
+ version="2.2.0.qualifier"
printingEnabled="true">
<requiredPlugins>org.eclipse.draw2d</requiredPlugins>
<requiredPlugins>org.eclipse.gmf.runtime.draw2d.ui</requiredPlugins>
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationEditPart.java
index 08f775098..8ec1e46c0 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationEditPart.java
@@ -383,6 +383,7 @@ public class EAnnotationEditPart extends ShapeNodeEditPart {
this.setLayoutManager(layoutThis);
+ this.setLineWidth(1);
createContents();
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationReferencesEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationReferencesEditPart.java
index 30a9ce700..15945e304 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationReferencesEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationReferencesEditPart.java
@@ -74,6 +74,7 @@ public class EAnnotationReferencesEditPart extends ConnectionNodeEditPart implem
* @generated
*/
public DashedLineConnection() {
+ this.setLineWidth(1);
this.setLineStyle(Graphics.LINE_DASH);
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClassESuperTypesEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClassESuperTypesEditPart.java
index 03d2e9d12..75a061a98 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClassESuperTypesEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClassESuperTypesEditPart.java
@@ -77,6 +77,7 @@ public class EClassESuperTypesEditPart extends ConnectionNodeEditPart implements
* @generated
*/
public SolidLineWDstClosedArrow() {
+ this.setLineWidth(1);
setTargetDecoration(createTargetDecoration());
}
@@ -87,6 +88,7 @@ public class EClassESuperTypesEditPart extends ConnectionNodeEditPart implements
private RotatableDecoration createTargetDecoration() {
PolygonDecoration df = new PolygonDecoration();
df.setFill(true);
+ df.setLineWidth(1);
df.setBackgroundColor(ColorConstants.white);
PointList pl = new PointList();
pl.addPoint(getMapMode().DPtoLP(0), getMapMode().DPtoLP(0));
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClassEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClassEditPart.java
index f2d430f79..7d57dd640 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClassEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClassEditPart.java
@@ -415,6 +415,7 @@ public class EClassEditPart extends ShapeNodeEditPart {
this.setLayoutManager(layoutThis);
+ this.setLineWidth(1);
createContents();
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EDataTypeEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EDataTypeEditPart.java
index a01886763..f2123fe4b 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EDataTypeEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EDataTypeEditPart.java
@@ -336,6 +336,7 @@ public class EDataTypeEditPart extends ShapeNodeEditPart {
this.setLayoutManager(layoutThis);
+ this.setLineWidth(1);
createContents();
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumEditPart.java
index 1b62143a2..c872b549e 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumEditPart.java
@@ -339,6 +339,7 @@ public class EEnumEditPart extends ShapeNodeEditPart {
this.setLayoutManager(layoutThis);
+ this.setLineWidth(1);
createContents();
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EPackage2EditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EPackage2EditPart.java
index b08c3fddb..b2139c53c 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EPackage2EditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EPackage2EditPart.java
@@ -342,6 +342,7 @@ public class EPackage2EditPart extends ShapeNodeEditPart {
this.setLayoutManager(layoutThis);
+ this.setLineWidth(1);
createContents();
}
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EReference2EditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EReference2EditPart.java
index bf657b7a9..7901f3a20 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EReference2EditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EReference2EditPart.java
@@ -111,6 +111,7 @@ public class EReference2EditPart extends ConnectionNodeEditPart implements ITree
* @generated
*/
public SolidLineWSrcDiamond() {
+ this.setLineWidth(1);
setSourceDecoration(createSourceDecoration());
}
@@ -121,6 +122,7 @@ public class EReference2EditPart extends ConnectionNodeEditPart implements ITree
private RotatableDecoration createSourceDecoration() {
PolygonDecoration df = new PolygonDecoration();
df.setFill(true);
+ df.setLineWidth(1);
PointList pl = new PointList();
pl.addPoint(getMapMode().DPtoLP(-1), getMapMode().DPtoLP(1));
pl.addPoint(getMapMode().DPtoLP(0), getMapMode().DPtoLP(0));
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EReferenceEditPart.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EReferenceEditPart.java
index e571c0eca..4840414ed 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EReferenceEditPart.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EReferenceEditPart.java
@@ -111,6 +111,7 @@ public class EReferenceEditPart extends ConnectionNodeEditPart implements ITreeB
* @generated
*/
public SolidLineWDstArrow() {
+ this.setLineWidth(1);
setTargetDecoration(createTargetDecoration());
}
@@ -120,6 +121,7 @@ public class EReferenceEditPart extends ConnectionNodeEditPart implements ITreeB
*/
private RotatableDecoration createTargetDecoration() {
PolylineDecoration df = new PolylineDecoration();
+ df.setLineWidth(1);
PointList pl = new PointList();
pl.addPoint(getMapMode().DPtoLP(-1), getMapMode().DPtoLP(1));
pl.addPoint(getMapMode().DPtoLP(0), getMapMode().DPtoLP(0));
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/policies/EPackageCanonicalEditPolicy.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/policies/EPackageCanonicalEditPolicy.java
index 537211cce..6e94cddca 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/policies/EPackageCanonicalEditPolicy.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/policies/EPackageCanonicalEditPolicy.java
@@ -310,8 +310,8 @@ public class EPackageCanonicalEditPolicy extends CanonicalConnectionEditPolicy {
if (sourceEditPart == null || targetEditPart == null) {
continue;
}
- CreateConnectionViewRequest.ConnectionViewDescriptor descriptor = new CreateConnectionViewRequest.ConnectionViewDescriptor(nextLinkDescriptor.getSemanticAdapter(), null, ViewUtil.APPEND,
- false, ((IGraphicalEditPart) getHost()).getDiagramPreferencesHint());
+ CreateConnectionViewRequest.ConnectionViewDescriptor descriptor = new CreateConnectionViewRequest.ConnectionViewDescriptor(nextLinkDescriptor.getSemanticAdapter(), String
+ .valueOf(nextLinkDescriptor.getVisualID()), ViewUtil.APPEND, false, ((IGraphicalEditPart) getHost()).getDiagramPreferencesHint());
CreateConnectionViewRequest ccr = new CreateConnectionViewRequest(descriptor);
ccr.setType(RequestConstants.REQ_CONNECTION_START);
ccr.setSourceEditPart(sourceEditPart);
diff --git a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/part/EcorePaletteFactory.java b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/part/EcorePaletteFactory.java
index 16061f0ca..0e52a67d9 100644
--- a/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/part/EcorePaletteFactory.java
+++ b/examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/part/EcorePaletteFactory.java
@@ -43,7 +43,7 @@ public class EcorePaletteFactory {
*/
private PaletteContainer createNodes1Group() {
PaletteGroup paletteContainer = new PaletteGroup(Messages.Nodes1Group_title);
- paletteContainer.setId("top"); //$NON-NLS-1$
+ paletteContainer.setId("createNodes1Group"); //$NON-NLS-1$
paletteContainer.setDescription(Messages.Nodes1Group_desc);
paletteContainer.add(createEClass1CreationTool());
paletteContainer.add(createEPackage2CreationTool());
@@ -59,7 +59,7 @@ public class EcorePaletteFactory {
*/
private PaletteContainer createChildNodes2Group() {
PaletteGroup paletteContainer = new PaletteGroup(Messages.ChildNodes2Group_title);
- paletteContainer.setId("child"); //$NON-NLS-1$
+ paletteContainer.setId("createChildNodes2Group"); //$NON-NLS-1$
paletteContainer.setDescription(Messages.ChildNodes2Group_desc);
paletteContainer.add(createEAttribute1CreationTool());
paletteContainer.add(createEOperation2CreationTool());
@@ -74,7 +74,7 @@ public class EcorePaletteFactory {
*/
private PaletteContainer createLinks3Group() {
PaletteGroup paletteContainer = new PaletteGroup(Messages.Links3Group_title);
- paletteContainer.setId("link"); //$NON-NLS-1$
+ paletteContainer.setId("createLinks3Group"); //$NON-NLS-1$
paletteContainer.setDescription(Messages.Links3Group_desc);
paletteContainer.add(createEAnnotationreference1CreationTool());
paletteContainer.add(createAssociation2CreationTool());
@@ -91,7 +91,7 @@ public class EcorePaletteFactory {
types.add(EcoreElementTypes.EClass_2001);
types.add(EcoreElementTypes.EClass_3004);
NodeToolEntry entry = new NodeToolEntry(Messages.EClass1CreationTool_title, Messages.EClass1CreationTool_desc, types);
- entry.setId("EClass"); //$NON-NLS-1$
+ entry.setId("createEClass1CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EClass_2001));
entry.setLargeIcon(entry.getSmallIcon());
return entry;
@@ -105,7 +105,7 @@ public class EcorePaletteFactory {
types.add(EcoreElementTypes.EPackage_2002);
types.add(EcoreElementTypes.EPackage_3005);
NodeToolEntry entry = new NodeToolEntry(Messages.EPackage2CreationTool_title, Messages.EPackage2CreationTool_desc, types);
- entry.setId("EPackage"); //$NON-NLS-1$
+ entry.setId("createEPackage2CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EPackage_2002));
entry.setLargeIcon(entry.getSmallIcon());
return entry;
@@ -119,7 +119,7 @@ public class EcorePaletteFactory {
types.add(EcoreElementTypes.EAnnotation_3003);
types.add(EcoreElementTypes.EAnnotation_2003);
NodeToolEntry entry = new NodeToolEntry(Messages.EAnnotation3CreationTool_title, Messages.EAnnotation3CreationTool_desc, types);
- entry.setId("EAnnotation"); //$NON-NLS-1$
+ entry.setId("createEAnnotation3CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EAnnotation_3003));
entry.setLargeIcon(entry.getSmallIcon());
return entry;
@@ -133,7 +133,7 @@ public class EcorePaletteFactory {
types.add(EcoreElementTypes.EDataType_3006);
types.add(EcoreElementTypes.EDataType_2004);
NodeToolEntry entry = new NodeToolEntry(Messages.EDataType4CreationTool_title, Messages.EDataType4CreationTool_desc, types);
- entry.setId("EDataType"); //$NON-NLS-1$
+ entry.setId("createEDataType4CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EDataType_3006));
entry.setLargeIcon(entry.getSmallIcon());
return entry;
@@ -147,7 +147,7 @@ public class EcorePaletteFactory {
types.add(EcoreElementTypes.EEnum_3007);
types.add(EcoreElementTypes.EEnum_2005);
NodeToolEntry entry = new NodeToolEntry(Messages.EEnum5CreationTool_title, Messages.EEnum5CreationTool_desc, types);
- entry.setId("EEnum"); //$NON-NLS-1$
+ entry.setId("createEEnum5CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EEnum_3007));
entry.setLargeIcon(entry.getSmallIcon());
return entry;
@@ -160,7 +160,7 @@ public class EcorePaletteFactory {
List/*<IElementType>*/types = new ArrayList/*<IElementType>*/(1);
types.add(EcoreElementTypes.EAttribute_3001);
NodeToolEntry entry = new NodeToolEntry(Messages.EAttribute1CreationTool_title, Messages.EAttribute1CreationTool_desc, types);
- entry.setId("EAttribute"); //$NON-NLS-1$
+ entry.setId("createEAttribute1CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EAttribute_3001));
entry.setLargeIcon(entry.getSmallIcon());
return entry;
@@ -173,7 +173,7 @@ public class EcorePaletteFactory {
List/*<IElementType>*/types = new ArrayList/*<IElementType>*/(1);
types.add(EcoreElementTypes.EOperation_3002);
NodeToolEntry entry = new NodeToolEntry(Messages.EOperation2CreationTool_title, Messages.EOperation2CreationTool_desc, types);
- entry.setId("EOperation"); //$NON-NLS-1$
+ entry.setId("createEOperation2CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EOperation_3002));
entry.setLargeIcon(entry.getSmallIcon());
return entry;
@@ -186,7 +186,7 @@ public class EcorePaletteFactory {
List/*<IElementType>*/types = new ArrayList/*<IElementType>*/(1);
types.add(EcoreElementTypes.EStringToStringMapEntry_3008);
NodeToolEntry entry = new NodeToolEntry(Messages.Annotationdetails3CreationTool_title, Messages.Annotationdetails3CreationTool_desc, types);
- entry.setId("EAnnotationEntry"); //$NON-NLS-1$
+ entry.setId("createAnnotationdetails3CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EStringToStringMapEntry_3008));
entry.setLargeIcon(entry.getSmallIcon());
return entry;
@@ -199,7 +199,7 @@ public class EcorePaletteFactory {
List/*<IElementType>*/types = new ArrayList/*<IElementType>*/(1);
types.add(EcoreElementTypes.EEnumLiteral_3009);
NodeToolEntry entry = new NodeToolEntry(Messages.EEnumLiteral4CreationTool_title, Messages.EEnumLiteral4CreationTool_desc, types);
- entry.setId("EEnumLiteral"); //$NON-NLS-1$
+ entry.setId("createEEnumLiteral4CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EEnumLiteral_3009));
entry.setLargeIcon(entry.getSmallIcon());
return entry;
@@ -212,7 +212,7 @@ public class EcorePaletteFactory {
List/*<IElementType>*/types = new ArrayList/*<IElementType>*/(1);
types.add(EcoreElementTypes.EAnnotationReferences_4001);
LinkToolEntry entry = new LinkToolEntry(Messages.EAnnotationreference1CreationTool_title, Messages.EAnnotationreference1CreationTool_desc, types);
- entry.setId("annotate"); //$NON-NLS-1$
+ entry.setId("createEAnnotationreference1CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EAnnotationReferences_4001));
entry.setLargeIcon(entry.getSmallIcon());
return entry;
@@ -225,7 +225,7 @@ public class EcorePaletteFactory {
List/*<IElementType>*/types = new ArrayList/*<IElementType>*/(1);
types.add(EcoreElementTypes.EReference_4002);
LinkToolEntry entry = new LinkToolEntry(Messages.Association2CreationTool_title, Messages.Association2CreationTool_desc, types);
- entry.setId("associate"); //$NON-NLS-1$
+ entry.setId("createAssociation2CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EReference_4002));
entry.setLargeIcon(entry.getSmallIcon());
return entry;
@@ -238,7 +238,7 @@ public class EcorePaletteFactory {
List/*<IElementType>*/types = new ArrayList/*<IElementType>*/(1);
types.add(EcoreElementTypes.EReference_4003);
LinkToolEntry entry = new LinkToolEntry(Messages.Aggregation3CreationTool_title, Messages.Aggregation3CreationTool_desc, types);
- entry.setId("aggregate"); //$NON-NLS-1$
+ entry.setId("createAggregation3CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EReference_4003));
entry.setLargeIcon(entry.getSmallIcon());
return entry;
@@ -251,7 +251,7 @@ public class EcorePaletteFactory {
List/*<IElementType>*/types = new ArrayList/*<IElementType>*/(1);
types.add(EcoreElementTypes.EClassESuperTypes_4004);
LinkToolEntry entry = new LinkToolEntry(Messages.Generalization4CreationTool_title, Messages.Generalization4CreationTool_desc, types);
- entry.setId("generalize"); //$NON-NLS-1$
+ entry.setId("createGeneralization4CreationTool"); //$NON-NLS-1$
entry.setSmallIcon(EcoreElementTypes.getImageDescriptor(EcoreElementTypes.EClassESuperTypes_4004));
entry.setLargeIcon(entry.getSmallIcon());
return entry;

Back to the top