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

Bug 206401

Summary: [Progress] ProgressView doesn't track property of IAction
Product: [Eclipse Project] Platform Reporter: Min Idzelis <min123>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Kevin_McGuire, pwebster, slubicki
Version: 3.3.1Keywords: helpwanted
Target Milestone: 3.4 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Example plugin showing problem
none
Updated example none

Description Min Idzelis CLA 2007-10-15 20:37:22 EDT
Build ID: Eclipse 3.3

Steps To Reproduce:
In the javadoc for IProgressConstants.ACTION_PROPERTY, it says that the ProgressView will keep track of enabled state and tooltip text. However, this doesn't seem to be the case. 

I would have my Action associated with my Job run only once. After it runs, it sets itself to be disabled. However, the Job Progress View doesn't disable the Action.
Comment 1 Tod Creasey CLA 2007-10-17 07:44:52 EDT
Could you show me some example code please? An attached example would be best.
Comment 2 Min Idzelis CLA 2007-11-08 10:06:08 EST
Created attachment 82447 [details]
Example plugin showing problem

You can invoke this example via a new menu in the toolbar, or ctrl-6
Comment 3 Tod Creasey CLA 2008-02-20 10:07:33 EST
Created attachment 90185 [details]
Updated example

Here is the example updated to add an example that does not do the disabling. I also modifed your example so that new jobs have enabled set to true.
Comment 4 Tod Creasey CLA 2008-02-20 10:09:59 EST
Fixed in build >20080220
Comment 5 Tod Creasey CLA 2008-03-24 11:20:03 EDT
Verified in I20080323-2000