Double Click on a Node open another diagram [message #121094] |
Sun, 22 April 2007 22:32  |
Eclipse User |
|
|
|
Originally posted by: evaandoli.dodo.com.au
Hi,
I'd like to implement double clicking on a node open another diagram, if
not present in same directory then create a "new" diagram with that name.
So a few points I guess:-
How do you pick up on a double click on a node.
How do you open another diagram from within a current diagram.
How to you automatically create a new diagram as I have the project (same as
current diagram) and file name.
Thanks for any pointers,
Stuart
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Double Click on a Node open another diagram [message #163074 is a reply to message #121104] |
Wed, 28 November 2007 10:17  |
Eclipse User |
|
|
|
Originally posted by: frogneux.lippmann.lu
varun a écrit :
> Hi,
> I'd like to implement double clicking on a node open another diagram,
> if not present in same directory then create a "new" diagram with that
> name.
> So a few points I guess:-
> How do you pick up on a double click on a node.
> How do you open another diagram from within a current diagram.
> How to you automatically create a new diagram as I have the project
> (same as current diagram) and file name.
>
>
> hiiii
>
> few pointers :
>
> go to *.gmfmap. rite click -> load resource. load the *.gmfmap of
> another edeitor i.e which u want to open on double click.
>
> now *.gmfmap top go top node ->node mapping properties. in properties
> misc->related diagram.
>
> select the canvas mapping of another editor.be careful while selcting as
> the
> canvas will have same name.
>
> now generate *.gmfgen.
>
> go to that toplevel node on which u want to perform double click .
> there under top level node a open diagarm behaviour policy will be
> there.in its properties put the GenEditorGenerator.model id &
> GenEdiotrView.id there.
>
> now generate the diagarm code.
>
> regards
> varun
>
Hi All,
Is it possible to see in the top node what we have added in the sub node.
For example, if I have two elements in sub node, I don't see anything in
the super node. Does it exist anything to resolve that?
thanks a lot
Etienne
|
|
|
Powered by
FUDForum. Page generated in 0.08742 seconds