How to hide trim status bar controls programatically in RCP. - eclipse-rcp

I have a combo control created in the trim status bar using eclipse RCP. I have multiple perspectives in the application. Please suggest a way to hide the combo control in the status bar for a particular perspective programatically (not via plugin.xml).
P.S: I am using NEON eclipse.

Related

How to customize statusbar in eclipse?

The plugin I made provides a tree viewer, and I want to display the number of items selected in the tree viewer in the status bar like eclipse's progressView.
How should I configure it?

how to hide toolbar items in e4 application with specific perspective

I am currently working with e4 application where I want to hide some toolbar buttons when the application is in certain perspective. In eclipse 3.x, I used to do it by perspective property tester using extension. But in e4, is there any way to do the same?

Customize Eclipse process console tool bar

I want to rearrange the tool bar buttons for Eclipse console and remove some items. Is this possible? Customizing the main menu bar and tool bar for the entire application can be done easily.
I'd like access to both the View action and Context menu options.
The Console View does not permit this.

Why some widgets do not get included in WindowBuilder?

Im using WindowBuilder tool to build a GUI for my application and I see that some widgets or tools don't get included in the Design view. In my case, I have created a new SWT Application window and I try to add DropDown Menu in the Application window and I always get a red icon when I take the DropDown menu from the palette to the design area. Can anyone tell me what is the problem in this case?
I found the mistake I was doing...It is not possible to directly add a DropDown Menu in the design editor. You first have to add a Menu and then add a DropDown Menu. And the widgets do work in all forms of applications you want to develop.

Hide status bar or progress bar in Eclipse

How can I hide the status bar in Eclipse? I mean the one at the bottom, where also the "Progress" status is shown. It is very distracting because it is doing something all the time.
I took a look at this question, but the answer given there and on Superuser does not show how to hide it. I also did not find anything in the preferences. I am using Eclipse 3.7.2.
How can I hide the status bar, or at least, get rid of the "Progress" bar at the bottom?
With CSS in Eclipse Juno there are endless possibilities to style Eclipse the way you like: edit the eclipse/plugins/org.eclipse.platform_4.2.2.v201302041200/css/e4_default_mac.css (adapt it to your Eclipse version and operating system).
There, add the following lines:
#org-eclipse-ui-trim-status,
#org-eclipse-ui-trim-vertical1,
#org-eclipse-ui-trim-vertical2 {
visibility: hidden;
}
Now, not only the status bar but also the bars on the left and right are hidden. Before doing that, you might open the views you like to have and bring them to your preferred positions and assign a shortcut to them so that they will pop up whenever (and only when) you need them. Of course, you can undo that change any time.
Eclipse Oxygen (4.7)
Approach 1
Go to Quick Access (or press Ctrl + 3)
Type "status bar"
Choose Toggle Statusbar - Toggle the visibility of the bottom status bar
Approach 2
Window > Appearance > Hide Status Bar
This feature is described here.
With the new release of Eclipse, you can use the menu to hide the status bar.
see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=501811