how to hide toolbar items in e4 application with specific perspective - eclipse-rcp

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?

Related

How to hide trim status bar controls programatically in 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.

How to Call a RCP perspective from IntroPage(HTML) of RCP application

I have built a RCP application with Intropage in HTML. I also have other perspectives in the application. How do call (or load) a perspective from a button click in the HTML intro page ?
You can find views like
PlatformUI.getWorkbench().getViewRegistry().find(id)
or perspectives like
PlatformUI.getWorkbench().getPerspectiveRegistry().getPerspectives()

Eclipse E4: How to Drag from an OS window (like file dialog) to an eclipse m-part view?

I have Drag and drop working fine within a test Eclipse E4 application. But i'm trying to drag from an OS window (the file dialog) to my mpart view. No such luck. And the DropTarget functions are not firing at all, even though the part (viewer) is setup to receive drops (drop target events). And it works fine from within my app, such as dragging from another mpart view.
I noticed that this can be done in the Eclipse (IDE) itself. How is this enabled in any general Eclipse (E4) application?
Thanks.

changing UI and text of Updates available popup

I working on eclipse rcp project where I need to add updates available popup
to my eclipse rcp application. I could show the popup, but now my question is
can I change UI and text of that popup. I want the look of UI in my own desired.
Is it possible to customize the UI and text?
Please find the attached image.

enabling ShowView menu for rcp application

I created a sample eclipse rcp application and create some Views.
I added a Window menu and under that added command org.eclipse.ui.window.showViewMenu
for showing the ShowView functionality of eclipse. But when I run my rcp application Showview is disabled.
How can I enable the ShowView menu for my rcp application? Even if it is enabled, will
I get option for Seeing only the views which I created associated with my eclipsed rcp application?