Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Showing two editors (Horizontal or vertical split) programmatically
Showing two editors (Horizontal or vertical split) programmatically [message #4211] Tue, 27 May 2008 18:21 Go to next message
Eclipse UserFriend
Originally posted by: clandestinesnehal.gmail.com

Hi,
I have made a graphical editor using GEF and I want to open two editor
instances using horizontal or vertical split, programmatically.
Eclipse workbench says only one editor can be active at a time, but i
can manually open the two editors and lay them one below the other
(using drag ans drop).
I am hoping this should not be a big deal. I am only 2 weeks old to the
eclipse world.

Any help/code will be very useful.

-Snehal
Re: Showing two editors (Horizontal or vertical split) programmatically [message #5958 is a reply to message #4211] Thu, 12 June 2008 05:20 Go to previous message
Eclipse UserFriend
Originally posted by: annamalai.ancitconsulting.com

The probably solution could be create an EditorPart and place two composites
containing 1 GraphicalViewer each .. instead of inheriting from GEF
GraphicalEditor ...

This would allow you to keep two GraphicalViewers which would look like two
editors in the same editor ...

Hope this helps.

Regard
Malai
"Snehal" <clandestinesnehal@gmail.com> wrote in message
news:g1ij4a$2hp$1@build.eclipse.org...
> Hi,
> I have made a graphical editor using GEF and I want to open two editor
> instances using horizontal or vertical split, programmatically.
> Eclipse workbench says only one editor can be active at a time, but i can
> manually open the two editors and lay them one below the other (using drag
> ans drop).
> I am hoping this should not be a big deal. I am only 2 weeks old to the
> eclipse world.
>
> Any help/code will be very useful.
>
> -Snehal
Re: Showing two editors (Horizontal or vertical split) programmatically [message #568725 is a reply to message #4211] Thu, 12 June 2008 05:20 Go to previous message
Eclipse UserFriend
Originally posted by: annamalai.ancitconsulting.com

The probably solution could be create an EditorPart and place two composites
containing 1 GraphicalViewer each .. instead of inheriting from GEF
GraphicalEditor ...

This would allow you to keep two GraphicalViewers which would look like two
editors in the same editor ...

Hope this helps.

Regard
Malai
"Snehal" <clandestinesnehal@gmail.com> wrote in message
news:g1ij4a$2hp$1@build.eclipse.org...
> Hi,
> I have made a graphical editor using GEF and I want to open two editor
> instances using horizontal or vertical split, programmatically.
> Eclipse workbench says only one editor can be active at a time, but i can
> manually open the two editors and lay them one below the other (using drag
> ans drop).
> I am hoping this should not be a big deal. I am only 2 weeks old to the
> eclipse world.
>
> Any help/code will be very useful.
>
> -Snehal
Previous Topic:linking between html files in separate help plugin jar files
Next Topic:Multiple views unlinked across perspectives
Goto Forum:
  


Current Time: Wed Nov 06 03:46:03 GMT 2024

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

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

Back to the top