Examples of IProjectDescription


Examples of org.eclipse.core.resources.IProjectDescription

        DerbyServerUtils.getDefault().stopDerbyServer(currentJavaProject.getProject());
      }
      IClasspathEntry[] rawClasspath = currentJavaProject.getRawClasspath();
      currentJavaProject.setRawClasspath(DerbyUtils.removeDerbyJars(rawClasspath), null);
     
      IProjectDescription description = currentJavaProject.getProject().getDescription();
      String[] natures = description.getNatureIds();

      description.setNatureIds(removeDerbyNature(natures));
      currentJavaProject.getProject().setDescription(description, null);
      // refresh project so user sees changes
      currentJavaProject.getProject().refreshLocal(IResource.DEPTH_INFINITE, null);
      ((ApplicationWindow)window).setStatus(Messages.DERBY_NATURE_REMOVED);
    }catch (Exception e) {
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.