Run Action after New Wizard or Import Wizard finishes [message #526662] |
Mon, 12 April 2010 10:27  |
Eclipse User |
|
|
|
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?
Thanks,
J
|
|
|
Re: Run Action after New Wizard or Import Wizard finishes [message #527214 is a reply to message #526662] |
Wed, 14 April 2010 09:47  |
Eclipse User |
|
|
|
Hi J,
I can understand your use case. I suggest you file a bug for a Wizard
listener of some kind.
--
Best Regards,
Wim Jongman
-- 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?
>
> Thanks,
> J
|
|
|
Powered by
FUDForum. Page generated in 0.09738 seconds