Skip to main content



      Home
Home » Newcomers » Newcomers » How to fix Editor in EditorArea
How to fix Editor in EditorArea [message #246508] Wed, 23 January 2008 10:09 Go to next message
Eclipse UserFriend
Originally posted by: fabien.markart.compufirst.com

Hi,

I've seen that we can fix the views in a perspective but it doesn't fix
the content of an editorarea so a user can DND an editor and have 2 (or
more) editors side by side.
My guess is to fix this part but not necessarily the views.

can somebody give me an hint ?

thx

--
fab.
Re: How to fix Editor in EditorArea [message #246566 is a reply to message #246508] Wed, 23 January 2008 13:02 Go to previous messageGo to next message
Eclipse UserFriend
fabien wrote:
> Hi,
>
> I've seen that we can fix the views in a perspective but it doesn't fix
> the content of an editorarea so a user can DND an editor and have 2 (or
> more) editors side by side.
> My guess is to fix this part but not necessarily the views.
>
> can somebody give me an hint ?
>
> thx
>
Hi Fabien. I'm not quite sure what you mean by fix the content of the
edit area. Editors are opened and closed based on files being opened and
closed. So you can't keep an editor opened if the file is closed.

You can easily have editors side by side. Just open two files and drag
one to the right or left side of the edit area. You can subdivide as
much as you like. You can also open a new Eclipse window (Window / New
Window) and have editors open in both windows.

Arrangements of the edit area are not remembered once files are closed,
but are as long as the files remain open. HTH. Mark
Re: How to fix Editor in EditorArea [message #246657 is a reply to message #246566] Thu, 24 January 2008 04:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fabien.markart.compufirst.com

Mark Dexter wrote:
> fabien wrote:
>> Hi,
>>
>> I've seen that we can fix the views in a perspective but it doesn't
>> fix the content of an editorarea so a user can DND an editor and have
>> 2 (or more) editors side by side.
>> My guess is to fix this part but not necessarily the views.
[...]
> You can easily have editors side by side.

this is exactly what I wanted to disable, but Paul Webster told me it's
not possible unless I write my own presentation :(

--
fabien
Re: How to fix Editor in EditorArea [message #246697 is a reply to message #246657] Thu, 24 January 2008 12:39 Go to previous messageGo to next message
Eclipse UserFriend
fabien wrote:
> Mark Dexter wrote:
>> fabien wrote:
>>> Hi,
>>>
>>> I've seen that we can fix the views in a perspective but it doesn't
>>> fix the content of an editorarea so a user can DND an editor and have
>>> 2 (or more) editors side by side.
>>> My guess is to fix this part but not necessarily the views.
> [...]
>> You can easily have editors side by side.
>
> this is exactly what I wanted to disable, but Paul Webster told me it's
> not possible unless I write my own presentation :(
>
Hi Fabien. I'm a little confused. Do you want to keep certain files open
at all times? If you just don't close files, they stay open from one
session to the next, so you could just not close files. I guess I'm not
understanding exactly what you'd like Eclipse to do. Thanks. Mark
Re: How to fix Editor in EditorArea [message #246789 is a reply to message #246697] Fri, 25 January 2008 07:32 Go to previous message
Eclipse UserFriend
Originally posted by: fabien.markart.compufirst.com

Mark Dexter wrote:
> fabien wrote:
>> Mark Dexter wrote:
>>> fabien wrote:
>>>> Hi,
>>>>
>>>> I've seen that we can fix the views in a perspective but it doesn't
>>>> fix the content of an editorarea so a user can DND an editor and
>>>> have 2 (or more) editors side by side.
>>>> My guess is to fix this part but not necessarily the views.
>> [...]
>>> You can easily have editors side by side.
>>
>> this is exactly what I wanted to disable, but Paul Webster told me
>> it's not possible unless I write my own presentation :(
>>
> Hi Fabien. I'm a little confused. Do you want to keep certain files open
> at all times? If you just don't close files, they stay open from one
> session to the next, so you could just not close files. I guess I'm not
> understanding exactly what you'd like Eclipse to do. Thanks. Mark

Hi, I don't care about closing or keeping files open.

I'm developing a standalone RCP application (it might be the most
interesting thing I forgot to write...). And I don't want a user to move
the editors (using Drag & Drop on editors'tab like we can do with views
but in EditorArea) so that he can't see more than one Editor at the same
time (side by side).
As for the views RCP framework provides the method
IPageLayout.setFixed(boolean) I was searching a such method to fix the
content of EditorArea.

I hope it's clear now but don't bother I had my answer on
eclipse.platform.rcp and it seems the framework doesn't offer this method.

thx for trying to understand anyway :)

--
fab.
Previous Topic:Plug class not found during build
Next Topic:Colorer plugin keywords
Goto Forum:
  


Current Time: Thu May 08 17:58:02 EDT 2025

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

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

Back to the top