Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370416 - Javadoc for Methods command.getHandler() and command.isEnabled()
Summary: Javadoc for Methods command.getHandler() and command.isEnabled()
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-02 05:26 EST by Lars Vogel CLA
Modified: 2015-04-20 23:38 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2012-02-02 05:26:33 EST
As far as I know:

command.isEnabled()
command.getHandler()

return incorrect values in Eclipse 4 as these methods are only available for Eclipse 3.x. I suggest to add this information to the Javadoc of these methods.

See also: file:///home/vogella/workspace/docu/output/website/articles/Eclipse4Services/article.html#commandservice
Comment 1 Lars Vogel CLA 2014-02-12 17:36:18 EST
Not that important.
Comment 2 Brian de Alwis CLA 2015-04-20 23:38:07 EDT
Just a note: these methods do work providing the command was defined using ECommandService#defineCommand().