Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Thu, 05 August 2004 02: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 18:28 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
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 Jan 15 08:05:56 GMT 2025

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

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

Back to the top