Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Displaying progress monitor dialog for a job

Dave,

Calling setUser(true) should work, but it has to be called before the job is scheduled. Where are you setting this?

Regards,
Greg

On Aug 6, 2013, at 7:09 AM, Dave Wootton <dwootton@xxxxxxxxxx> wrote:

I'm working on bug 413192 and have the changes to run LSF commands as a job instead of on the UI thread mostly working. The one thing I cannot get working is getting the progress monitor to appear as a pop up dialog. Right now, I can click a list button in the resources tab of a LSF target system configuration and get a progress monitor appear in the progress view while the job is running. However, if I want to cancel the job, for instance if LSF is down and the command hung, I cannot cancel the job unless I close the run configuration dialog then cancel the progress monitor, since the run configuration dialog is modal.

I'd like to have the progress monitor appear as a popup dialog with a cancel button like I see elsewhere but I can't figure out how to make that work. I saw a web page that suggested calling Job.setUser(true) would do this but it is not working. I also tried setting the job priority to Job.Interactive and that did not help.

Does anyone have suggestions how to make this work?
Dave
Dave_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top