|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.ide.model.Element javax.ide.model.Document javax.ide.model.Project
public final class Project
Project interface. Projects are documents encapsulating the user work. A project specifies the source path where the java source files are rooted, the class path used when compiling and running the project, the ouput path where compiled classes are saved.
Field Summary | |
---|---|
static java.lang.String |
PROJECT_ID
Constant identifying the project document type. |
static java.lang.String |
PROP_CLASS_PATH
Identifies the bound property 'classPath'. |
static java.lang.String |
PROP_OUTPUT_PATH
Identifies the bound property 'outputPath'. |
static java.lang.String |
PROP_SOURCE_PATH
Identifies the bound property 'sourcePath'. |
Constructor Summary | |
---|---|
Project()
|
Method Summary | |
---|---|
void |
addClassPath(URIPath path)
|
URIPath |
getClassPath()
Get the class path. |
JavaModel |
getJavaModel()
Get the JavaModel associated with this project. |
java.net.URI |
getOutputDirectory()
Get the URI where the output from compiling project sources is
located. |
java.util.prefs.Preferences |
getPreferences()
|
URIPath |
getSourcePath()
Get the source path. |
void |
setOutputDirectory(java.net.URI outputDirectory)
|
Methods inherited from class javax.ide.model.Document |
---|
addDocumentListener, close, equals, getDisplayInfo, getElementImpl, getReader, getTimestamp, getURI, hashCode, isDirty, isNew, isOpen, isReadOnly, markDirty, open, removeDocumentListener, save, setDisplayInfo, setURI |
Methods inherited from class javax.ide.model.Element |
---|
getIcon, getLabel, getLongLabel, getToolTip |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROJECT_ID
public static final java.lang.String PROP_SOURCE_PATH
public static final java.lang.String PROP_CLASS_PATH
public static final java.lang.String PROP_OUTPUT_PATH
Constructor Detail |
---|
public Project()
Method Detail |
---|
public URIPath getSourcePath()
URIPath
pointing to where the contents of this project
can be located.public URIPath getClassPath()
URIPath
pointing to where compiled classes used by this
project are located.public void setOutputDirectory(java.net.URI outputDirectory)
public java.util.prefs.Preferences getPreferences()
public JavaModel getJavaModel()
JavaModel
associated with this project.
JavaModel
associated with this project.public void addClassPath(URIPath path)
public java.net.URI getOutputDirectory()
URI
where the output from compiling project sources is
located.
URI
where the project class files are located.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |