Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370416

Summary: Javadoc for Methods command.getHandler() and command.isEnabled()
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: bsd, firedrago, Lars.Vogel, remy.suen
Version: 4.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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().