Composite of EditParts II [message #184785] |
Thu, 16 June 2005 15:40  |
Eclipse User |
|
|
|
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 18:20   |
Eclipse User |
|
|
|
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 02:12  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03889 seconds