org.eclipse.cdt.managedbuilder.templateengine
Class ProjectCreatedActions

java.lang.Object
  extended by org.eclipse.cdt.managedbuilder.templateengine.ProjectCreatedActions

public class ProjectCreatedActions
extends java.lang.Object

This class is a helper for creating general CDT projects


Constructor Summary
ProjectCreatedActions()
           
 
Method Summary
 IManagedBuildInfo createProject(org.eclipse.core.runtime.IProgressMonitor monitor, java.lang.String indexerId, boolean isCProject)
          Utility method that Creates a CDT MBS project from an IProject Autoexpands the project in the C/C++ Projects view
 IConfiguration[] getConfigs()
           
 IConfiguration getNewConfiguration(IConfiguration original)
           
 java.util.Set getNewConfigurations(java.util.Collection originalConfigs)
           
 org.eclipse.core.resources.IProject getProject()
           
 org.eclipse.core.runtime.IPath getProjectLocation()
           
 void setArtifactExtension(java.lang.String artifactExtension)
           
 void setConfigs(IConfiguration[] configs)
           
 void setProject(org.eclipse.core.resources.IProject project)
           
 void setProjectLocation(org.eclipse.core.runtime.IPath projectLocation)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectCreatedActions

public ProjectCreatedActions()
Method Detail

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

Parameters:
project - the IProject to turn into a CDT MBS project
projType -
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