Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » commands extension point - category or categoryId?
commands extension point - category or categoryId? [message #289178] Mon, 01 August 2005 11:07 Go to next message
Eclipse UserFriend
Originally posted by: eddie.streambase.com

I used to have a 3.0 plugin that had a org.eclipse.ui.commands extension
point, with a command that had no category or categoryId defined.

I got a warning, and so I added "categoryId". Now I still see the
warning, as shown below (spacing added). If I use a category, I get the
warning too, and the plugin.xml editor shows it is deprecated (as the
docs say).

Any ideas?

Thank you, Eddie


!ENTRY org.eclipse.ui 1 0 2005-08-01 11:04:55.625

!MESSAGE Warnings while parsing the commands from the
'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions'
extension points.

!SUBENTRY 1 org.eclipse.ui 1 0 2005-08-01 11:04:55.640

!MESSAGE Commands should really have a category, not
categoryId='com.xxx.SomeCategory':
plug-in='com.xxx.somePlugin', commandId='com.xxx.someId'.
Re: commands extension point - category or categoryId? [message #289245 is a reply to message #289178] Tue, 02 August 2005 14:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: douglas.pollock.magma.ca

Eddie Galvez wrote:
> I used to have a 3.0 plugin that had a org.eclipse.ui.commands extension
> point, with a command that had no category or categoryId defined.
>
> I got a warning, and so I added "categoryId". Now I still see the

Did you add a category element to correspond to the id? Simply adding the
id isn't enough, as it is just a reference.



d.
Re: commands extension point - category or categoryId? [message #289306 is a reply to message #289245] Wed, 03 August 2005 11:03 Go to previous message
Eclipse UserFriend
Originally posted by: eddie.streambase.com

Ah, thanks - that did it; I added a category element corresponding to
the id and it quieted down, thanks.

- Eddie

Douglas Pollock wrote:
> Eddie Galvez wrote:
>
>>I used to have a 3.0 plugin that had a org.eclipse.ui.commands extension
>>point, with a command that had no category or categoryId defined.
>>
>>I got a warning, and so I added "categoryId". Now I still see the
>
>
> Did you add a category element to correspond to the id? Simply adding the
> id isn't enough, as it is just a reference.
>
>
>
> d.
>
Previous Topic:HOWTO: Defining a toolbar action to launch active handlerfor a command.
Next Topic:Rename Compilation Unit - Performing changes
Goto Forum:
  


Current Time: Mon Jul 14 03:00:48 EDT 2025

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

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

Back to the top