Tabnine Logo
IExtensionRegistry.removeListener
Code IndexAdd Tabnine to your IDE (free)

How to use
removeListener
method
in
org.eclipse.core.runtime.IExtensionRegistry

Best Java code snippets using org.eclipse.core.runtime.IExtensionRegistry.removeListener (Showing top 17 results out of 315)

origin: org.eclipse.neoscada.ide/org.eclipse.scada.configuration.component.lib

public void dispose ()
{
  Platform.getExtensionRegistry ().removeListener ( this );
}
origin: de.dentrassi.eclipse.neoscada.ide/org.eclipse.scada.configuration.component.lib

public void dispose ()
{
  Platform.getExtensionRegistry ().removeListener ( this );
}
origin: ops4j/peaberry

public void shutdown() {
 for (final String k : listenerMap.keySet()) {
  extensionRegistry.removeListener(listenerMap.remove(k));
 }
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.equinox.app

void stop() {
  // stop all applications
  stopAllApps();
  context.removeBundleListener(this);
  extensionRegistry.removeListener(this);
  // flush the apps
  apps.clear();
  branding = null;
  missingProductReported = false;
  launcherTracker.close();
}
origin: org.eclipse.platform/org.eclipse.equinox.security

static public void stop() {
  if (instance != null) {
    IExtensionRegistry registry = RegistryFactory.getRegistry();
    registry.removeListener(instance);
    instance = null;
  }
}
origin: com.github.veithen.cosmos.bootstrap/org.eclipse.equinox.security

static public void stop() {
  if (instance != null) {
    IExtensionRegistry registry = RegistryFactory.getRegistry();
    registry.removeListener(instance);
    instance = null;
  }
}
origin: org.eclipse.equinox/registry

  public synchronized void stop() {
    RegistryFactory.getRegistry().removeListener(this);
  }
}
origin: org.eclipse.platform/org.eclipse.equinox.app

void stop() {
  // stop all applications
  stopAllApps();
  context.removeBundleListener(this);
  extensionRegistry.removeListener(this);
  // flush the apps
  apps.clear();
  branding = null;
  missingProductReported = false;
  launcherTracker.close();
}
origin: com.github.veithen.cosmos.bootstrap/org.eclipse.equinox.app

void stop() {
  // stop all applications
  stopAllApps();
  context.removeBundleListener(this);
  extensionRegistry.removeListener(this);
  // flush the apps
  apps.clear();
  branding = null;
  missingProductReported = false;
  launcherTracker.close();
}
origin: org.eclipse/equinox-registry

  public synchronized void stop() {
    RegistryFactory.getRegistry().removeListener(this);
  }
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.equinox.registry

  public synchronized void stop() {
    RegistryFactory.getRegistry().removeListener(this);
  }
}
origin: org.eclipse.platform/org.eclipse.equinox.registry

  public synchronized void stop() {
    RegistryFactory.getRegistry().removeListener(this);
  }
}
origin: org.eclipse.neoscada.ide/org.eclipse.scada.configuration.infrastructure.lib

@Override
public void stop ( final BundleContext context ) throws Exception
{
  Platform.getExtensionRegistry ().removeListener ( this.listener );
  plugin = null;
  clearCache ();
  super.stop ( context );
}
origin: org.eclipse.pde/org.eclipse.pde.runtime

@Override
public void disconnect() {
  Platform.getExtensionRegistry().removeListener(this);
  PDERuntimePlugin.getDefault().getBundleContext().removeBundleListener(this);
  PDERuntimePlugin.getDefault().getBundleContext().removeServiceListener(this);
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.views

@Override
public void dispose() {
  // run super.
  super.dispose();
  // remove ourselves as a selection and registry listener
  getSite().getPage().removePostSelectionListener(this);
  RegistryFactory.getRegistry().removeListener(this);
  currentPart = null;
  currentSelection = null;
  pinPropertySheetAction = null;
}
origin: eclipse/acceleo

/**
 * {@inheritDoc}
 * 
 * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
 */
@Override
public void stop(final BundleContext bundleContext) throws Exception {
  try {
    final IExtensionRegistry registry = Platform.getExtensionRegistry();
    registry.removeListener(librariesConnectorListener);
    registry.removeListener(librariesListener);
    Bundle pdeCoreBundle = Platform.getBundle("org.eclipse.pde.core"); //$NON-NLS-1$
    if (pdeCoreBundle != null) {
      ResourcesPlugin.getWorkspace().removeResourceChangeListener(workspaceEcoreListener);
    }
    AcceleoServicesEclipseUtil.clearRegistry();
    AcceleoLibraryConnectorsRegistry.INSTANCE.clearRegistry();
    AcceleoLibrariesEclipseUtil.clearRegistry();
    AcceleoWorkspaceUtil.INSTANCE.dispose();
    AcceleoPreferences.save();
    plugin = null;
    context = null;
    AcceleoModelManager.getManager().shutdown();
  } finally {
    super.stop(bundleContext);
  }
}
origin: org.eclipse.platform/org.eclipse.ui.views

@Override
public void dispose() {
  IWorkbenchPartSite site = getSite();
  IWorkbenchPage page = site.getPage();
  ISaveablesLifecycleListener saveables = site.getService(ISaveablesLifecycleListener.class);
  // remove ourselves as a selection and registry listener
  page.removePostSelectionListener(this);
  RegistryFactory.getRegistry().removeListener(this);
  if (saveables instanceof SaveablesList) {
    ((SaveablesList) saveables).removeModelLifecycleListener(saveablesTracker);
  }
  currentPart = null;
  currentSelection = null;
  pinPropertySheetAction = null;
  super.dispose();
}
org.eclipse.core.runtimeIExtensionRegistryremoveListener

Javadoc

Removes the given registry change listener from this registry.

This method has no effect if the listener is not registered.

Popular methods of IExtensionRegistry

  • getExtensionPoint
    Returns the extension point in this extension registry with the given namespace and extension point
  • getConfigurationElementsFor
    Returns all configuration elements from the identified extension. Returns an empty array if the exte
  • addRegistryChangeListener
    Note: for new implementations consider using #addListener(IRegistryEventListener,String). Adds the g
  • removeRegistryChangeListener
    Removes the given registry change listener from this registry. Has no effect if an identical listene
  • addListener
    Adds the given listener for registry change events related to specified extension point. Once regist
  • getExtension
    Returns the specified extension in this extension registry, or null if there is no such extension. T
  • getExtensionPoints
    Returns all extension points supplied by the contributor, or null if there are no such extension poi
  • addContribution
    Adds to this extension registry an extension point(s), extension(s), or a combination of those descr
  • getExtensions
    Returns all extensions supplied by the contributor, or null if there are no such extensions.
  • stop
    Call this method to properly stop the registry. The method stops registry event processing and write
  • getNamespaces
    Returns all namespaces currently used by extensions and extension points in this registry. Returns a
  • getNamespaces

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • setScale (BigDecimal)
  • findViewById (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JButton (javax.swing)
  • JTable (javax.swing)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now