Show two editors [message #41757] |
Fri, 23 January 2009 09:35 |
Eclipse User |
|
|
|
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 |
|
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
>
>
My blog: http://blog.benjamin-cabe.com
|
|
|
|
Re: Show two editors [message #41940 is a reply to message #41757] |
Fri, 23 January 2009 14:41 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03915 seconds