Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » -> 'Removing' editor area
-> 'Removing' editor area [message #66328] Sat, 07 June 2003 12:16 Go to next message
Martin Kersten is currently offline Martin KerstenFriend
Messages: 306
Registered: July 2009
Senior Member
Dear Newsgroup,

currently I am trying to remove the editor area within
a perspective.

The situation report:

An collection of plug-ins (views and single editor)
forms a 'more complex' database management tool.
Replaced a swing based one
The in-house user love it but hate the login process.
Currently every login ends in clicking a project and
selecting a xml file containing the login information.
Once they opened the right login xml file a connection
attempt is made and if successfull the multipage editor
shows everything they wish to do.

Well under the hut every 'login' file is used to identify
a connection to the database. So at one computer you may
run more then one connection simultan or open more then one
window for the same connection. The editors keep in sync.

But the user dont understand why there must be login files
and projects and stuff (me either). But after a certain
time and a lot explainings they stop arguing me and take as
the price for having such a nice perspective driven, fast and
lovly looking invention (compared to the old static looking
swing thing).


The question part:

But while defining a new perspective I was able to hide the
editor area by dragging around the views(just playing with it).
It must have something to do with the layout of views and the
editor area so I guess its the implementation of IPageLayout.

So I ask myself if there is a way to hide the editor area. You
know setting its min/max/current size(ratio) to zero and place
it at the right side (or where ever).


Q1: So is it possible to effect the size and position of the
editor area that way (or any way having the same result).



How does it may change things:

If I am able to hide the editor area I would be able to use
only views. There would be a connection manager instead the
current project browser. I would use a connection context.
And some users I talked with love the idea. No more fuzz about
login-files. Only the advantage of JFace/Eclipse-platform.
You know, the database management tool is not file-driven... .


So lovly Newsgroup, does you know any hints/tipps/helps.


Bye

Martin (Kersten)
Re: -> 'Removing' editor area [message #66438 is a reply to message #66328] Sat, 07 June 2003 15:33 Go to previous messageGo to next message
Jeff Hunter is currently offline Jeff HunterFriend
Messages: 73
Registered: July 2009
Member
Martin Kersten wrote:

<snip>

> The question part:
>
> But while defining a new perspective I was able to hide the
> editor area by dragging around the views(just playing with it).
> It must have something to do with the layout of views and the
> editor area so I guess its the implementation of IPageLayout.
>
> So I ask myself if there is a way to hide the editor area. You
> know setting its min/max/current size(ratio) to zero and place
> it at the right side (or where ever).

You can hide the editor area by selecting Window > Hide Editors.
Programmatically, I would take a look at
IWorkbenchPage.setEditorAreaVisible().

Jeff
Re: -> 'Removing' editor area [message #66563 is a reply to message #66438] Sat, 07 June 2003 22:55 Go to previous messageGo to next message
Martin Kersten is currently offline Martin KerstenFriend
Messages: 306
Registered: July 2009
Senior Member
Hi Jeff,

> > So I ask myself if there is a way to hide the editor area. You
> > know setting its min/max/current size(ratio) to zero and place
> > it at the right side (or where ever).
>
> You can hide the editor area by selecting Window > Hide Editors.
> Programmatically, I would take a look at
> IWorkbenchPage.setEditorAreaVisible().

You are my saviour. I cant imagen how long I was looking for this.
Damn I feel like a newbie. :) I will check this out.


Thanks a lot!
Re: -> 'Removing' editor area [message #70327 is a reply to message #66563] Wed, 11 June 2003 04:43 Go to previous message
Eclipse UserFriend
Originally posted by: ed.burnette.REMOVE.THIS.sas.com

Also, please add your comments and requirements to:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=36967

--
Ed Burnette, co-author Eclipse in Action (www.manning.com/gallardo)


"Martin Kersten" <Martin.Kersten@student.uni-magdeburg.de> wrote in message
news:bbtqej$4h7$1@rogue.oti.com...
>
> You are my saviour. I cant imagen how long I was looking for this.
> Damn I feel like a newbie. :) I will check this out.
Previous Topic:[ANN] First book on Eclipse 2.1 and SWT now available
Next Topic:What is the status of Randy Hudson Patch
Goto Forum:
  


Current Time: Sat Dec 21 14:54:01 GMT 2024

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

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

Back to the top