[toolsmith] Using the set values advice configuration [message #1747435] |
Mon, 14 November 2016 16:28 |
Klaas Gadeyne Messages: 165 Registered: July 2009 |
Senior Member |
|
|
Hi,
For a DSL editor, I'm trying to create a palette entry which has a specific version of an association, in casu an association that sets the aggregation of it memberEnd[1] to shared, preferably _without_ writing code [*].
AFAICT, there is no(t a lot?) documentation on how to do this. I thought that the Set Values Advice Configuration might be the appropriate way to go forward.
I had a try myself, but I didn't succeed. In the screenshot below two helper advice configurations are defined
The first one, setting the visibility of the association, works fine.
The second one, trying to set the aggregation of one of the memberEnds, doesn't work. Nor do I get any exception.
Any one knows what goes wrong? Is it the fact that the "feature to set" is not a simple, direct feature of the association metaClass?
[*] The SysML 1.4 editors have an example on how to do this using code.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03199 seconds