Examples of IFacetedProjectTemplate


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
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.