Curvy tabs in Eclipse RCP App - eclipse-rcp

I am currently using Eclipse Helios Service Release 1. I am new to both the IDE and the platform.
My question is, how do I get the same curvy tab on my app that of the IDE?

According to this thread and this blog post:
See "eclipse look&feel customization" for more.
All see this "java-tips":
To change the shape of the title of a view following line of code can be written in the preWindowOpen() method of the ApplicationWorkbenchWindowAdvisor.
PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS, false);
Note that there might be an issue with long titles when there is many tabs:
See bug 322623:
"Editor tabs do not show ellipsis for long filenames when using new style tabs."

Related

No more tabs in Properties File Editor

I am using Eclipse Neon.3 (4.6.3). In the past, Eclipse used to have several tabs on the bottom of the editor window, when a file was opened in the Properties File Editor mode. There you could choose to view the file either in a table-like view or as a plain text file.
I usually edit my resource files in plain text, which still works fine. However, the table view had one nice feature: Duplicate entries were highlighted in red color in the table-view.
But this view is no longer available, since there are no tabs in the Properties File Editor anymore. Did I miss anything? Where has this tab gone? Do I need an additional plug-in for this feature? As far as I can tell, this used to be a built-in feature of Eclipse.
I still had an old installation of Eclipse Mars and found out, that the feature in question is not built-in to Eclipse. The feature is provided by the JBoss Tools Properties Editor, which is part of Red Hat's Hibernate Tools.
To install on Eclipse Mars, follow the instructions of this StackOverflow post.

What is this Eclipse view and how to implement it in other Eclipse-based products?

In Flash Builder 4.6's code assist, there is this extra box on the right of the classes, outlined in red, (image: http://oi42.tinypic.com/rqyuqq.jpg) that pops up when using the default Flex SDK. What is it called?
I find this feature very useful and wondering where I can get more information to implement a similar one in another Eclipsed-based IDE that I'm using.
this window is called JavaDoc View
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fviews%2Fref-view-javadoc.htm
any developer that uses the eclipse IDE knows this windows, it's shown the javadoc content of selected element,
it's part of Eclipse Java development tools (JDT)

How to display editor tabs on the side of the editor pane in Eclipse?

