|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtj.core.library.manager.LibraryManager
public class LibraryManager
Library Manager responsible for supply the libraries available in MTJ.
| Method Summary | |
|---|---|
void |
addLibraryToMidletProject(IProject project,
String libName)
Adds a library to a MIDlet project. |
static LibraryManager |
getInstance()
Get the LibraryManager instance. |
ILibrary |
getMidletLibrary(String libName)
Gets corresponding library for the given name. |
String[] |
getMidletLibraryNames()
Returns the names of all defined MIDlet libraries. |
void |
removeLibraryFromMidletProject(IProject project,
String libName)
Removes a library from a MIDlet project. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LibraryManager getInstance()
public void addLibraryToMidletProject(IProject project,
String libName)
throws CoreException
project - target project.libName - target library name.
CoreException - If the project does not have a
org.eclipse.mtj.core.nature or if the specified library does
not exist in the library manager.public ILibrary getMidletLibrary(String libName)
libName - the library name
null if no such
library exists.public String[] getMidletLibraryNames()
public void removeLibraryFromMidletProject(IProject project,
String libName)
throws CoreException
project - target project.libName - target library name.
CoreException - If the project does not have a
org.eclipse.mtj.core.nature or if the specified library does
not exist in the library manager.
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||