Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Run Action after New Wizard or Import Wizard finishes
Run Action after New Wizard or Import Wizard finishes [message #526662] Mon, 12 April 2010 10:27 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:[jface] Programmatic cell iteration in ColumnViewers
Next Topic:how to implement Zoom Bar in ScalableFreeformRootEditPart
Goto Forum:
  


Current Time: Mon Jun 16 09:51:23 EDT 2025

Powered by FUDForum. Page generated in 0.09738 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top