|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.ide.ModelElement | +--org.objectweb.jac.ide.Project
Constructor Summary | |
Project()
|
Method Summary | |
void |
addApplication(Application a)
|
void |
addClasspath(File path)
|
void |
addExternalFile(String name,
File file)
Add an external file to include in the JAR |
void |
addPackage(Package p)
|
void |
checkGenerationPath()
|
void |
cleanupModel()
Remove "dangling" Roles (whose start or end is null) |
Class |
findClass(String className)
Find a class by its full name (my.package.ClassName) |
Package |
findPackage(String pkgName)
Find a package by its full name (my.package.ClassName) |
Map |
getAllResources()
Returns all resources of all packages of the project. |
List |
getApplications()
Get the value of applications. |
Collection |
getClasses()
Returns all classes of all packages of the project. |
File |
getClassesDir()
Returns the directory where the .class files should be stored |
List |
getClasspath()
|
String |
getClasspathString()
|
File |
getCompilerCommand()
Get the value of compilerCommand. |
String |
getCompilerOptions()
|
Map |
getExternalFiles()
|
File |
getGenerationPath()
Get the value of generationPath. |
File |
getManifestDir()
|
Package |
getPackageByName(String packageName)
Gets a package with a given name |
List |
getPackages()
Get the value of packages. |
boolean |
getUseToolsJavac()
|
void |
removeApplication(Application a)
|
void |
removeClasspath(File path)
|
void |
removeExternalFile(String name)
|
void |
removePackage(Package p)
|
void |
setCompilerCommand(File v)
Set the value of compilerCommand. |
void |
setCompilerOptions(String options)
|
void |
setGenerationPath(File v)
Set the value of generationPath. |
void |
setUseToolsJavac(boolean value)
|
Methods inherited from class org.objectweb.jac.ide.ModelElement |
addConfigItem, addEndingLink, addLink, getConfigItems, getDescription, getEndingLinks, getFullName, getGenerationFullName, getGenerationName, getLinks, getName, getType, remove, removeEndingLink, removeLink, setDescription, setEndingLinks, setLinks, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Project()
Method Detail |
public void checkGenerationPath() throws org.objectweb.jac.ide.CannotGenerateException
org.objectweb.jac.ide.CannotGenerateException
public void setUseToolsJavac(boolean value)
public boolean getUseToolsJavac()
public File getCompilerCommand()
public void setCompilerCommand(File v)
v
- Value to assign to compilerCommand.public String getCompilerOptions()
public void setCompilerOptions(String options)
public File getGenerationPath()
public void setGenerationPath(File v)
v
- Value to assign to generationPath.public File getClassesDir()
public File getManifestDir()
public List getPackages()
public void addPackage(Package p)
public void removePackage(Package p)
public Package getPackageByName(String packageName)
packageName
- the requested package namepublic Package findPackage(String pkgName)
pkgName
- the package name to findpublic List getApplications()
public void addApplication(Application a)
public void removeApplication(Application a)
public List getClasspath()
public String getClasspathString()
public void addClasspath(File path)
public void removeClasspath(File path)
public Class findClass(String className)
className
- the class name to findpublic Collection getClasses()
public Map getAllResources()
public void addExternalFile(String name, File file)
name
- name of the file in the JARfile
- the file to includepublic void removeExternalFile(String name)
public Map getExternalFiles()
public void cleanupModel()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |