Skip to main content



      Home
Home » Newcomers » Newcomers » Perspectives and editor views
Perspectives and editor views [message #119186] Wed, 23 November 2005 00:51 Go to next message
Eclipse UserFriend
Originally posted by: 5ub5.3mai1.com

I've just notice a weird editor view/perspectives behaviour.

I a single editor view in my main perspective. I create a new perspective
and close all non editor views and have 3 editor views open. When I switch
back to my main perspective, I now have 3 editor views open.

Why is the editor view in my main perspective changed?
Re: Perspectives and editor views [message #119381 is a reply to message #119186] Wed, 23 November 2005 15:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Chris Velevitch wrote:
> I've just notice a weird editor view/perspectives behaviour.
>
> I a single editor view in my main perspective. I create a new
> perspective and close all non editor views and have 3 editor views open.
> When I switch back to my main perspective, I now have 3 editor views open.
>
> Why is the editor view in my main perspective changed?

The editors area is common across all perspectives. It is central to the
Eclipse UI paradigm. You might have noticed that editors behave a little
differently than other views in several ways.
An editor represents an open resource that is being viewed/edited - the
resources that you have open are not dependent upon the perspective that
is active. IOW, think of the perspective as a decorator around the
editors - you can switch the decoration but not what it is decorating.

It sounds as if you might be trying to work in a way more like what you
get if you do Window > New Window - that will give you two different
workbenches with their UI states being separate from each other.

HTH,
Eric
Re: Perspectives and editor views [message #119471 is a reply to message #119381] Wed, 23 November 2005 19:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: 5ub5.3mai1.com

On Wed, 23 Nov 2005 15:45:04 -0500, Eric Rizzo <eclipse3@rizzoweb.com>
wrote:
> It sounds as if you might be trying to work in a way more like what you
> get if you do Window > New Window - that will give you two different
> workbenches with their UI states being separate from each other.

Except that, opening a new window always uses the default perspective and
the window size and position is not the same as the main window. It would
be useful if there was a way to define a "window perspective" (for want of
a better name) that would remember the size, position and perspective of a
window as well as the editor views.
Re: Perspectives and editor views [message #119772 is a reply to message #119471] Fri, 25 November 2005 15:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Chris Velevitch wrote:
> On Wed, 23 Nov 2005 15:45:04 -0500, Eric Rizzo <eclipse3@rizzoweb.com>
> wrote:
>
>> It sounds as if you might be trying to work in a way more like what
>> you get if you do Window > New Window - that will give you two
>> different workbenches with their UI states being separate from each
>> other.
>
>
> Except that, opening a new window always uses the default perspective
> and the window size and position is not the same as the main window. It
> would be useful if there was a way to define a "window perspective" (for
> want of a better name) that would remember the size, position and
> perspective of a window as well as the editor views.
>

I would have sworn that it used whatever window settings were at when
you last exited Eclipse, but I just tried it and it is quite surprising
in its behavior.
I suggest you enter an enhancement request at http://bugs.eclipse.org/bugs/

Eric
Re: Perspectives and editor views [message #121204 is a reply to message #119772] Thu, 01 December 2005 18:19 Go to previous message
Eclipse UserFriend
Originally posted by: 5ub5.3mai1.com

on Fri, 25 Nov 2005 15:29:10 -0500, Eric Rizzo <eclipse3@rizzoweb.com>
wrote:
> I would have sworn that it used whatever window settings were at when
> you last exited Eclipse, but I just tried it and it is quite surprising
> in its behavior.

Actually, I missundertood the way windows works. If you open a second
window and set it up that way you want it, and when exit Eclipse with all
windows open, Eclipse will remember the state of all open windows and will
restore the session with both windows open. Apparently, I was individually
closing each open window, so when you closed the last window, this
naturally would be the same as exiting Eclipse and hence will only
rememner that I had only one window open at the time.
Previous Topic:Alternative download mirrors for eclipse
Next Topic:How to configure Eclipse and CVSNT?
Goto Forum:
  


Current Time: Sat May 10 14:25:43 EDT 2025

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

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

Back to the top