Examples of uninstallProjectFacet()


Examples of org.eclipse.wst.common.project.facet.core.IFacetedProject.uninstallProjectFacet()

    if (hasFacet()) {
      try {
        IFacetedProject facetedProject = ProjectFacetsManager
            .create(project);
        if (facetedProject != null) {
          facetedProject.uninstallProjectFacet(
              FACET.getDefaultVersion(), null, null);
        }
      } catch (CoreException e) {
        CloudFoundryPlugin.log(e);
      }
View Full Code Here

Examples of org.eclipse.wst.common.project.facet.core.IFacetedProject.uninstallProjectFacet()

     
      final IFacetedProject facetedProject = ProjectFacetsManager.create(project, true, monitor);
     
      IProjectFacet composerFacet = ProjectFacetsManager.getProjectFacet(ComposerFacetConstants.COMPOSER_COMPONENT);
     
      facetedProject.uninstallProjectFacet(composerFacet.getVersion(ComposerFacetConstants.COMPOSER_COMPONENT_VERSION_1), composerFacet, monitor);
    } catch (CoreException ex) {
      Logger.logException(ex.getMessage(), ex);
    }
  }
 
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.