Package org.objectstyle.wolips.core.resources.internal.build

Examples of org.objectstyle.wolips.core.resources.internal.build.Nature


    return false;
  }

  public IResourceType createAdapter(Object adaptableObject, Class adapterType) {
    IProject project = (IProject) adaptableObject;
    Nature nature = (Nature) WOLipsNatureUtils.getNature(project);
    if (nature == null) {
      return null;
    } else if (adapterType == ProjectAdapter.class) {
      return new ProjectAdapter(project, nature.isFramework());
    } else if (adapterType == IProjectPatternsets.class) {
      ProjectPatternsets projectPatternSets = _projectPatternSets.get(adaptableObject);
      if (projectPatternSets == null) {
        projectPatternSets = new ProjectPatternsets(project);
        _projectPatternSets.put(adaptableObject, projectPatternSets);
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.core.resources.internal.build.Nature

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.