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

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

Best Java code snippets using org.eclipse.core.runtime.IExtensionRegistry.getExtensionPoint (Showing top 20 results out of 1,458)

origin: org.eclipse.platform/org.eclipse.ui.workbench

/**
 * Return the activity support extension point that this registry is interested in.
 *
 * @return the extension point
 */
public IExtensionPoint getExtensionPointFilter() {
  return Platform.getExtensionRegistry().getExtensionPoint(
      PlatformUI.PLUGIN_ID, IWorkbenchRegistryConstants.PL_ACTIVITYSUPPORT);
}
origin: org.eclipse.platform/org.eclipse.ui.workbench

  private IExtensionPoint getExtensionPointFilter() {
    return Platform.getExtensionRegistry().getExtensionPoint(
        PlatformUI.PLUGIN_ID, IWorkbenchRegistryConstants.PL_ACTIVITYSUPPORT);
  }
}
origin: org.eclipse.platform/org.eclipse.ui.workbench

/**
 * Return the action set part association extension point.
 *
 * @return the action set part association extension point
 * @since 3.1
 */
private IExtensionPoint getActionSetPartAssociationExtensionPoint() {
  return Platform
  .getExtensionRegistry().getExtensionPoint(
      PlatformUI.PLUGIN_ID,
      IWorkbenchRegistryConstants.PL_ACTION_SET_PART_ASSOCIATIONS);
}
origin: org.eclipse.platform/org.eclipse.ui.workbench

/**
 * Return the activity support extension point.
 *
 * @return the activity support extension point.
 * @since 3.1
 */
private IExtensionPoint getActivitySupportExtensionPoint() {
  return Platform.getExtensionRegistry().getExtensionPoint(
      PlatformUI.PLUGIN_ID, IWorkbenchRegistryConstants.PL_ACTIVITYSUPPORT);
}
origin: org.eclipse/org.eclipse.jst.j2ee

private IExtensionPoint getExtensionPoint() {
  IExtensionRegistry registry = Platform.getExtensionRegistry();
  IExtensionPoint exPoint = registry.getExtensionPoint(extensionPoint); 
  return exPoint;
}
origin: org.eclipse.platform/org.eclipse.ui.workbench

/**
 * Return the action set extension point.
 *
 * @return the action set extension point
 * @since 3.1
 */
private IExtensionPoint getActionSetExtensionPoint() {
  return Platform
      .getExtensionRegistry().getExtensionPoint(
          PlatformUI.PLUGIN_ID,
          IWorkbenchRegistryConstants.PL_ACTION_SETS);
}
origin: org.eclipse.platform/org.eclipse.ui.workbench

