|[sysml] refine and derive dependencies [message #892226]
||Wed, 27 June 2012 12:54
| Klaas Gadeyne
Registered: July 2009
this is a repost of an earlier message on the topcased ML, see h ttp://lists.gforge.enseeiht.fr/pipermail/topcased-users/2012-June/017139.html
I was looking for the <<refine>> and <<derive>> dependencies [*] in topcased 5.2 sysml models (more specifically the requirement diagram [**]). Both are part of the uml4sysml subset, and are actually defined in the uml 'standard' profile as stereotypes of the 'abstraction' meta-element. These items are however not accessible from the (standard) palette on the requirement diagram, nor I am able to create an 'abstraction' item from the context menu in the model explorer (and adding the necessary stereotypes later), as should be possible by the spec I think.
The only way I found was to extend the palette of the requirements diagram. However, somehow a plain "refine" or "derive" is not available in the 'standard' "available tools palettes". As the screenshot in attachment illustrates, only refine (-other sysml modelelement-) is available. The result of creating an item from this palette is an abstraction with both the <<refine>> and <<deriveRqt>> stereotypes set, which is obviously not intented.
So the only possible option that seemed left to me was patching the code. It seems that the icons are present, everything is in place and the patch would be very simple (see attach). HOWEVER, I have no papyrus development environment en hence the patch is not tested. Moreover,
- This will probably only work if the UML standard profile is applied by default on each SysML model I guess (Shouldn't this be done anyway to be compliant?)
- I'm probably missing something, since if it were so easy somebody would have done this before, right?
[*] The same would apply to <<trace>>
[**] I am aware of the fact that the spec defines these dependencies to be applicable to all diagram types, but my main interest for now is the requirement diagram
[Updated on: Wed, 27 June 2012 12:56]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02471 seconds