org.eclipse.cdt.managedbuilder.templateengine
Class ProjectCreatedActions
java.lang.Object
org.eclipse.cdt.managedbuilder.templateengine.ProjectCreatedActions
public class ProjectCreatedActions
- extends java.lang.Object
This class is a helper for creating general CDT projects
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectCreatedActions
public ProjectCreatedActions()
createProject
public IManagedBuildInfo createProject(org.eclipse.core.runtime.IProgressMonitor monitor,
java.lang.String indexerId,
boolean isCProject)
throws org.eclipse.core.runtime.CoreException,
BuildException
- Utility method that
- Creates a CDT MBS project from an IProject
- Autoexpands the project in the C/C++ Projects view
- Parameters:
project
- the IProject to turn into a CDT MBS projectprojType
- configs
- artifactExtn
-
- Returns:
- an IManagedBuildInfo instance (from which the IManagedProject can be retrieved)
- Throws:
org.eclipse.core.runtime.CoreException
BuildException
getNewConfiguration
public IConfiguration getNewConfiguration(IConfiguration original)
getNewConfigurations
public java.util.Set getNewConfigurations(java.util.Collection originalConfigs)
setArtifactExtension
public void setArtifactExtension(java.lang.String artifactExtension)
- Parameters:
artifactExtension
- the artifactExtension to set
getConfigs
public IConfiguration[] getConfigs()
- Returns:
- the configs
setConfigs
public void setConfigs(IConfiguration[] configs)
- Parameters:
configs
- the configs to set
getProject
public org.eclipse.core.resources.IProject getProject()
- Returns:
- the project
setProject
public void setProject(org.eclipse.core.resources.IProject project)
- Parameters:
project
- the project to set
getProjectLocation
public org.eclipse.core.runtime.IPath getProjectLocation()
- Returns:
- the projectLocation
setProjectLocation
public void setProjectLocation(org.eclipse.core.runtime.IPath projectLocation)
- Parameters:
projectLocation
- the projectLocation to set