summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Johnson2014-03-24 14:31:39 (EDT)
committerDaniel Johnson2014-03-24 14:31:39 (EDT)
commitc181856b7f00d8a62fdba00ca095507de7c8ddad (patch)
treea1abe58fec7231770af8ca3f7ecaee5735039f44
parent1b6452d9042cc7e142236e6989f00cb83509b7f2 (diff)
downloadorg.eclipse.tigerstripe-c181856b7f00d8a62fdba00ca095507de7c8ddad.zip
org.eclipse.tigerstripe-c181856b7f00d8a62fdba00ca095507de7c8ddad.tar.gz
org.eclipse.tigerstripe-c181856b7f00d8a62fdba00ca095507de7c8ddad.tar.bz2
Fix for wcs model import to fix stereotype and assocations ends.
-rw-r--r--plugins/org.eclipse.tigerstripe.workbench.optional.bulkImport/src/org/eclipse/tigerstripe/workbench/optional/bulkImport/XML2TS.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tigerstripe.workbench.optional.bulkImport/src/org/eclipse/tigerstripe/workbench/optional/bulkImport/XML2TS.java b/plugins/org.eclipse.tigerstripe.workbench.optional.bulkImport/src/org/eclipse/tigerstripe/workbench/optional/bulkImport/XML2TS.java
index b62dd33..e36e0d8 100644
--- a/plugins/org.eclipse.tigerstripe.workbench.optional.bulkImport/src/org/eclipse/tigerstripe/workbench/optional/bulkImport/XML2TS.java
+++ b/plugins/org.eclipse.tigerstripe.workbench.optional.bulkImport/src/org/eclipse/tigerstripe/workbench/optional/bulkImport/XML2TS.java
@@ -1000,6 +1000,12 @@ public class XML2TS {
IType type = thisEnd.makeType();
type.setFullyQualifiedName(endNode.getAttribute("type"));
thisEnd.setType(type);
+
+ for (IStereotypeInstance st : getStereotypes(endNode, out, messages)) {
+ thisEnd.addStereotypeInstance(st);
+ }
+
+ setAnnotations(endNode, thisEnd, out, messages);
if (endNode.getAttribute("end").equals("AEnd")) {
assArt.setAEnd(thisEnd);