| [news.eclipse.platform] Re: Calling WorkspaceModifyOperation from a non-UI plugin |
Kathy,
http://www.eclipse.org/articles/Article-Concurrency/jobs-api.html
Michael
Hi,
I would like to be able to put multiple operatoins in a WorkspaceModifyOperation so that events which typically occur as a result of workspace changes (such as the firing of resource deltas, performance of autobuilds, calling validators etc.) are deferred until the outermost operation has successfully completed. Currently, the WorkspaceModifyOperation is in the org.eclipse.ui.actions plugin. However, I would like to be able to do my operations in a non-UI plugin. Is there a way I could do it? What shoudl I be calling to achieve the same effect as putting the operation in a WorkspaceModifyOperation but would not pull in the UI dependency?
Regards,
Kathy Chan