public class ProjectsManager
extends java.lang.Object
| Constructor and Description |
|---|
ProjectsManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addProject(org.eclipse.core.resources.IProject pProject)
Add a project that isn't already loaded.
|
static void |
addProject(IUnoidlProject pProject)
Adds a project to the manager only if there is no other project with the same name.
|
static void |
dispose()
This method will release all the stored project references.
|
static IUnoidlProject |
getProject(java.lang.String pName)
Returns the unoidl project with the given name, if it exists.
|
static IUnoidlProject[] |
getProjects() |
static void |
load()
Private constructor for the singleton.
|
static void |
removeProject(java.lang.String pName)
Removes a project from the manager.
|
public static void dispose()
public static IUnoidlProject getProject(java.lang.String pName)
null is returnedpName - the name of the project to findpublic static void addProject(org.eclipse.core.resources.IProject pProject)
pProject - the project to load and addpublic static void addProject(IUnoidlProject pProject)
pProject - the project to addpublic static void removeProject(java.lang.String pName)
pName - the name of the project to removepublic static IUnoidlProject[] getProjects()
public static void load()