Showing two editors (Horizontal or vertical split) programmatically [message #4211] |
Tue, 27 May 2008 18:21 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04048 seconds