Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2009-02-13 18:15:57 +0000
committeratikhomirov2009-02-13 18:15:57 +0000
commit74366c63c5e4767d6a3746aa762101b2dd03c064 (patch)
tree60dcb180258f0b96c6a04ab94fe093a7b0d41217
parent341850947075e576a382c6343a445261c3ea2743 (diff)
downloadorg.eclipse.gmf-tooling-20090213-1925.tar.gz
org.eclipse.gmf-tooling-20090213-1925.tar.xz
org.eclipse.gmf-tooling-20090213-1925.zip
[262383] workaround to get linewidth always set, even if it's of default widthv20090213-1925
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/templates.migrated/attr/Shape.xpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates.migrated/attr/Shape.xpt b/plugins/org.eclipse.gmf.graphdef.codegen/templates.migrated/attr/Shape.xpt
index 6c1d00ca0..3129577c7 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/templates.migrated/attr/Shape.xpt
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates.migrated/attr/Shape.xpt
@@ -21,7 +21,7 @@ org.eclipse.draw2d.Shape
«IF xorFill»«EXPAND xorFill(figureVarName)»«ENDIF-»
«IF not outline»«EXPAND outline(figureVarName)»«ENDIF-»
«IF xorOutline»«EXPAND xorOutline(figureVarName)»«ENDIF-»
-«IF lineWidth <> 1»«EXPAND lineWidth(figureVarName)»«ENDIF-»
+«REM» UNCONDITIONALLY generate setLineWidth, see bug 262383 IF lineWidth <> 1 «ENDREM»«EXPAND lineWidth(figureVarName)»«REM» ENDIF «ENDREM-»
«IF lineKind <> gmfgraph::LineKind::LINE_SOLID»«EXPAND lineKind(figureVarName)»«ENDIF-»
«ENDDEFINE»

Back to the top