Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » org.eclipse.main.menu not showing
org.eclipse.main.menu not showing [message #599866] Thu, 23 July 2009 20:04
Joey Mink is currently offline Joey MinkFriend
Messages: 87
Registered: July 2009
Location: Centreville, VA, USA
Member

Hi,

Please advise if I am posting this question in the wrong forum...

I am trying to come up to speed on eclipse plug-in development, and have
been working on this tutorial (after some simpler ones):

http://www.vogella.de/articles/RichClientPlatform/article.ht ml

I'm stuck just before step 6, as I'm unable to add the simple main menu
that would expose File->Exit. I've restarted from the beginning about 3
times and have meticulously inspected my source files, plugin.xml, etc.,
and can find nothing that appears to be wrong. I also do not find any
error messages showing up in the console log.

When I click the "Launch an Eclipse application" hyperlink from the
Overview tab, the application opens successfully, but it looks as it did
before I added the main menu.

Attached below is my plugin.xml, assuming that's of any use. Thanks for
reading!

----plugin.xml----
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

<extension
id="application"
point="org.eclipse.core.runtime.applications">
<application>
<run
class="de.vogella.rcp.commands.first.Application">
</run>
</application>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
name="RCP Perspective"
class="de.vogella.rcp.commands.first.Perspective"
id="de.vogella.rcp.commands.first.perspective">
</perspective>
</extension>
<extension
id="product"
point="org.eclipse.core.runtime.products">
<product
application="de.vogella.rcp.commands.first.application"
name="Hello RCP">
<property
name="windowImages"
value="icons/alt_window_16.gif,icons/alt_window_32.gif">
</property>
</product>
</extension>
<extension
point="org.eclipse.ui.commands">
<command

defaultHandler="de.vogella.rcp.commands.first.commands.ExitHandler "
id="de.vogella.rcp.commands.first.commands.Exit"
name="Exit">
</command>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu">
<menu
id="fileMenu"
label="File">
<command
commandId="de.vogella.rcp.commands.first.commands.Exit"
label="Exit"
style="push"
tooltip="Exit the app">
</command>
</menu>
</menuContribution>
</extension>

</plugin>

------------------
Previous Topic:[API Tools] API Tools for plain Java (not OSGi Bundles)
Next Topic:[API Tools] API Tools for plain Java (not OSGi Bundles)
Goto Forum:
  


Current Time: Thu Apr 25 16:36:55 GMT 2024

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

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

Back to the top