Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Composite of EditParts II
Composite of EditParts II [message #184785] Thu, 16 June 2005 19:40 Go to next message
Fabio is currently offline FabioFriend
Messages: 13
Registered: July 2009
Junior Member
Hi.

I'm still stuck trying to make an edipart inside another one. I tried
using the CompartmentEditPart but it doesn't work and I can't understand
why.
Is there anything I should do besides the usual to make this work? Is
there any other example of this besides the features in the EDiagram class?

Thanks.
Re: Composite of EditParts II [message #184825 is a reply to message #184785] Fri, 17 June 2005 22:20 Go to previous messageGo to next message
Fabio is currently offline FabioFriend
Messages: 13
Registered: July 2009
Junior Member
Maybe this short description below can help to understand my problem.

I need to make two ediparts have their figures attached and act as one in
certain circumstances but keep their own policies as well.
My first idea was to use the CompartmentEditPart, used in the EDiagram
example, to attach the "edit area" to the "class area", but I have only
one edit area, not many, and I don't know how I could make it use the
CompartmentEditPart and the editpart I created for this edit area at same
time without using an EList, but making a list that will always have one
element doesn't seem right to me.
After my last e-mail about this, I made a little change in my model so
both parts could be treated as subparts of the element I want to make.
That way, each element would have a list with one or two subparts (some of
the elements doesn't have an edit area). It still doesn't seem good for
me, but I tried anyway. This time nothing worked and I'm out of ideas
already.

Here is a sketch of the element I'm trying to create:
http://img.photobucket.com/albums/v495/_sl0t_/image.gif

Thanks.
Re: Composite of EditParts II [message #184840 is a reply to message #184825] Sat, 18 June 2005 06:12 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7680
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020502080900060403030500
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi F
Previous Topic:Associating a viewer with a NodeEditPart
Next Topic:animation question
Goto Forum:
  


Current Time: Tue Dec 10 16:01:55 GMT 2024

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

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

Back to the top