Skip navigation links
oracle.jdeveloper.model
Class PathsConfiguration
java.lang.Object
oracle.javatools.data.HashStructureAdapter
oracle.jdeveloper.model.PathsConfiguration
-
public class PathsConfiguration
- extends HashStructureAdapter
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 |
DATA_KEY
public static final java.lang.String DATA_KEY
JAVA_CONTENT_SET_LOCAL_KEY
public static final java.lang.String JAVA_CONTENT_SET_LOCAL_KEY
-
- See Also:
- Constant Field Values
JAVA_CONTENT_SET_KEY
public static final java.lang.String JAVA_CONTENT_SET_KEY
PROJECT_SOURCEPATH
public static final java.lang.String PROJECT_SOURCEPATH
-
- See Also:
- Constant Field Values
getInstance
public static PathsConfiguration getInstance(Project project)
- Retrieves an instance of
PathsConfiguration
for the specified project. The contents of the Project file will be used to initialize the state of this settings object.
-
- Parameters:
project
- the Project containing the settings
- Returns:
- a new PathsConfiguration instance for manipulating the settings
getInstance
public static PathsConfiguration getInstance(Project project,
PropertyStorage propertyData)
getJavaContentSet
public ContentSet getJavaContentSet()
getProjectSourcePath
public URLPath getProjectSourcePath()
-
- Returns:
- The user defined project source path. This path does not include the dependencies, libraries, nor any other source path. In general, the source path indicates where the files associated with this project can be found on a file system.
This delegates to getJavaContentSet()
.getAllRootDirs()
setProjectSourcePath
public boolean setProjectSourcePath(URLPath urlPath)
getSourcePath
public URLPath getSourcePath()
-
- Returns:
- The full project source path. This path includes the user defined source path, the source path of the projects this project depends on, the libraries source path, and the jdk source path.
getClassPath
public URLPath getClassPath()
getRunClassPath
public URLPath getRunClassPath()
getRunClassPath
public URLPath getRunClassPath(boolean onlyDeployLibs)
getDocPath
public URLPath getDocPath()
getURLForPackage
public static java.net.URL getURLForPackage(java.lang.String packageName,
Context context)
- Determines the appropriate directory URL for a given package name. If the directory already exists in a root of the content set then that directory is returned...unless there are multiple matches. If there are multiple matches or no matches, then ui is provided to let the user select the directory. If the project set in the context is dependent on other projects, those other projects will be searched for that package in their content sets as well.
-
- Parameters:
packageName
-
context
- the context to search in
getDependentProjects
public static Project[] getDependentProjects(Context context)
- This gets the list of dependent projects for the project in the context. The project in the context itself is removed from the list of dependents.
-
- Parameters:
context
-
- Returns:
getDependentProjects
public static Project[] getDependentProjects(Project deepestProject)
- This gets the list of dependent projects for the project in the context. The project in the context itself is removed from the list of dependents.
-
- Parameters:
deepestProject
-
- Returns:
Skip navigation links
Copyright © 1997, 2013, Oracle. All rights reserved.