diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2011-09-21 20:59:17 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2011-09-21 20:59:17 +0000 |
commit | c273cc2dbd9ad3ccf07d4018e4262617d4ba1793 (patch) | |
tree | bec71105682b970b8f0e58bff8b1fd748f9582ba /sca-java-2.x/trunk/modules/composite-diagram/src/main/java/org/apache/tuscany/sca/diagram/layout/TuscanyCompositeEntityBuilder.java | |
parent | 6fc9f8704b54553bbb31935e272405bee83f1e59 (diff) |
Calculate the height/width for components/composites based on its content
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1173855 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rwxr-xr-x | sca-java-2.x/trunk/modules/composite-diagram/src/main/java/org/apache/tuscany/sca/diagram/layout/TuscanyCompositeEntityBuilder.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/modules/composite-diagram/src/main/java/org/apache/tuscany/sca/diagram/layout/TuscanyCompositeEntityBuilder.java b/sca-java-2.x/trunk/modules/composite-diagram/src/main/java/org/apache/tuscany/sca/diagram/layout/TuscanyCompositeEntityBuilder.java index e133064ae7..dc9d3be55b 100755 --- a/sca-java-2.x/trunk/modules/composite-diagram/src/main/java/org/apache/tuscany/sca/diagram/layout/TuscanyCompositeEntityBuilder.java +++ b/sca-java-2.x/trunk/modules/composite-diagram/src/main/java/org/apache/tuscany/sca/diagram/layout/TuscanyCompositeEntityBuilder.java @@ -88,7 +88,7 @@ public class TuscanyCompositeEntityBuilder { addInclusions(); - composite.setAttributes(); + composite.build(); return composite; } @@ -231,9 +231,7 @@ public class TuscanyCompositeEntityBuilder { setReferences(aComp.getReferences(), elts[i]); setProperties(aComp.getProperties(), elts[i]); - elts[i].referenceHeight(); - elts[i].serviceHeight(); - elts[i].propertyLength(); + elts[i].build(); } return elts; |