Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Compartment
Compartment [message #165555] Sun, 16 December 2007 18:38 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:How to generate the diagram of the subpackages in a metamodel desribed in ecore?
Next Topic:EReference on the diagram
Goto Forum:
  


Current Time: Thu Apr 25 19:03:16 GMT 2024

Powered by FUDForum. Page generated in 0.03704 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top