|Re: Run Action after New Wizard or Import Wizard finishes [message #527214 is a reply to message #526662]
||Wed, 14 April 2010 13:47
| Wim Jongman
Registered: July 2009
Hi J, |
I can understand your use case. I suggest you file a bug for a Wizard
listener of some kind.
-- Computers are not intelligent. They only think they are.
(Eclipse Old Skool Quote Service)
> I'm trying to refresh a view after the new wizard or import wizard runs.
I'm using a 3rd party plugin that writes to the workspace but as of now, i
have no way know when it runs and finishes. Once it completes, the 3rd party
plugin creates a new project or imports data into an existing project, i need
to force a refresh on my view.
> After researching a little, i see I could somehow use the
IResourceChangeListner and the
ResourcePlugin.getWorkspace().addResourceChangeListener(this , PostChange)
but the 3rd party doesn't wrap the events in the batch notifications, so
every change to the workspace gets its own event.
> If I had some way to know when the new project wizard was complete or
import project was complete, I could force my refresh. Any ideas?
Powered by FUDForum
. Page generated in 0.02312 seconds