In Eclipse Indigo (I'm on 3.7.2), is it possible to move the editor tabs from the top of the editor pane to the side of the editor pane, creating a vertical stack of tabs? This would allow many more tabs to be seen at once. Given my widescreen display and the large number of active files I am switching between this would be a useful configuration. I cannot find a setting or a plugin that will do so.
Not possible yet. See here and here
I got fed up with not being able to do this and wrote an eclipse plugin. You can find it in the marketplace at: https://marketplace.eclipse.org/content/open-editors
Here is a screenshot
I do not know of a plugin which would allow one to do this.
This (
In Eclipse, can I view the files I currently have open in a vertical stack instead of a horizontal one?) confirms the same unfortunately.
I just searched a bit. I can see a lot of talk about having multi-line tabs, but vertical tabs don't seem to come up a lot.
The Open-Editors plugin has issue
Works well on Windows10 + Eclipse 4.8 + OpenJDK11. 100%
Have just tested. Dont forget to link your Eclipse to JDK-11
https://wiki.eclipse.org/Eclipse.ini
Install Plugin
https://marketplace.eclipse.org/content/open-editors#comment-6750

Unable to dock perspective bar on the left in Eclipse Juno

This page says that I should be able to dock my perspective bar in Eclipse Juno on the left, just the way I've been doing it in Indigo, Helios and previous versions.
Except that the menu I get when I right-click on a perspective button in the perspective bar, only includes the following options:
close
show text
Has anyone else run into this -- is there something wrong with my configuration or workspace? Or is it time for me to submit a bug?
(I'm using this release: 20120614-1722 )
It seems like this feature will be implemented in M20120809-1200/4.2.1/Juno SR1. See
this comment on eclipse bug 383599.
Dock functionality is not available in Eclipse 4.2 - only in Eclipse 3.8
See comment #3 at https://bugs.eclipse.org/bugs/show_bug.cgi?id=383599#c3
I'm currently in the process of enhancing the DnD for trim elements to include the Perspective Switcher (as well as tool bars and most of the rest of the trim). Hopefully this will make it into the SR1 release in September.
Note that we won't be putting the 'Dock on Left' context menu back though since we're trying to reduce the complexity by only having one way to do things...
I wouldn't rely on the online documentation for specific information, I think large chunks of it are just copied over from previous releases into a new folder and left there.
I've been confused a few times by this fact too (in my case it was also concerning the UI configuration).
The page you supplied in your link is indeed labelled Juno (4.2) but as eugener mentioned this feature is for the 3.x (Indigo).

How do I get the old colors and look & feel back in Eclipse 4.2?

I had been using Eclipse 3.x for a few years and while I had a few issues w.r.t. its stability and performance, I never had any particular annoyance with the UI itself...
Now that the new and shiny Eclipse 4.2 is out of the oven, it feels more stable and somewhat snappier, but I instantly felt a dislike for some details of its UI:
I find the "curved" look of the main toolbar distracting and it seems to me that it does not mix well with any other element in my desktop. It could just be a color issue, but the toolbar is prevalent enough to merit a specific mention.
The default colors do not work well with the TFT/TN displays of the laptop and both desktop computers that I am using. The various gradients seem completely washed out, the tab separators are practically invisible and the toolbar curve looks totally weird.
It's also almost impossible to tell which view is active - Eclipse 3.x used a unique blue color for the active tab header. Juno uses a color-reversal in all inactive tabs, which probably sounds more visible, but in my opinion that effect is lost because the active tab is still in a shade of gray which is lost in the overall gray-ness of the new UI...
So, how do I get back to a more reasonable look and feel? Is there somewhere a theming option that would help?
PS.1: I use Eclipse/GTK on Linux...
PS.2: What happened to all the colors in Juno, anyway?
PS.3: Can we keep the new splash screen, though? That one, I like...
Apparently, the Eclipse developers were kind enough to leave us an easy way out:
From the Window menu, select Preferences.
Expand the General category in the Preferences dialog tree.
Click on the Appearance sub-category.
On the left side of the window, a Theme drop-down menu will appear - click on it.
Select Classic in the Theme drop-down menu.
Most important: you need to restart Eclipse after that, even though no hint to that effect appears.
This setting is mentioned in several blog posts, which for some reason I could not find until I started using terms such as "awful" and "ugly" in Google. It seems that I was not the only one to find the new theme unbearable...
There is another way documented here.
This goes a lot further than the switch to classic theme and makes it look like 3.x.
The problem with the Juno L & F is that its great on monitors with 1600x1050. But my work PC has 2 screens that are 1280x1-24. Not so great!
I found a way to make Juno look like Indigo: I know there are new fancy themes around but I'm not willing to spend time on it.
My solution is just to copy the Indigo css_prefs files into Juno directory
.metadata/.plugins/org.eclipse.core.runtime/.settings
The file you have to look for are
org.eclipse.e4.ui.css.swt.theme.prefs and org.eclipse.wst.css.ui.prefs
If you don't have them you can download from my blog http://www.venturin.net/2013/04/04/eclipse-juno-looks-ugly-in-linux-mint-14-nadia/
To restore traditional style tabs on more recent versions of Eclipse, edit e4_classic_winxp.css and change swt-simple: false; to swt-simple: true; (this assumes you are using the default Classic theme).
On Eclipse Kepler this file is located in:
eclipse\plugins\org.eclipse.platform_4.3.2.v20140221-1700\css
On Eclipse Mars this file is located in:
eclipse\plugins\org.eclipse.ui.themes_1.1.0.v20150511-0913\css