commands extension point - category or categoryId? [message #289178] |
Mon, 01 August 2005 11:07  |
Eclipse User |
|
|
|
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 #289306 is a reply to message #289245] |
Wed, 03 August 2005 11:03  |
Eclipse User |
|
|
|
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.
>
|
|
|
Powered by
FUDForum. Page generated in 0.08083 seconds