private IConfigurationElement[] loadElements() {
  IExtensionPoint point = Platform.getExtensionRegistry()
      .getExtensionPoint("org.eclipse.ui", "installationPages"); //$NON-NLS-1$ //$NON-NLS-2$
  return point.getConfigurationElements();
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.equinox.app

private IExtension[] getAvailableAppExtensions() {
  IExtensionPoint point = extensionRegistry.getExtensionPoint(PI_RUNTIME + '.' + PT_APPLICATIONS);
  if (point == null)
    return new IExtension[0];
  return point.getExtensions();
}
origin: org.eclipse.platform/org.eclipse.equinox.app

private IExtension[] getAvailableAppExtensions() {
  IExtensionPoint point = extensionRegistry.getExtensionPoint(PI_RUNTIME + '.' + PT_APPLICATIONS);
  if (point == null)
    return new IExtension[0];
  return point.getExtensions();
}
origin: org.eclipse.jdt/org.eclipse.jdt.junit.core

public static TestKindRegistry getDefault() {
  if (fgRegistry != null)
    return fgRegistry;
  fgRegistry= new TestKindRegistry(Platform.getExtensionRegistry().getExtensionPoint(JUnitCorePlugin.ID_EXTENSION_POINT_TEST_KINDS));
  return fgRegistry;
}
origin: com.github.veithen.cosmos.bootstrap/org.eclipse.equinox.app

private IExtension[] getAvailableAppExtensions() {
  IExtensionPoint point = extensionRegistry.getExtensionPoint(PI_RUNTIME + '.' + PT_APPLICATIONS);
  if (point == null)
    return new IExtension[0];
  return point.getExtensions();
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jdt.launching

/**
 * Loads runtime classpath extensions
 */
private void initializeRuntimeClasspathExtensions() {
  IExtensionPoint extensionPoint= Platform.getExtensionRegistry().getExtensionPoint(LaunchingPlugin.ID_PLUGIN, ID_EXTENSION_POINT_RUNTIME_CLASSPATH_ENTRIES);
  IConfigurationElement[] configs= extensionPoint.getConfigurationElements();
  fClasspathEntryExtensions = new HashMap<String, IConfigurationElement>(configs.length);
  for (int i= 0; i < configs.length; i++) {
    fClasspathEntryExtensions.put(configs[i].getAttribute("id"), configs[i]); //$NON-NLS-1$
  }
}

origin: org.eclipse/org.eclipse.jdt.debug.ui

protected void initializeVMInstallTypePageMap() {
  fVmInstallTypePageMap = new HashMap(10);
  IExtensionPoint extensionPoint= Platform.getExtensionRegistry().getExtensionPoint(getUniqueIdentifier(), IJavaDebugUIConstants.EXTENSION_POINT_VM_INSTALL_TYPE_PAGE);
  IConfigurationElement[] infos= extensionPoint.getConfigurationElements();
  for (int i = 0; i < infos.length; i++) {
    String id = infos[i].getAttribute("vmInstallTypeID"); //$NON-NLS-1$
    fVmInstallTypePageMap.put(id, infos[i]);
  }        
}

origin: org.eclipse/org.eclipse.wst.common.emfworkbench.integration

private void readExtensions() {
  IExtensionPoint point = Platform.getExtensionRegistry().getExtensionPoint(PLUGIN_ID, EXTENSION_POINT);
  if (point == null)
    return;
  IConfigurationElement[] elements = point.getConfigurationElements();
  for (int i = 0; i < elements.length; i++) {
    readFactory(elements[i]);
  }
}
origin: org.eclipse.platform/org.eclipse.ui.workbench

private static IExtension[] getPerspectiveExtensions() {
  IExtensionPoint point = Platform.getExtensionRegistry().getExtensionPoint(PlatformUI.PLUGIN_ID,
      IWorkbenchRegistryConstants.PL_PERSPECTIVE_EXTENSIONS);
  if (point == null) {
    return null;
  }
  IExtension[] extensions = point.getExtensions();
  extensions = RegistryReader.orderExtensions(extensions);
  return extensions;
}
origin: org.eclipse.recommenders/injection

public static List<InjectionDescriptor> getDescriptors() {
  final IExtensionRegistry registry = Platform.getExtensionRegistry();
  final IExtensionPoint extpoint = registry.getExtensionPoint(EXT_POINT_ID);
  final List<InjectionDescriptor> descriptors = Lists.newArrayList();
  for (final IExtension ext : extpoint.getExtensions()) {
    for (final IConfigurationElement config : ext.getConfigurationElements()) {
      final InjectionDescriptor desc = new InjectionDescriptor(config);
      descriptors.add(desc);
    }
  }
  return descriptors;
}
origin: com.github.veithen.cosmos.bootstrap/org.eclipse.ecf.identity

  protected void runWithRegistry(IExtensionRegistry registry)
      throws Exception {
    if (registry != null) {
      final IExtensionPoint extensionPoint = registry
          .getExtensionPoint(NAMESPACE_EPOINT);
      if (extensionPoint == null)
        return;
      addNamespaceExtensions(extensionPoint
          .getConfigurationElements());
    }
  }
});
origin: org.eclipse/org.eclipse.jem.util

private static String[] readGlobalLoadingPluginNames() {
  IExtensionRegistry reg = Platform.getExtensionRegistry();
  IExtensionPoint exPoint = reg.getExtensionPoint(ID, "globalPluginResourceLoad"); //$NON-NLS-1$
  IExtension[] extensions = exPoint.getExtensions();
  String[] names = new String[extensions.length];
  if (extensions.length > 0) {
    for (int i = 0; i < extensions.length; i++)
      names[i] = extensions[i].getContributor().getName();
  }
  return names;
}
origin: org.openehealth.ipf.eclipse.ocl/ipf-eclipse-ocl

private void readRegistryImpl() {
  extensionRegistry.addRegistryChangeListener(this, namespace);
  
  IExtension[] extensions = extensionRegistry.getExtensionPoint(
      namespace, PT_ENVIRONMENTS).getExtensions();
  
  for (IExtension extension : extensions) {
    read(extension);
  }
}

origin: edu.stanford.protege/org.protege.editor.core.application

public Bundle getExtensionPointBundle(IExtension extension) {
  IExtensionRegistry  registry = getExtensionRegistry();
  String extensionPtId = extension.getExtensionPointUniqueIdentifier();
  IExtensionPoint extensionPt = registry.getExtensionPoint(extensionPtId);
  IContributor contributor = extensionPt.getContributor();
  return getBundle(contributor);
}

org.eclipse.core.runtimeIExtensionRegistrygetExtensionPoint

Javadoc

Returns the extension point with the given extension point identifier in this extension registry, or null if there is no such extension point.

Popular methods of IExtensionRegistry

  • 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
  • removeListener
    Removes the given registry change listener from this registry. This method has no effect if the list
  • 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

  • Parsing JSON documents to java classes using gson
  • addToBackStack (FragmentTransaction)
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • ImageIO (javax.imageio)
  • JOptionPane (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 12 Jupyter Notebook extensions
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