Skip to main content



      Home
Home » Eclipse Projects » GEF » Expand & Collapse effect
Expand & Collapse effect [message #159961] Wed, 01 December 2004 06:15 Go to next message
Eclipse UserFriend
Could any one give me some ideas how to implement the following scenario?
thank you in advance

I have models structured like this

-- main node
-- branch node A
-- branch node B
-- branch...

main and branch nodes are not parent-child. one main node can connect to
several branch nodes.

for making the diagram look nice and neet. the main node is displayed all
the time but the branch node is shown only when needed.
I want to place a switch on the main node, something like plus sign. So
the users can switch to show branch node or not.
Re: Expand & Collapse effect [message #160956 is a reply to message #159961] Wed, 08 December 2004 00:56 Go to previous message
Eclipse UserFriend
"Kate" <katelin@tw.ibm.com> wrote in message
news:cok95a$66r$1@www.eclipse.org...
> Could any one give me some ideas how to implement the following scenario?
> thank you in advance
>
> I have models structured like this
>
> -- main node
> -- branch node A
> -- branch node B
> -- branch...
>
> main and branch nodes are not parent-child. one main node can connect to
> several branch nodes.
>
> for making the diagram look nice and neet. the main node is displayed all
> the time but the branch node is shown only when needed. I want to place a
> switch on the main node, something like plus sign. So the users can switch
> to show branch node or not.

That sounds like a parent-child relationship. Even if it is not
semantically, you can depict it as such graphically. If you don't want to
go down that route, perhaps you can shed some more light on what you want it
to look like.

>
>
>
>
>
>
Previous Topic:NullPointerException when creating editor
Next Topic:Line drawing in Panel Figure
Goto Forum:
  


Current Time: Fri Jul 18 04:02:43 EDT 2025

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

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

Back to the top