}
// TODO: implement refreshing: this is not the right way to do that, there should be some listener that handles
// refreshing the UI, and avoids the double refresh that actually occurs when first displaying the sync view
// to have a proper refresh we should have state caching
final ISynchronizeManager manager = TeamUI.getSynchronizeManager();
Display display = PlatformUI.getWorkbench().getDisplay();
display.asyncExec(new Runnable() {
public void run() {
ISynchronizeView view = manager.showSynchronizeViewInActivePage();
ISynchronizeParticipant participant = view.getParticipant();
if (participant instanceof SubscriberParticipant) {
SubscriberParticipant sp = (SubscriberParticipant) participant;
if (logger.isDebugEnabled()) {
logger.debug("Reset component subscriber...");