Skip to content

Commit c87e6a3

Browse files
authored
Merge pull request #681 from Systems-Modeling/ST6RI-873
ST6RI-873 Implied binding connectors not generated
2 parents b2a0bae + 128c85e commit c87e6a3

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

org.omg.sysml/src/org/omg/sysml/util/ElementUtil.java

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -346,10 +346,6 @@ public static void transformAll(Resource resource, boolean addImplicitElements)
346346
}
347347

348348
public static void transformAll(Element root, boolean addImplicitElements) {
349-
if (addImplicitElements && root instanceof Type) {
350-
root.setIsImpliedIncluded(true);
351-
TypeUtil.insertImplicitBindingConnectors((Type) root);
352-
}
353349
transform(root);
354350
for (Relationship relationship: root.getOwnedRelationship()) {
355351
// transformAll(relationship, addImplicitElements);
@@ -358,10 +354,11 @@ public static void transformAll(Element root, boolean addImplicitElements) {
358354
}
359355
}
360356
if (addImplicitElements && root instanceof Type) {
357+
TypeUtil.insertImplicitBindingConnectors((Type)root);
361358
TypeUtil.insertImplicitSpecializations((Type)root);
362-
}
363-
if (addImplicitElements && root instanceof Feature) {
364-
FeatureUtil.insertImplicitTypeFeaturings((Feature)root);
359+
if (root instanceof Feature) {
360+
FeatureUtil.insertImplicitTypeFeaturings((Feature)root);
361+
}
365362
}
366363
}
367364

0 commit comments

Comments
 (0)