Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


javax.ide.model
Class Project

java.lang.Object
  extended by javax.ide.model.Element
      extended by javax.ide.model.Document
          extended by javax.ide.model.Project


public final class Project
extends Document

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

PROJECT_ID

public static final java.lang.String PROJECT_ID
Constant identifying the project document type.
See Also:
Constant Field Values

PROP_SOURCE_PATH

public static final java.lang.String PROP_SOURCE_PATH
Identifies the bound property 'sourcePath'.
See Also:
Constant Field Values

PROP_CLASS_PATH

public static final java.lang.String PROP_CLASS_PATH
Identifies the bound property 'classPath'.
See Also:
Constant Field Values

PROP_OUTPUT_PATH

public static final java.lang.String PROP_OUTPUT_PATH
Identifies the bound property 'outputPath'.
See Also:
Constant Field Values

Constructor Detail

Project

public Project()

Method Detail

getSourcePath

public URIPath getSourcePath()
Get the source path. The source path where the contents of this project can be found.
Returns:
A URIPath pointing to where the contents of this project can be located.

getClassPath

public URIPath getClassPath()
Get the class path. The class path points to where the compiled classes used by this project can be found.
Returns:
A URIPath pointing to where compiled classes used by this project are located.

setOutputDirectory

public void setOutputDirectory(java.net.URI outputDirectory)

getPreferences

public java.util.prefs.Preferences getPreferences()

getJavaModel

public JavaModel getJavaModel()
Get the JavaModel associated with this project.
Returns:
The JavaModel associated with this project.

addClassPath

public void addClassPath(URIPath path)

getOutputDirectory

public java.net.URI getOutputDirectory()
Get the URI where the output from compiling project sources is located.
Returns:
The URI where the project class files are located.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.