Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Show two editors
Show two editors [message #41757] Fri, 23 January 2009 09:35 Go to next message
Eclipse UserFriend
Hello everybody,

I want to show two editors in the editorarea with a horizontal split.
It should look like:
-----------------------------------------
| Editor 1 |
-----------------------------------------
| Editor 2 |
-----------------------------------------

So actually I want two editorareas.
It is possible to drag the second editor under the first by hand but I'm
searching for a programmatically way ;-)

Thanks,
Erik
Re: Show two editors [message #41791 is a reply to message #41757] Fri, 23 January 2009 10:49 Go to previous messageGo to next message
Benjamin Cabé is currently offline Benjamin CabéFriend
Messages: 201
Registered: July 2009
Location: Toulouse, France
Senior Member

Hi Erik,

You should ask this question in the *eclipse.platform.rcp* newsgroup.
I don't think there is an API to do this programmatically, however. See
http://www.eclipsezone.com/eclipse/forums/m91979025.html : the solution
seems to consist in faking drag & drop events...

Cheers,
Ben


Erik Vonderheid a écrit :
> Hello everybody,
>
> I want to show two editors in the editorarea with a horizontal split.
> It should look like:
> -----------------------------------------
> | Editor 1 |
> -----------------------------------------
> | Editor 2 |
> -----------------------------------------
>
> So actually I want two editorareas.
> It is possible to drag the second editor under the first by hand but I'm
> searching for a programmatically way ;-)
>
> Thanks,
> Erik
>
>


Re: Show two editors [message #41822 is a reply to message #41791] Fri, 23 January 2009 11:18 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the hint!

"Benjamin CABE" <benjamin.cabe@anyware-tech.com> schrieb im Newsbeitrag
news:glc7bc$95g$1@build.eclipse.org...
> Hi Erik,
>
> You should ask this question in the *eclipse.platform.rcp* newsgroup.
> I don't think there is an API to do this programmatically, however. See
> http://www.eclipsezone.com/eclipse/forums/m91979025.html : the solution
> seems to consist in faking drag & drop events...
>
> Cheers,
> Ben
>
>
> Erik Vonderheid a
Re: Show two editors [message #41940 is a reply to message #41757] Fri, 23 January 2009 14:41 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 1/23/2009 4:35 AM, Erik Vonderheid wrote:
> Hello everybody,
>
> I want to show two editors in the editorarea with a horizontal split.
> It should look like:
> -----------------------------------------
> | Editor 1 |
> -----------------------------------------
> | Editor 2 |
> -----------------------------------------
>
> So actually I want two editorareas.
> It is possible to drag the second editor under the first by hand but I'm
> searching for a programmatically way ;-)

See this (old) bug that requests API for positioning editors:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=167336

It seems to be dormant, but maybe if you add a comment it will resurrect
interest. I've seen many questions about it in the past, so other people
definitely want it.

Hope this helps,
Eric
Re: Show two editors [message #590232 is a reply to message #41757] Fri, 23 January 2009 10:49 Go to previous message
Eclipse UserFriend
Originally posted by: benjamin.cabe.anyware-tech.com

Hi Erik,

You should ask this question in the *eclipse.platform.rcp* newsgroup.
I don't think there is an API to do this programmatically, however. See
http://www.eclipsezone.com/eclipse/forums/m91979025.html : the solution
seems to consist in faking drag & drop events...

Cheers,
Ben


Erik Vonderheid a écrit :
> Hello everybody,
>
> I want to show two editors in the editorarea with a horizontal split.
> It should look like:
> -----------------------------------------
> | Editor 1 |
> -----------------------------------------
> | Editor 2 |
> -----------------------------------------
>
> So actually I want two editorareas.
> It is possible to drag the second editor under the first by hand but I'm
> searching for a programmatically way ;-)
>
> Thanks,
> Erik
>
>
Re: Show two editors [message #590238 is a reply to message #41791] Fri, 23 January 2009 11:18 Go to previous message
Eclipse UserFriend
Thanks for the hint!

"Benjamin CABE" <benjamin.cabe@anyware-tech.com> schrieb im Newsbeitrag
news:glc7bc$95g$1@build.eclipse.org...
> Hi Erik,
>
> You should ask this question in the *eclipse.platform.rcp* newsgroup.
> I don't think there is an API to do this programmatically, however. See
> http://www.eclipsezone.com/eclipse/forums/m91979025.html : the solution
> seems to consist in faking drag & drop events...
>
> Cheers,
> Ben
>
>
> Erik Vonderheid a
Re: Show two editors [message #590297 is a reply to message #41757] Fri, 23 January 2009 14:41 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 1/23/2009 4:35 AM, Erik Vonderheid wrote:
> Hello everybody,
>
> I want to show two editors in the editorarea with a horizontal split.
> It should look like:
> -----------------------------------------
> | Editor 1 |
> -----------------------------------------
> | Editor 2 |
> -----------------------------------------
>
> So actually I want two editorareas.
> It is possible to drag the second editor under the first by hand but I'm
> searching for a programmatically way ;-)

See this (old) bug that requests API for positioning editors:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=167336

It seems to be dormant, but maybe if you add a comment it will resurrect
interest. I've seen many questions about it in the past, so other people
definitely want it.

Hope this helps,
Eric
Previous Topic:highlight specific lines in eclipse java editor
Next Topic:HELP: Adding files to RCP product root.
Goto Forum:
  


Current Time: Wed Apr 24 22:51:01 GMT 2024

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

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

Back to the top