Example usage for org.springframework.ide.eclipse.core SpringCoreUtils removeProjectNature

List of usage examples for org.springframework.ide.eclipse.core SpringCoreUtils removeProjectNature

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.core SpringCoreUtils removeProjectNature.

Prototype

public static void removeProjectNature(IProject project, String nature, IProgressMonitor monitor)
        throws CoreException 

Source Link

Document

Removes given nature from specified project.

Usage

From source file:org.eclipse.virgo.ide.facet.core.BundleFacetUninstallDelegate.java

public void execute(IProject project, IProjectFacetVersion fv, Object config, IProgressMonitor monitor)
        throws CoreException {
    IJavaProject jproj = JavaCore.create(project);
    removeFromClasspath(jproj, JavaCore.newContainerEntry(FacetCorePlugin.CLASSPATH_CONTAINER_PATH), monitor);
    SpringCoreUtils.removeProjectNature(project, FacetCorePlugin.BUNDLE_NATURE_ID, monitor);
}