diff options
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/templates/Attrs.xpt')
-rw-r--r-- | plugins/org.eclipse.gmf.graphdef.codegen/templates/Attrs.xpt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/templates/Attrs.xpt b/plugins/org.eclipse.gmf.graphdef.codegen/templates/Attrs.xpt index 773788029..b285c99da 100644 --- a/plugins/org.eclipse.gmf.graphdef.codegen/templates/Attrs.xpt +++ b/plugins/org.eclipse.gmf.graphdef.codegen/templates/Attrs.xpt @@ -54,5 +54,12 @@ «IF safeRendering-» «figureVarName».setSafeRendering(true); «ENDIF-» +«IF areaOfInterest != null-» +«figureVarName».setAreaOfInterest(«EXPAND Instance FOR areaOfInterest»); +«ENDIF-» «EXPAND attr::Figure::figureAttrs(figureVarName)-» «ENDDEFINE» + +«DEFINE Instance FOR gmfgraph::Rectangle2D-» +new java.awt.geom.Rectangle2D.Double(«x», «y», «width», «height») +«ENDDEFINE» |