Package org.eclipse.core.runtime

Examples of org.eclipse.core.runtime.IExtensionPoint


      }
    }
  }

  private static void parseLibExtensions() {
    IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(LIBRARY_EXTENSION_POINT);
    if (extensionPoint != null) {
      IExtension[] extensions = extensionPoint.getExtensions();
      if (extensions != null && extensions.length > 0) {
        for (int i = 0; i < extensions.length; i++) {
          parseLibExtension(extensions[i]);
        }
      }
View Full Code Here


      }
    }
  }

  private static void parseWidgetExtensions() {
    IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(ADAPTER_EXTENSION_POINT);
    if (extensionPoint != null) {
      IExtension[] extensions = extensionPoint.getExtensions();
      if (extensions != null && extensions.length > 0) {
        for (int i = 0; i < extensions.length; i++) {
          parseWidgetExtension(extensions[i]);
        }
      }
View Full Code Here

      }
    }
  }

  private static void parseAdapters() {
    IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(ADAPTABLE_ADAPTER_EXTENSION_POINT);
    if (extensionPoint != null) {
      IExtension[] extensions = extensionPoint.getExtensions();
      if (extensions != null && extensions.length > 0) {
        for (int i = 0; i < extensions.length; i++) {
          parseAdapterExtension(extensions[i]);
        }
      }
View Full Code Here

      return null;
    return entry.get(adapterClassname);
  }

  private static void parseSortingExtensions() {
    IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(CATEGORY_EXTENSION_POINT);
    if (extensionPoint != null) {
      IExtension[] extensions = extensionPoint.getExtensions();
      if (extensions != null && extensions.length > 0) {
        for (int i = 0; i < extensions.length; i++) {
          parseSortingExtension(extensions[i]);
        }
      }
View Full Code Here

    patterns = new ArrayList<PatternItem>();
    parsePatternExtensions();
  }

  private static void parsePatternExtensions() {
    IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(CONTENT_TYPE_PATTERN_EXTENSION_POINT);
    if (extensionPoint != null) {
      IExtension[] extensions = extensionPoint.getExtensions();
      if (extensions != null && extensions.length > 0) {
        for (int i = 0; i < extensions.length; i++) {
          parsePatternExtension(extensions[i]);
        }
      }
View Full Code Here

  public void setFocus() {
    expandBar.setFocus();
  }

  private void parseGroupExtensions(Composite bar) {
    IExtensionPoint extensionPoint = Platform.getExtensionRegistry()
        .getExtensionPoint(GROUP_EXTENSION_POINT);
    if (extensionPoint != null) {
      IExtension[] extensions = extensionPoint.getExtensions();
      if (extensions != null && extensions.length > 0) {
        for (int i = 0; i < extensions.length; i++) {
          parseGroupExtension(extensions[i], bar);
        }
      }
View Full Code Here

      }
    }
  }

  private void parseWidgetExtensions() {
    IExtensionPoint extensionPoint = Platform.getExtensionRegistry()
        .getExtensionPoint(ADAPTER_EXTENSION_POINT);
    if (extensionPoint != null) {
      IExtension[] extensions = extensionPoint.getExtensions();
      if (extensions != null && extensions.length > 0) {
        for (int i = 0; i < extensions.length; i++) {
          parseWidgetExtension(extensions[i]);
        }
      }
View Full Code Here

    borderMap = new HashMap<Class, BorderAdapter>();
    parseBorderExtensions();
  }

  private static void parseBorderExtensions() {
    IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(BORDER_EXTENSION_POINT);
    if (extensionPoint != null) {
      IExtension[] extensions = extensionPoint.getExtensions();
      if (extensions != null && extensions.length > 0) {
        for (int i = 0; i < extensions.length; i++) {
          parseBorderExtension(extensions[i]);
        }
      }
View Full Code Here

      return pi == another.pi;
    }
  }

  private static void parseLayoutExtensions() {
    IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(LAYOUT_EXTENSION_POINT);
    if (extensionPoint != null) {
      IExtension[] extensions = extensionPoint.getExtensions();
      if (extensions != null && extensions.length > 0) {
        for (int i = 0; i < extensions.length; i++) {
          parseLayoutExtension(extensions[i]);
        }
      }
View Full Code Here

public abstract class ParserFactory {
  private static final String SOURCE_PARSER_FACTORY_EXTENSION = "org.dyno.visual.swing.sourceParserFactory";
  private static ParserFactory DEFAULT;

  private static void parseParserExtensions() {
    IExtensionPoint extensionPoint = Platform.getExtensionRegistry().getExtensionPoint(SOURCE_PARSER_FACTORY_EXTENSION);
    if (extensionPoint != null) {
      IExtension[] extensions = extensionPoint.getExtensions();
      if (extensions != null && extensions.length > 0) {
        for (int i = 0; i < extensions.length; i++) {
          parseParserExtension(extensions[i]);
        }
      }
View Full Code Here

TOP

Related Classes of org.eclipse.core.runtime.IExtensionPoint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.