Eclipse RCP application : single view -> perspective view - eclipse

i made standalone RCP application that consists of an application window with a single view.
i want to change this program to perspective view.
so how can i change this program ?

Related

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?

Separate the variables view in eclipse

I am using this Version of eclipse Version: Luna Service Release 1 (4.4.1) is there anyway in eclipse to separate the variables window when Debugging code to watch it at the other screen?
All the views are separable. Just drag the tab to another location and the view will appear in its own window.
Maybe this could be an solution
http://www.eclipse.org/forums/index.php/t/100946/
You could "detach" all views and arrange them on your "secondary"
monitor. Each view will appear in a window of its own, but you can stack
several views by dragging them into the same window.

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.

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?