Package org.eclipse.wst.common.project.facet.core

Examples of org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate


    // Add the ATF nature as well.
    ATFNature.addNature(project, new NullProgressMonitor());

    // Installs the static web project facet.
    IFacetedProject faceted = ProjectFacetsManager.create(project);
    IFacetedProjectTemplate tpl = ProjectFacetsManager
        .getTemplate("template.wst.web");
    Set<IProjectFacet> facets = tpl.getFixedProjectFacets();

    // There should be only one fixed facet. If there's more, this code will
    // need to be reviewed.
    Assert.assertEquals(1, facets.size());
    IProjectFacet facet = facets.iterator().next();
View Full Code Here

TOP

Related Classes of org.eclipse.wst.common.project.facet.core.IFacetedProjectTemplate

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.