|
Carbide.c++ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPlugin
com.nokia.carbide.cpp.project.core.ProjectCorePlugin
public class ProjectCorePlugin
The activator class controls the plug-in life cycle
Field Summary | |
---|---|
static java.lang.String |
CARBIDE_PROJECT_ID
|
static java.lang.String |
PLUGIN_ID
|
Constructor Summary | |
---|---|
ProjectCorePlugin()
The constructor |
Method Summary | |
---|---|
static IProject |
createProject(java.lang.String name,
java.lang.String location)
Creates an Eclipse project with the given name and location. |
static ProjectCorePlugin |
getDefault()
Returns the shared instance |
static java.lang.String |
getUniqueId()
Gets the unique id for this plugin |
static void |
log(IStatus status)
|
static ICProject |
postProjectCreatedActions(IProject project,
java.lang.String projectRelativeBldInfPath,
java.util.List<ISymbianBuildContext> buildConfigs,
java.util.List<java.lang.String> infComponentsList,
java.lang.String debugMMP,
java.util.Map<ISymbianBuildContext,java.lang.String> pkgMappings,
IProgressMonitor monitor)
Takes a plain Eclipse project and turns it into a Carbide.c++ project. |
void |
start(BundleContext context)
|
void |
stop(BundleContext context)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PLUGIN_ID
public static final java.lang.String CARBIDE_PROJECT_ID
Constructor Detail |
---|
public ProjectCorePlugin()
Method Detail |
---|
public void start(BundleContext context) throws java.lang.Exception
java.lang.Exception
public void stop(BundleContext context) throws java.lang.Exception
java.lang.Exception
public static ProjectCorePlugin getDefault()
public static java.lang.String getUniqueId()
public static IProject createProject(java.lang.String name, java.lang.String location) throws CoreException
This method is intended to be used to create a project prior to adding folders/files and setting up Carbide build settings.
name
- the name of the project to createlocation
- the full file system path where the .project file should be created. pass null to use the default location.
CoreException
public static ICProject postProjectCreatedActions(IProject project, java.lang.String projectRelativeBldInfPath, java.util.List<ISymbianBuildContext> buildConfigs, java.util.List<java.lang.String> infComponentsList, java.lang.String debugMMP, java.util.Map<ISymbianBuildContext,java.lang.String> pkgMappings, IProgressMonitor monitor) throws CoreException
This method is intended to be called after creating a project using createProject(String, String)
and adding all folders and files to it. It sets up the project so it has the Carbide.c++ build nature and sets up all of
the project settings for it.
project
- the project handle returned from createProject(String, String)
projectRelativeBldInfPath
- the project relative path to the bld.inf filebuildConfigs
- the list of ISymbianBuildContext's to be used as build configs for the project. can be empty but not null.infComponentsList
- the list of mmp/makes files if a subset is to be built, otherwise an empty list (not null) if the entire bld.inf should be built.debugMMP
- not used since 1.3pkgMappings
- is the MapISISBuilderInfo.setPKGFile(String)
monitor
- progress monitor for this operation.
CoreException
public static void log(IStatus status)
|
Carbide.c++ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |