|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.jdeveloper.model.JProjectUtil
| Method Summary | |
static void |
addLibraries(Project proj,
java.lang.Object[] libraries)
Adds the specified libraries to a project, and fires PropertyChangeEvents if the project's classpath, sourcepath, or docpath changed. |
static void |
execturePathChange(Project project,
java.lang.Runnable runnable)
Deprecated. Use project.applyBatchChanges Executes a runnable and sends property path changed events. Example Usage:
Runnable changePathRunnable = new Runnable()
{
project.addLibrary(...);
project.setOutputDirectory(...);
};
JProjectUtil.execturePathChange(changePathRunnable);
|
static java.net.URL |
getProjectBasePath(Project project)
Retrieves the URL that denotes the base path that should be used when creating new source files. |
static void |
removeLibraries(Project proj,
java.lang.Object[] libraries)
Removes the specified libraries from a project, and fires PropertyChangeEvents if the project's classpath, sourcepath, or docpath changed. |
static void |
setOutputDirectory(Project project,
java.net.URL outputDirectory)
Sets the location for a project's generated class files. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.net.URL getProjectBasePath(Project project)
project - the project whose base path is required.
public static void addLibraries(Project proj,
java.lang.Object[] libraries)
public static void removeLibraries(Project proj,
java.lang.Object[] libraries)
public static void setOutputDirectory(Project project,
java.net.URL outputDirectory)
project - the projectoutputDirectory - the output path URL
public static void execturePathChange(Project project,
java.lang.Runnable runnable)
Runnable changePathRunnable = new Runnable()
{
project.addLibrary(...);
project.setOutputDirectory(...);
};
JProjectUtil.execturePathChange(changePathRunnable);
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.