Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2009-05-22 19:45:16 +0000
committeratikhomirov2009-05-22 19:45:16 +0000
commitccd8fab767d7ef9303a904c5c223c9fbca830286 (patch)
tree0785fe5832ababda9083fbb614c7b910b261f6ef /examples
parent18d5f41c44c44040db418881f827a45178f44f5b (diff)
downloadorg.eclipse.gmf-tooling-ccd8fab767d7ef9303a904c5c223c9fbca830286.tar.gz
org.eclipse.gmf-tooling-ccd8fab767d7ef9303a904c5c223c9fbca830286.tar.xz
org.eclipse.gmf-tooling-ccd8fab767d7ef9303a904c5c223c9fbca830286.zip
regenerated with recent template changes (mapmode use gone, if not needed)
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EAnnotationEditPart.java6
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EClassEditPart.java6
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EDataTypeEditPart.java6
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EEnumEditPart.java6
-rw-r--r--examples/org.eclipse.gmf.ecore.editor/src/org/eclipse/gmf/ecore/edit/parts/EPackage2EditPart.java6
5 files changed, 15 insertions, 15 deletions
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 99e0fb749..08f775098 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
@@ -170,7 +170,7 @@ public class EAnnotationEditPart extends ShapeNodeEditPart {
* @generated
*/
protected NodeFigure createNodePlate() {
- DefaultSizeNodeFigure result = new DefaultSizeNodeFigure(getMapMode().DPtoLP(40), getMapMode().DPtoLP(40));
+ DefaultSizeNodeFigure result = new DefaultSizeNodeFigure(40, 40);
return result;
}
@@ -200,7 +200,7 @@ public class EAnnotationEditPart extends ShapeNodeEditPart {
protected IFigure setupContentPane(IFigure nodeShape) {
if (nodeShape.getLayoutManager() == null) {
ConstrainedToolbarLayout layout = new ConstrainedToolbarLayout();
- layout.setSpacing(getMapMode().DPtoLP(5));
+ layout.setSpacing(5);
nodeShape.setLayoutManager(layout);
}
return nodeShape; // use nodeShape itself as contentPane
@@ -239,7 +239,7 @@ public class EAnnotationEditPart extends ShapeNodeEditPart {
*/
protected void setLineWidth(int width) {
if (primaryShape instanceof Shape) {
- ((Shape) primaryShape).setLineWidth(getMapMode().DPtoLP(width));
+ ((Shape) primaryShape).setLineWidth(width);
}
}
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 7073cf02a..f2d430f79 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
@@ -170,7 +170,7 @@ public class EClassEditPart extends ShapeNodeEditPart {
* @generated
*/
protected NodeFigure createNodePlate() {
- DefaultSizeNodeFigure result = new DefaultSizeNodeFigure(getMapMode().DPtoLP(40), getMapMode().DPtoLP(40));
+ DefaultSizeNodeFigure result = new DefaultSizeNodeFigure(40, 40);
return result;
}
@@ -200,7 +200,7 @@ public class EClassEditPart extends ShapeNodeEditPart {
protected IFigure setupContentPane(IFigure nodeShape) {
if (nodeShape.getLayoutManager() == null) {
ConstrainedToolbarLayout layout = new ConstrainedToolbarLayout();
- layout.setSpacing(getMapMode().DPtoLP(5));
+ layout.setSpacing(5);
nodeShape.setLayoutManager(layout);
}
return nodeShape; // use nodeShape itself as contentPane
@@ -239,7 +239,7 @@ public class EClassEditPart extends ShapeNodeEditPart {
*/
protected void setLineWidth(int width) {
if (primaryShape instanceof Shape) {
- ((Shape) primaryShape).setLineWidth(getMapMode().DPtoLP(width));
+ ((Shape) primaryShape).setLineWidth(width);
}
}
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 a194d60a5..a01886763 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
@@ -170,7 +170,7 @@ public class EDataTypeEditPart extends ShapeNodeEditPart {
* @generated
*/
protected NodeFigure createNodePlate() {
- DefaultSizeNodeFigure result = new DefaultSizeNodeFigure(getMapMode().DPtoLP(40), getMapMode().DPtoLP(40));
+ DefaultSizeNodeFigure result = new DefaultSizeNodeFigure(40, 40);
return result;
}
@@ -200,7 +200,7 @@ public class EDataTypeEditPart extends ShapeNodeEditPart {
protected IFigure setupContentPane(IFigure nodeShape) {
if (nodeShape.getLayoutManager() == null) {
ConstrainedToolbarLayout layout = new ConstrainedToolbarLayout();
- layout.setSpacing(getMapMode().DPtoLP(5));
+ layout.setSpacing(5);
nodeShape.setLayoutManager(layout);
}
return nodeShape; // use nodeShape itself as contentPane
@@ -239,7 +239,7 @@ public class EDataTypeEditPart extends ShapeNodeEditPart {
*/
protected void setLineWidth(int width) {
if (primaryShape instanceof Shape) {
- ((Shape) primaryShape).setLineWidth(getMapMode().DPtoLP(width));
+ ((Shape) primaryShape).setLineWidth(width);
}
}
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 cc20d956e..1b62143a2 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
@@ -170,7 +170,7 @@ public class EEnumEditPart extends ShapeNodeEditPart {
* @generated
*/
protected NodeFigure createNodePlate() {
- DefaultSizeNodeFigure result = new DefaultSizeNodeFigure(getMapMode().DPtoLP(40), getMapMode().DPtoLP(40));
+ DefaultSizeNodeFigure result = new DefaultSizeNodeFigure(40, 40);
return result;
}
@@ -200,7 +200,7 @@ public class EEnumEditPart extends ShapeNodeEditPart {
protected IFigure setupContentPane(IFigure nodeShape) {
if (nodeShape.getLayoutManager() == null) {
ConstrainedToolbarLayout layout = new ConstrainedToolbarLayout();
- layout.setSpacing(getMapMode().DPtoLP(5));
+ layout.setSpacing(5);
nodeShape.setLayoutManager(layout);
}
return nodeShape; // use nodeShape itself as contentPane
@@ -239,7 +239,7 @@ public class EEnumEditPart extends ShapeNodeEditPart {
*/
protected void setLineWidth(int width) {
if (primaryShape instanceof Shape) {
- ((Shape) primaryShape).setLineWidth(getMapMode().DPtoLP(width));
+ ((Shape) primaryShape).setLineWidth(width);
}
}
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 0690a81c0..b08c3fddb 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
@@ -172,7 +172,7 @@ public class EPackage2EditPart extends ShapeNodeEditPart {
* @generated
*/
protected NodeFigure createNodePlate() {
- DefaultSizeNodeFigure result = new DefaultSizeNodeFigure(getMapMode().DPtoLP(40), getMapMode().DPtoLP(40));
+ DefaultSizeNodeFigure result = new DefaultSizeNodeFigure(40, 40);
return result;
}
@@ -202,7 +202,7 @@ public class EPackage2EditPart extends ShapeNodeEditPart {
protected IFigure setupContentPane(IFigure nodeShape) {
if (nodeShape.getLayoutManager() == null) {
ConstrainedToolbarLayout layout = new ConstrainedToolbarLayout();
- layout.setSpacing(getMapMode().DPtoLP(5));
+ layout.setSpacing(5);
nodeShape.setLayoutManager(layout);
}
return nodeShape; // use nodeShape itself as contentPane
@@ -241,7 +241,7 @@ public class EPackage2EditPart extends ShapeNodeEditPart {
*/
protected void setLineWidth(int width) {
if (primaryShape instanceof Shape) {
- ((Shape) primaryShape).setLineWidth(getMapMode().DPtoLP(width));
+ ((Shape) primaryShape).setLineWidth(width);
}
}

Back to the top