Package org.eclipse.core.internal.runtime

Examples of org.eclipse.core.internal.runtime.AdapterManager


    // Register the PHPDebugElementAdapterFactory.
    // To make sure we are the first adapter factory for the IVariable
    // class, we insert the
    // 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

TOP

Related Classes of org.eclipse.core.internal.runtime.AdapterManager

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.