Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse 4 editor tab position
Eclipse 4 editor tab position [message #988927] Mon, 03 December 2012 19:58 Go to next message
Eclipse User
Simple question: Can I get the tabs on the BOTTOM of the editor window
with Eclipse 4, or will I be forced to re-train my brain to put up with
them at the top?

Some may think this is a trivial issue, but I assure you it's not.

Anyone who has done research into usability studies will know this.

Next step: Is there a way to get the 'up' and 'down' 'arrows' for
scrollbars next to each other (at the bottom/right)?

If the answer to all this is "download the full Eclipse source and hack
the XWT code"...
Re: Eclipse 4 editor tab position [message #988992 is a reply to message #988927] Tue, 04 December 2012 08:08 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5314
Registered: July 2009
Senior Member
Am 03.12.12 20:58, schrieb Jamie Cooper:
> Simple question: Can I get the tabs on the BOTTOM of the editor window
> with Eclipse 4, or will I be forced to re-train my brain to put up with
> them at the top?
>
> Some may think this is a trivial issue, but I assure you it's not.

Ideally it would be controlled through CSS but I could not find it
listed at http://wiki.eclipse.org/E4/CSS/SWT_Mapping#Widget:_CTabFolder
so please file a bugzilla.

>
> Anyone who has done research into usability studies will know this.
>
> Next step: Is there a way to get the 'up' and 'down' 'arrows' for
> scrollbars next to each other (at the bottom/right)?
>

No those are toolkit specific and can be changed.

Tom
Re: Eclipse 4 editor tab position [message #1342069 is a reply to message #988992] Thu, 08 May 2014 19:48 Go to previous messageGo to next message
David Gomez is currently offline David Gomez
Messages: 2
Registered: May 2014
Junior Member
Did you find a way to do it?

Using css spy and jeeeyul I came up with this piece of css, but it messes the whole interface, so it is unusable. Maybe I did something wrong. I just added to custom css

#org-eclipse-e4-primaryDataStack.MPartStack {
swt-tab-position: bottom;
}
Re: Eclipse 4 editor tab position [message #1343767 is a reply to message #1342069] Fri, 09 May 2014 12:52 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 347
Registered: July 2009
Location: Japan
Senior Member
Try
.EditorStack {
    swt-tab-position: bottom;
}

or
#org-eclipse-e4-primaryDataStack {
    swt-tab-position: bottom;
}

Re: Eclipse 4 editor tab position [message #1344421 is a reply to message #1343767] Fri, 09 May 2014 19:20 Go to previous messageGo to next message
David Gomez is currently offline David Gomez
Messages: 2
Registered: May 2014
Junior Member
Thank you very much.
That works but only if I use/edit a normal theme css and not jeeeyul.
Re: Eclipse 4 editor tab position [message #1361059 is a reply to message #1344421] Sat, 17 May 2014 02:52 Go to previous message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 347
Registered: July 2009
Location: Japan
Senior Member
Well, Jeeeyul's Eclipse Themes(2.1.6) is not supporting bottom tab because it uses its own renderer.
You're able to customize the style via Jeeeyul's Themes settings->Custom CSS, and it causes UnsupportedOperationException.
>Caused by: java.lang.UnsupportedOperationException
> at net.jeeeyul.eclipse.themes.rendering.JeeeyulsTabRenderer.computeTrim(JeeeyulsTabRenderer.java:269)
because
>if(tabFolder.onBottom) {
> throw new UnsupportedOperationException
>}
You must request the feature against Jeeeyul's Eclipse Themes apparently.
Previous Topic:Adding markers synchronously to file
Next Topic:How to write a plugin register mechanism, that can register own icons, commands, handlers etc.
Goto Forum:
  


Current Time: Tue Sep 16 09:28:34 GMT 2014

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

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