Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Adding Show View menu in plugin.xml
Adding Show View menu in plugin.xml [message #707902] Tue, 02 August 2011 07:45
Alexey Romanov is currently offline Alexey RomanovFriend
Messages: 263
Registered: May 2010
Senior Member
I want to add Show View menu to my RCP application via plugin.xml (so that I can control its placement). At Stack Overflow this solution was given:
public class MyShowViewContributionItem extends org.eclipse.ui.internal.ShowViewMenu {
    public MyShowViewContributionItem() {
    public MyShowViewContributionItem(String id) {
        super(org.eclipse.ui.PlatformUI.getWorkbench().getActiveWorkbenchWindow(), id);

<menu label="My Show View">

However, after doing this (and adding <viewShortcut>s) the item is disabled and has label "<No applicable views>". How can I fix this?
Previous Topic:Integration of Apache HttpClient 4.1.1 to a RCP client
Next Topic:Browser in RCP application triggers multiple combination on key strokes
Goto Forum:

Current Time: Fri Dec 03 08:27:25 GMT 2021

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

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

Back to the top