Examples of IExtension


Examples of org.eclipse.core.runtime.IExtension

                .getExtension(EXTENSION_ID);
        IExtension[] extensions = extensionPoint.getExtensions();

        for (int i = 0; i < extensions.length; i++)
        {
            IExtension ext = extensions[i];
            IConfigurationElement[] configElements = ext
                    .getConfigurationElements();

            for (int j = 0; j < configElements.length; j++)
            {
                final IConfigurationElement element = configElements[j];
View Full Code Here

Examples of org.eclipse.core.runtime.IExtension

  protected void readRegistry() {
    try {
      IExtensionPoint point = Platform.getExtensionRegistry().getExtensionPoint(JSFCorePlugin.PLUGIN_ID, ext_pt_id);
      IExtension[] extensions = point.getExtensions();
      for (int i=0;i < extensions.length;i++){
        IExtension ext = extensions[i];
        for (int j=0;j < ext.getConfigurationElements().length;j++){
          final String bundleId = ext.getConfigurationElements()[j].getContributor().getName();
          final String id = ext.getConfigurationElements()[j].getAttribute("id"); //$NON-NLS-1$
          String klass = ext.getConfigurationElements()[j].getAttribute("class"); //$NON-NLS-1$
          final String runtimeType = ext.getConfigurationElements()[j].getAttribute("runtime-type"); //$NON-NLS-1$
          if (klass == null || klass.trim().equals("")){ //$NON-NLS-1$
            klass = getDefaultClassName();
          }
          registerType(bundleId, id, klass, runtimeType);
        }
View Full Code Here

Examples of org.freeplane.core.extension.IExtension

      final MapView mapView = (MapView) e.getComponent();
      final Object object = mapView.detectCollision(new Point(originX, originY));
      if(object != null)
        return;
      final ModeController modeController = Controller.getCurrentModeController();
      final IExtension freeNode = modeController.getExtension(FreeNode.class);
      if(freeNode != null && modeController instanceof MModeController){
        final JComponent rootContent = mapView.getRoot().getMainView();
        final Point contentPt = new Point();
        UITools.convertPointToAncestor(rootContent, contentPt, mapView);
        final float zoom = mapView.getZoom();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.