Drill down diagrams [message #208561] |
Mon, 06 February 2006 17:38 |
Eclipse User |
|
|
|
Originally posted by: mike.swt.demon.co.uk
Hello
I am looking to implement a drill-down editor where the figure on one
diagram represents a diagram at a lower level. When a drill-down control on
the figure is clicked, I want the current diagram to be replaced with the
diagram for the next level down.
I am very (very) new to GEF, are there any examples that illustrate this
functionality
Many thanks
Mike
|
|
|
|
Re: Drill down diagrams [message #210974 is a reply to message #208873] |
Tue, 07 March 2006 17:22 |
Eclipse User |
|
|
|
Originally posted by: mike.swt.demon.co.uk
Thanks Steve
I like the multiple editor option. The zoom sounds very powerful, probably a
bit to sophisticated for this first project.
Cheers
Mike
"Steven Shaw" <steveshaw@ca.ibm.com> wrote in message
news:dsg1k7$bbu$1@utils.eclipse.org...
> The simplest way would be to create an edit policy that responds to the
> RequestConstants.REQ_OPEN request and opens another GEF editor. This
> request is sent when double-clicking on a target.
>
> @see SelectEditPartTracker#performOpen (sends the request).
>
> Another way: (plug for GMF :) ) would be to take a look at the animated
> zoom
> support in GMF and when responding to the request, zoom into the figure
> and
> dynamically display the children depending on the zoom-level.
>
> @see
> org.eclipse.gmf.runtime.gef.ui.internal.editparts.Animatable ZoomManager
>
> -Steve.
>
> "Mike Bennett" <mike@swt.demon.co.uk> wrote in message
> news:ds81ij$4hf$1@utils.eclipse.org...
>> Hello
>>
>> I am looking to implement a drill-down editor where the figure on one
>> diagram represents a diagram at a lower level. When a drill-down control
> on
>> the figure is clicked, I want the current diagram to be replaced with the
>> diagram for the next level down.
>>
>> I am very (very) new to GEF, are there any examples that illustrate this
>> functionality
>>
>> Many thanks
>>
>> Mike
>>
>>
>
>
|
|
|
Re: Drill down diagrams [message #211076 is a reply to message #210974] |
Wed, 08 March 2006 03:05 |
Eclipse User |
|
|
|
Originally posted by: harsh.ti.com
There is a simpler way to show the objects based on which one is
double-clicked on and that is to override the what GetModelChildren of the
content edit returns. You could have a policy as suggested earlier that
manipulates certain model objects to only show what is required.
Regards,
Harsh
|
|
|
Powered by
FUDForum. Page generated in 0.04392 seconds