Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Should I be able to create a "category" element in extension point "org.eclipse.ui.co
Should I be able to create a "category" element in extension point "org.eclipse.ui.co [message #518793] Thu, 04 March 2010 20:13 Go to next message
David M. Karr is currently offline David M. Karr
Messages: 352
Registered: July 2009
Senior Member
I'm stepping through "Creating Eclipse Plugins". I was trying to create a command. The instructions in the book said to add an extension from the "org.eclipse.ui.commands" extension point. I found that, but it then said to create a new "category" from the "New" context menu. However, instead of "category", I only see "Generic". Is this expected? Should I have done something else beforehand in order to be able to add "category" off of that extension point?
Re: Should I be able to create a "category" element in extension point "org.eclipse.u [message #518981 is a reply to message #518793] Fri, 05 March 2010 10:52 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

When downloading eclipse there are usually 2 version offered. runtime
and SDK. The SDK includes all of the source + schema, and that schema
is what PDE uses to fill in the context menu.

You need to get the Eclipse SDK (or update your runtime to an SDK with
all the source).

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Should I be able to create a "category" element in extension point "org.eclipse.u [message #518985 is a reply to message #518981] Fri, 05 March 2010 10:58 Go to previous messageGo to next message
David M. Karr is currently offline David M. Karr
Messages: 352
Registered: July 2009
Senior Member
So without installing an entirely new distribution, is there a practical way to "update your runtime to an SDK with
all the source"? I wouldn't mind downloading a new distribution, if I could just integrate the pieces I need into my existing distribution, without much risk of screwing it up.
Re: Should I be able to create a "category" element in extension point "org.eclipse.u [message #519402 is a reply to message #518985] Mon, 08 March 2010 07:58 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Depends on where you got your distribution from ... if it is the galileo
distro, then simply use Help>Install new software to install the Eclipse
SDK (PDE SDK, JDT SDK, Platform SDK and RCP SDK are the ones that should
get installed from hopefully the one main feature).

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Previous Topic:Veto Undo
Next Topic:convert webworks help to eclipse help
Goto Forum:
  


Current Time: Fri Aug 22 06:02:26 EDT 2014

Powered by FUDForum. Page generated in 0.11095 seconds