Problems Creating new diagram Type based on internal block D

Discussions about Domain Specific Language customizations

Moderator: Moderators

Problems Creating new diagram Type based on internal block D

Postby graf@itemis.de » Wed Sep 11, 2019 12:59 am

Hi all,

we are trying to create a new diagram type based on the SysML internal block diagram. However, after the definition, the diagram is not available for "New Diagram" at <<Block>>, only at a package etc.
In addition, there is obviously some additional code being executed on the creation of a block diagram, eg. setting the context object etc.

Any pointers on where to hook in to
* Make our new diagram show up as a diagram option under <<block>> (or another stereotype)
* How to hook in new functionality on diagram creation (mimicking the SysML internal block diagram approach)

Thanks,

Andreas
graf@itemis.de
Forum Beginner
Forum Beginner
 
Posts: 26
Posts Rating:1
Joined: Thu Dec 06, 2018 5:45 am

Re: Problems Creating new diagram Type based on internal block D

Postby borromeotlhs@gmail.com » Wed Sep 15, 2021 11:25 am

That doesn't sound right. Perhaps try creating this diagram, saving your progress in that profile, and then restarting the magicdraw application.
borromeotlhs@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 11
Posts Rating:0
Joined: Mon Sep 16, 2019 2:54 pm

Re: Problems Creating new diagram Type based on internal block D

Postby borromeotlhs@gmail.com » Mon Oct 04, 2021 9:23 am

The new diagram types, once created, need an application restart to function/show up. Did you try that?
borromeotlhs@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 11
Posts Rating:0
Joined: Mon Sep 16, 2019 2:54 pm


Return to DSL

Who is online

Users browsing this forum: No registered users and 1 guest