Compartment [message #165555] |
Sun, 16 December 2007 18:38 |
Eclipse User |
|
|
|
Originally posted by: h.h.com
Hello,
I am using a compartment in the gmfmap. This contains nodes. How can I do
in GMF that when I put node into it clicking somewhere, then the node will
be in the clicked position. What is needed (e.g. what kind of layout)? I
would like to do something similar in the ecore diagram's package.
Thanks,
Hert
|
|
|
Re: Compartment [message #165597 is a reply to message #165555] |
Mon, 17 December 2007 10:06 |
Eclipse User |
|
|
|
Originally posted by: martinschmidt.83.web.de
Hi,
The GMF files for the ecore diagram editor are all available in the CVS. It
is named org.eclipse.gmf.ecore...You can download it and look how they did
it.
Martin
"Hert" <h@h.com> schrieb im Newsbeitrag
news:f4471b007566c5bcfefde4a9a494a6cf$1@www.eclipse.org...
> Hello,
>
> I am using a compartment in the gmfmap. This contains nodes. How can I do
> in GMF that when I put node into it clicking somewhere, then the node will
> be in the clicked position. What is needed (e.g. what kind of layout)? I
> would like to do something similar in the ecore diagram's package.
>
> Thanks,
> Hert
>
|
|
|
Re: Compartment [message #165623 is a reply to message #165555] |
Mon, 17 December 2007 11:49 |
Eclipse User |
|
|
|
Originally posted by: nospam.nospam.com
Try finding the Compartment in the .gmfgen file and setting its List
Layout property to false. That will make the Compartment use XYLayout
instead.
|
|
|
Re: Compartment [message #165704 is a reply to message #165623] |
Mon, 17 December 2007 19:53 |
Eclipse User |
|
|
|
Originally posted by: h.h.com
Hello,
It operates, but can I modify something instead of .gmfgen? I tried the XY
layout applying it in the .gmfgraph to an Rectangle, but id did not
operate.
Thanks,
Hert
|
|
|
Powered by
FUDForum. Page generated in 0.03704 seconds