Community
Participate
Working Groups
... and pressing it seems to have no effect.
Created attachment 170857 [details] Patch Proposed patch for disabling Stop script, when no script is running.
Anithra, please take a look at the patch. We need a fix ASAP for this.
The Patch works fine, Thanks!
I havent committed the patch, Not sure if i can do it or if Roland should be doing it ...
I still see the button active in the SystemTap IDE and SystemTap Graphing perspectives but not in the SystemTap Dashboard perspective :)
The stop script button still seems to be on when Eclipse starts up into the "SystemTap Graphing" perspective, but it appears to be off when Eclipse boots into "SystemTap IDE" or "SystemTap Dashboard". I don't see why this is the case.
With https://build.eclipse.org/hudson/job/cbi-linuxtools-Helios/231/ I actually still see it on in both IDE and Graphing perspectives.
The patch never got committed, I believe. So I'm not really surprised that there's no change apparent ;-) BTW: the patch should better change to something like: public void selectionChanged(IAction a, ISelection s) { a.setEnabled(anyRunning()); if (!anyRunning()) { a.setDisabledImageDescriptor(a.getImageDescriptor()); } }
(In reply to comment #8) > The patch never got committed, I believe. So I'm not really surprised that > there's no change apparent ;-) > > BTW: the patch should better change to something like: > > public void selectionChanged(IAction a, ISelection s) { > a.setEnabled(anyRunning()); > if (!anyRunning()) { > a.setDisabledImageDescriptor(a.getImageDescriptor()); > } > } It's not really necessary to call setDisabledImageDescriptor on the same image that is already in use -- Eclipse should automatically gray out the image when it is disabled. I can confirm that this patch will work if applied. :) The StopScriptAction (and the rest of the ide.FileActionSet action set) don't show up in Dashboard for me, I believe this may be intentional since Dashboard seems to have its own Stop/Run actions...
Ok, cool. Thanks, Charley!
I've committed the code, so it should work with the next build.. The StopScriptAction is not meant/not needed for the Dashboard perspective.
I still see it enabled in the Graphing perspective but when I click it it says that the chosen operation is not enabled. It then remains un-enabled. I'm willing to accept this for now and we can work on the initial state in bug #316178.
Comment on attachment 170857 [details] Patch Marking patch obsolete since it was done by a committer.