Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #435752 +++ Open an odesign file Create a DiagramDescription Create a Decoration set in the default layer Create a SemanticBasedDecorator Display its properties. The domain class section should be green (see mappings) and required. The modification sould be done in the corresponding genmodel.
Clone from bug 435752 to backport in Sirius 2.0.2.
Backported into branch 2.0.x
Tested on Sirius 2.0.2.201412100936. The domain class is now green indeed, but the completion inside it seems half-broken. Enter "ecore.EP", hit ctrl-space, and choose "ecore.EPackage". The result should be ecore.EPackage but is "ecore.EPackageackage". I suspect a dependency between the patch that was cherry-picked from master and other changes on master which have not been backported and modify the insertion/replacement behavior of the completation code (maybe bug #428752).
From the look of the code, commit e94f0e9f0272808dae3b6f090a5a18af28c8030f for this ticket on branch v2.0.x uses the TextContentProposalProvider.bindCompletionProcessor() to setup completion in the domainClass field, but assumes that method has the new behavior it has master after commit b4fd7ce859be1327d7569499a22436fdb1930b3e, which was *not* backported in v2.0.x (and is actually reverted currently on master).
For v2.0.x, we'll simply revert this particular fix, which was not really important, instead of pushing something with a known bug in a maintenance branch.
Change reverted on v2.0.x by 6ebeb1a669aff610918a272aad155ac9955488c9. We won't try to fix this for 2.0.x, it was a minor thing anyway. Note: some validation is still needed to make sure my revert did not cause any other side-effect.
Available in Sirius 2.0.2.