Examples of registerAdapters()


Examples of org.eclipse.core.internal.runtime.AdapterManager.registerAdapters()

    // factory before any other factory.
    AdapterManager manager = (AdapterManager) Platform.getAdapterManager();
    List list = (List) manager.getFactories()
        .get(IVariable.class.getName());
    PHPDebugElementAdapterFactory propertiesFactory = new PHPDebugElementAdapterFactory();
    manager.registerAdapters(propertiesFactory, IVariable.class);
    // In case the list had some factories, make sure our factory is the
    // first in the list.
    if (list != null && list.size() > 1) {
      list.remove(propertiesFactory);
      list.add(0, propertiesFactory);
View Full Code Here

Examples of org.eclipse.core.runtime.IAdapterManager.registerAdapters()

  @Override
  public void start(BundleContext context) throws Exception {
    super.start(context);
    IAdapterManager manager = Platform.getAdapterManager();
    breakpointWorkbenchAdapterFactory = new ChromiumBreakpointWBAFactory();
    manager.registerAdapters(breakpointWorkbenchAdapterFactory, ChromiumLineBreakpoint.class);
    plugin = this;

    JavascriptVmFactory.getRootLogger().addHandler(SDK_LOG_HANDLER);
  }
View Full Code Here

Examples of org.eclipse.core.runtime.IAdapterManager.registerAdapters()

  @Override
  public void start(BundleContext context) throws Exception {
    super.start(context);
    IAdapterManager manager = Platform.getAdapterManager();
    breakpointWorkbenchAdapterFactory = new ChromiumBreakpointWBAFactory();
    manager.registerAdapters(breakpointWorkbenchAdapterFactory, ChromiumLineBreakpoint.class);
    plugin = this;

    BrowserFactory.getRootLogger().addHandler(SDK_LOG_HANDLER);
  }
View Full Code Here

Examples of org.eclipse.core.runtime.IAdapterManager.registerAdapters()

        context.registerService(ContainerTypeDescription.class, new ContainerTypeDescription(J8SSLGenericContainerInstantiator.JAVA8_SSL_SERVER_NAME, new J8SSLGenericContainerInstantiator(), "ECF Java8 SSL Generic Server", true, false), null); //$NON-NLS-1$
        IAdapterManager am = getAdapterManager(context);
        if (am != null) {
          rscAdapterFactories = new ArrayList<IAdapterFactory>();
          IAdapterFactory af = new J8RemoteServiceContainerAdapterFactory();
          am.registerAdapters(af, J8SSLServerSOContainer.class);
          rscAdapterFactories.add(af);
          af = new J8RemoteServiceContainerAdapterFactory();
          am.registerAdapters(af, J8TCPServerSOContainer.class);
          rscAdapterFactories.add(af);
          af = new J8RemoteServiceContainerAdapterFactory();
View Full Code Here

Examples of org.eclipse.core.runtime.IAdapterManager.registerAdapters()

          rscAdapterFactories = new ArrayList<IAdapterFactory>();
          IAdapterFactory af = new J8RemoteServiceContainerAdapterFactory();
          am.registerAdapters(af, J8SSLServerSOContainer.class);
          rscAdapterFactories.add(af);
          af = new J8RemoteServiceContainerAdapterFactory();
          am.registerAdapters(af, J8TCPServerSOContainer.class);
          rscAdapterFactories.add(af);
          af = new J8RemoteServiceContainerAdapterFactory();
          am.registerAdapters(af, J8SSLClientSOContainer.class);
          rscAdapterFactories.add(af);
          af = new J8RemoteServiceContainerAdapterFactory();
View Full Code Here

Examples of org.eclipse.core.runtime.IAdapterManager.registerAdapters()

          rscAdapterFactories.add(af);
          af = new J8RemoteServiceContainerAdapterFactory();
          am.registerAdapters(af, J8TCPServerSOContainer.class);
          rscAdapterFactories.add(af);
          af = new J8RemoteServiceContainerAdapterFactory();
          am.registerAdapters(af, J8SSLClientSOContainer.class);
          rscAdapterFactories.add(af);
          af = new J8RemoteServiceContainerAdapterFactory();
          am.registerAdapters(af, J8TCPClientSOContainer.class);
          rscAdapterFactories.add(af);
        }
View Full Code Here

Examples of org.eclipse.core.runtime.IAdapterManager.registerAdapters()

          rscAdapterFactories.add(af);
          af = new J8RemoteServiceContainerAdapterFactory();
          am.registerAdapters(af, J8SSLClientSOContainer.class);
          rscAdapterFactories.add(af);
          af = new J8RemoteServiceContainerAdapterFactory();
          am.registerAdapters(af, J8TCPClientSOContainer.class);
          rscAdapterFactories.add(af);
        }
      }
    });
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.