Community
Participate
Working Groups
Create single strategy for progress monitoring that can be used in various places. I propose that the API would be: createProgressMonitor() - function that returns a progress monitor. createProgressMonitor(deferred) - function that returns a progress monitor that updates itself depending of given deferred ProgressMonitor{ begin(message); - starts the progress, message describes what do we monitor worked(message); - changes the message in the progress done(status); - finishes the monitor, argument is optional, may be a message or a status containing Severity }
done
Malgorzata, is this available in any way to plugins?
(In reply to comment #2) > Malgorzata, is this available in any way to plugins? Actually plugins are run in the isolated environment (headless IFrame) and Orion is not able to report your progress, so you will have to take care of reporting your progress on your own. However it's a good idea we had some kind of support here together with support for asynchronous command invocation. I'll be opening a bug on it soon, I'll add you on CC.
> Orion is not able to report your progress It is fair if plugins have to be responsible for determining how much progress has been made. But Orion could still show it to the end user, right?
(In reply to comment #4) > > Orion is not able to report your progress > > It is fair if plugins have to be responsible for determining how much > progress has been made. But Orion could still show it to the end user, right? Right. We have just talked about using a task-like approach for progress in Orion plug-ins. So Orion would ask a plug-in to make a task, if it is quick it would return immediately. If not, it would keep polling till the task is finished.