|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openoffice.ide.eclipse.core.model.ProjectsManager
public class ProjectsManager
Singleton mapping the UNO-IDL projects to their name to provide an easy access to UNO-IDL projects.
Constructor Summary | |
---|---|
ProjectsManager()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectsManager()
Method Detail |
---|
public static void dispose()
public static IUnoidlProject getProject(java.lang.String pName)
null
is returned
pName
- the name of the project to find
public 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |