GEF problem - Needed help urgently [message #212047] |
Fri, 17 March 2006 12:08 |
Eclipse User |
|
|
|
Originally posted by: shruthi.cn.in.bosch.com
Hello together,
I have a problem in GEF. It is as follows:
When i open up the GEF editor, initially i display say a Rectangle figure
which represents for e.g. hierarchy object. When i click on the Rectangle
figure, GEF Editor should display the figures representing the components
contained in the hierarchy object.
In other words, initially i display only the hierarchy. When i click on
the hierarchy, i want to display the components of the hierarchy.
How do i achieve this?
Any links to sample or documentation on how to achieve it would be of
great help to me. I need this urgently.
Thank you very much
Best Regards
Shruthi
|
|
|
Re: GEF problem - Needed help urgently [message #212227 is a reply to message #212047] |
Mon, 20 March 2006 09:44 |
Eclipse User |
|
|
|
Originally posted by: ingo.koch[nospam].sap.com
if you want some kind of drill down functionality:
1. create an action which changes your graphical viewers?s contents to the
hierarchy object
-> the graphical viewer should display its children
2. trigger the action from the hierarchy editpart with REQ_OPEN
if you want the child figures to appear inside the hierarchy figure,
add a mouselistener. on click, the hierarchy editpart returns all its
children (don't forget to refreshVisuals)
Regards, Ingo
P.S. Please give your posts an appropriate name,
"help, urgent, problem" is not very meaningful :-)
"Shruthi" <shruthi.cn@in.bosch.com> wrote in message
news:58a00eeb3e969c5d68d0e95c07c216ed$1@www.eclipse.org...
> Hello together,
>
> I have a problem in GEF. It is as follows:
>
> When i open up the GEF editor, initially i display say a Rectangle figure
> which represents for e.g. hierarchy object. When i click on the Rectangle
> figure, GEF Editor should display the figures representing the components
> contained in the hierarchy object.
>
> In other words, initially i display only the hierarchy. When i click on
> the hierarchy, i want to display the components of the hierarchy.
>
> How do i achieve this?
>
> Any links to sample or documentation on how to achieve it would be of
> great help to me. I need this urgently.
>
> Thank you very much
> Best Regards
> Shruthi
>
>
>
>
>
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03317 seconds