Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2006-04-20 12:01:53 -0400
committeratikhomirov2006-04-20 12:01:53 -0400
commite029c5f7a1822648a2910a44394a6b6a953e6de8 (patch)
tree6a5d14b0a0cbe82f76ea06114df80780f78a4151 /plugins/org.eclipse.gmf.graphdef.codegen/src/org/eclipse/gmf/internal
parent27730d6508e2ac419b17d8ee9b0a27bc22d215f4 (diff)
downloadorg.eclipse.gmf-tooling-e029c5f7a1822648a2910a44394a6b6a953e6de8.tar.gz
org.eclipse.gmf-tooling-e029c5f7a1822648a2910a44394a6b6a953e6de8.tar.xz
org.eclipse.gmf-tooling-e029c5f7a1822648a2910a44394a6b6a953e6de8.zip
[mgolubev] #131365 mirror diagram elements while generating figure code - tests and fix for connections
Diffstat (limited to 'plugins/org.eclipse.gmf.graphdef.codegen/src/org/eclipse/gmf/internal')
-rw-r--r--plugins/org.eclipse.gmf.graphdef.codegen/src/org/eclipse/gmf/internal/graphdef/codegen/StandaloneGalleryConverter.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.gmf.graphdef.codegen/src/org/eclipse/gmf/internal/graphdef/codegen/StandaloneGalleryConverter.java b/plugins/org.eclipse.gmf.graphdef.codegen/src/org/eclipse/gmf/internal/graphdef/codegen/StandaloneGalleryConverter.java
index 29a4d259f..0c30ee3bf 100644
--- a/plugins/org.eclipse.gmf.graphdef.codegen/src/org/eclipse/gmf/internal/graphdef/codegen/StandaloneGalleryConverter.java
+++ b/plugins/org.eclipse.gmf.graphdef.codegen/src/org/eclipse/gmf/internal/graphdef/codegen/StandaloneGalleryConverter.java
@@ -74,11 +74,13 @@ public class StandaloneGalleryConverter {
Collection compartments = myDiagramElementsCopier.copyAll(original.getCompartments());
Collection labels = myDiagramElementsCopier.copyAll(original.getLabels());
Collection nodes = myDiagramElementsCopier.copyAll(original.getNodes());
+ Collection connections = myDiagramElementsCopier.copyAll(original.getConnections());
result.getChildren().addAll(children);
result.getCompartments().addAll(compartments);
result.getLabels().addAll(labels);
result.getNodes().addAll(nodes);
+ result.getConnections().addAll(connections);
}
}
}

Back to the top