Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » editPart hierarchy vs figure hierarchy
editPart hierarchy vs figure hierarchy [message #220901] Mon, 07 August 2006 17:23 Go to next message
Eclipse UserFriend
Originally posted by: vcciubot.uwaterloo.ca

Hi all,

Is it possible to have this containment hierarchy, and therefore
EditPart hierarchy:

A > B
A > C

And, however, I need this figure hierarchy:

F_A > F_B > F_C

I'm aware I have to override
addChildVisual(EditPart child, int index); in A to achieve the
desired figure containment hierarchy.

Is there anything else I should worry about?

thank you
vlad
Re: editPart hierarchy vs figure hierarchy [message #220981 is a reply to message #220901] Tue, 08 August 2006 21:35 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

There is an ordering restriction. Editpart B must exist (with its figure)
before editpart C. If that is maintained, you could probably make it work.

"Vlad Ciubotariu" <vcciubot@uwaterloo.ca> wrote in message
news:pan.2006.08.07.17.23.52.371401@uwaterloo.ca...
> Hi all,
>
> Is it possible to have this containment hierarchy, and therefore
> EditPart hierarchy:
>
> A > B
> A > C
>
> And, however, I need this figure hierarchy:
>
> F_A > F_B > F_C
>
> I'm aware I have to override
> addChildVisual(EditPart child, int index); in A to achieve the
> desired figure containment hierarchy.
>
> Is there anything else I should worry about?
>
> thank you
> vlad
>
Previous Topic:How do i draw directed/undirected graph in SWT
Next Topic:When to assign TextFlow font?
Goto Forum:
  


Current Time: Tue Apr 16 16:31:23 GMT 2024

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

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

Back to the top