Examples of IContributorResourceAdapter2


Examples of org.eclipse.ui.ide.IContributorResourceAdapter2

      Object adapted = adaptable.getAdapter(ResourceMapping.class);
      if (adapted instanceof ResourceMapping)
        return (ResourceMapping) adapted;
      adapted = adaptable.getAdapter(IContributorResourceAdapter.class);
      if (adapted instanceof IContributorResourceAdapter2) {
        IContributorResourceAdapter2 cra = (IContributorResourceAdapter2) adapted;
        return cra.getAdaptedResourceMapping(adaptable);
      }
    } else {
      Object adapted = Platform.getAdapterManager().getAdapter(o,
          ResourceMapping.class);
      if (adapted instanceof ResourceMapping)
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.