/** * Removes the {@link SynchronousProvisioningListener} that cleans up the * cache file from the event bus. */ private void unregisterRepoEventListener(IProvisioningEventBus bus) { if (bus != null && busListener != null) bus.removeListener(busListener); }
/** * Removes the {@link SynchronousProvisioningListener} that cleans up the * cache file from the event bus. */ private void unregisterRepoEventListener(IProvisioningEventBus bus) { if (bus != null && busListener != null) bus.removeListener(busListener); }
@Override public void stop() { IProvisioningEventBus eventBus = (IProvisioningEventBus) agent.getService(IProvisioningEventBus.SERVICE_NAME); if (eventBus != null) eventBus.removeListener(this); }
public void stop() { IProvisioningEventBus eventBus = (IProvisioningEventBus) agent.getService(IProvisioningEventBus.SERVICE_NAME); if (eventBus != null) eventBus.removeListener(this); }
public void stop() { IProvisioningEventBus eventBus = (IProvisioningEventBus) agent.getService(IProvisioningEventBus.SERVICE_NAME); if (eventBus != null) eventBus.removeListener(this); }
public void stop() { IProvisioningEventBus eventBus = (IProvisioningEventBus) agent.getService(IProvisioningEventBus.SERVICE_NAME); if (eventBus != null) eventBus.removeListener(this); }
public void shutdown() { statusLineManager = null; if (profileListener != null) { getProvisioningEventBus().removeListener(profileListener); profileListener = null; } }
public void widgetDisposed(DisposeEvent event) { ProvUI.getProvisioningEventBus(ui.getSession()).removeListener(listener); } });
void removeProvisioningListeners() { if (comboRepoListener != null) { ProvUI.getProvisioningEventBus(ui.getSession()).removeListener(comboRepoListener); comboRepoListener = null; } }
public void stop() { eventBus.removeListener(this); //ensure all repository state in memory is written to disk boolean changed = false; synchronized (repositoryLock) { if (repositories != null) { for (RepositoryInfo<T> info : repositories.values()) { changed |= remember(info, false); } } } if (changed) { if (Tracing.DEBUG) Tracing.debug("Unsaved preferences when shutting down " + getClass().getName()); //$NON-NLS-1$ saveToPreferences(); } repositories = null; unavailableRepositories = null; }
public void stop() { eventBus.removeListener(this); //ensure all repository state in memory is written to disk boolean changed = false; synchronized (repositoryLock) { if (repositories != null) { for (RepositoryInfo<T> info : repositories.values()) { changed |= remember(info, false); } } } if (changed) { if (Tracing.DEBUG) Tracing.debug("Unsaved preferences when shutting down " + getClass().getName()); //$NON-NLS-1$ saveToPreferences(); } repositories = null; unavailableRepositories = null; }
public void widgetDisposed(DisposeEvent e) { ProvUI.getProvisioningEventBus(getProvisioningUI().getSession()).removeListener(listener); } });
void removeProvisioningListeners() { if (profileListener != null) { ProvUI.getProvisioningEventBus(getProvisioningUI().getSession()).removeListener(profileListener); profileListener = null; } }
public void widgetDisposed(DisposeEvent e) { ProvUI.getProvisioningEventBus(getProvisioningUI().getSession()).removeListener(listener); } });
} finally { if (eventBus != null) { eventBus.removeListener(listener);
} finally { if (eventBus != null) { eventBus.removeListener(listener);
} finally { if (eventBus != null) { eventBus.removeListener(listener);