|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.data.HashStructureAdapter
oracle.jdeveloper.model.JavaProject
public final class JavaProject
Field Summary | |
---|---|
static java.lang.String |
CLASSPATH_PROPERTY |
static java.lang.String |
DEFAULT_PACKAGE |
static java.lang.String |
DOCPATH_PROPERTY |
static java.lang.String |
EXT |
static java.lang.String |
OUTPUT_DIRECTORY |
static java.lang.String |
OUTPUT_DIRECTORY_LOCAL_KEY |
static java.lang.String |
PROJECT_SOURCEPATH_PROPERTY |
static java.lang.String |
SOURCEPATH_PROPERTY |
Fields inherited from class oracle.javatools.data.HashStructureAdapter |
---|
_hash |
Method Summary | |
---|---|
void |
addToProject(java.util.Collection elements, boolean askToAdd) Adds the collection of elements to the project. |
void |
addToProjectSourcePath(JavaSourceNode node) |
static java.lang.String |
generateDefaultPackageName(Project project) Returns a valid package name based on the project name. |
static java.lang.String |
generateDefaultPackageName(java.lang.String projectName) Returns a valid package name based on the project name. |
java.lang.String |
getDefaultPackage() Gets the user-specified default package name. |
static JavaProject |
getInstance(Project project) |
static JavaProject |
getInstance(Project project, HashStructure hash) |
java.lang.String |
getMostRecentPackage() Gets the name of the last-used package. |
java.net.URL |
getOutputDirectory() |
ListStructure |
getRecentPackages() Gets the list of most-recently used packages. |
void |
setMostRecentPackage(java.lang.String mostRecentPackage) Sets the name of the last-used package. |
void |
setOutputDirectory(java.net.URL outputDirectory) |
void |
setRecentPackages(java.util.List pkgs) Sets the list of most-recently used packages. |
Methods inherited from class oracle.javatools.data.HashStructureAdapter |
---|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EXT
public static final java.lang.String SOURCEPATH_PROPERTY
public static final java.lang.String CLASSPATH_PROPERTY
public static final java.lang.String PROJECT_SOURCEPATH_PROPERTY
public static final java.lang.String DOCPATH_PROPERTY
public static final java.lang.String OUTPUT_DIRECTORY_LOCAL_KEY
public static final java.lang.String OUTPUT_DIRECTORY
public static final java.lang.String DEFAULT_PACKAGE
Method Detail |
---|
public static JavaProject getInstance(Project project)
public static JavaProject getInstance(Project project, HashStructure hash)
public java.net.URL getOutputDirectory()
public void setOutputDirectory(java.net.URL outputDirectory)
public java.lang.String getDefaultPackage()
getMostRecentPackage()
, setMostRecentPackage(java.lang.String)
public static java.lang.String generateDefaultPackageName(Project project)
project
- the project to use to generate the package namepublic static java.lang.String generateDefaultPackageName(java.lang.String projectName)
projectName
- a project namepublic java.lang.String getMostRecentPackage()
public void setMostRecentPackage(java.lang.String mostRecentPackage)
mostRecentPackage
- the name of the last-used packagepublic ListStructure getRecentPackages()
public void setRecentPackages(java.util.List pkgs)
pkgs
- a list of package namespublic void addToProjectSourcePath(JavaSourceNode node)
public void addToProject(java.util.Collection elements, boolean askToAdd)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |