Skip to main content



      Home
Home » Eclipse Projects » GEF » Is there any example on showing two graph in one editor?
Is there any example on showing two graph in one editor? [message #146576] Wed, 04 August 2004 22:54 Go to next message
Eclipse UserFriend
Originally posted by: seariver.citiz.net

Hi, everyone:

I want show two GEF graph like this
-------------------------
| |
| Graph A |
| |
-------------------------
| |
| Graph B |
| |
-------------------------
The two graphs are two separate root editparts. Each of these has a
corresponding EMF model. I want show them in one editor for compare easily.

Is there any example?

Best regards,
seariver
Re: Is there any example on showing two graph in one editor? [message #146782 is a reply to message #146576] Fri, 06 August 2004 14:28 Go to previous message
Eclipse UserFriend
There's no example available from GEF, but this shouldn't be too difficult.
Just create two canvases (separated perhaps be a resizable Sash) within your
editor and two different LightweightSystems on there. You can then
synchronize scrolling by sharing the RangeModel.

"seariver" <seariver@citiz.net> wrote in message
news:ces78g$uq4$1@eclipse.org...
> Hi, everyone:
>
> I want show two GEF graph like this
> -------------------------
> | |
> | Graph A |
> | |
> -------------------------
> | |
> | Graph B |
> | |
> -------------------------
> The two graphs are two separate root editparts. Each of these has a
> corresponding EMF model. I want show them in one editor for compare
easily.
>
> Is there any example?
>
> Best regards,
> seariver
>
>
Previous Topic:notify editor
Next Topic:How to draw add figure without pallette
Goto Forum:
  


Current Time: Wed May 07 19:41:47 EDT 2025

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

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

Back to the top