Getting related diagrams in different files [message #192306] |
Thu, 12 June 2008 12:11 |
Eclipse User |
|
|
|
Originally posted by: georges.bachelier.atmel.com
Hello everybody!
in my .gmfmap file I have set the "Related Diagrams" property of a
particular entity of the model to "Canvas Mapping" so that a graphical
editor opens when I double-click this particular kind of node in a diagram.
The current mechanism imposes the name of the related diagram (if the
first diagram is named default.flow_diagram, the related one will be named
default.flow_diagram#1).
I would like the related diagram to be opened in a new file which name I
can define through a dialog, for example. Could you please tell me how to
do this?
Thanks a lot in advance for your time!
Georges
|
|
|
|
|
Re: Getting related diagrams in different files [message #192885 is a reply to message #192410] |
Mon, 16 June 2008 14:07 |
Eclipse User |
|
|
|
Originally posted by: georges.bachelier.atmel.com
Hi Alex,
I know I have to modify the OpenDiagramEditPolicy code, but I don't know
how to write the necessary modifications.
I want related diagrams to be written in different files. When the user
double clicks a sub-program symbol of our program flow diagram, we want
the corresponding sub-program flow to be opened if it exists, otherwise we
want a dialog to be displayed in which the user may enter the name of the
diagram to be produced.
Could you please tell me how you would implement this feature?
Thanks a lot in advance for your time!
Georges
|
|
|
|
Powered by
FUDForum. Page generated in 0.03353 seconds