|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.model.JProjectUtil
| Field Summary | |
static java.lang.String |
PROP_PACKAGE_COUNTER
|
| Method Summary | |
static void |
addLibraries(JProject proj,
java.lang.String[] libraries)
Adds the specified libraries to a project, and fires PropertyChangeEvents if the project's classpath, sourcepath, or docpath changed. |
static Node |
createNodeInProject(JProject project,
java.net.URL url)
Deprecated. Use NodeFactory.create |
static java.net.URL |
getProjectBasePath(JProject project)
Retrieves the URL that denotes the base path that should be used when creating new source files. |
static java.net.URL |
toCommitURL(java.lang.String path,
java.net.URL defWspDir,
java.net.URL defaultValue)
If defWspDir is not null this method builds an absolute
path using defWspDir as the base directory. |
static java.lang.String |
toDisplayPath(URLPath paths,
java.net.URL defWspDir)
If defWspDir is not null this method returns the first
paths relative defWspDir. |
static java.lang.String |
toDisplayPath(java.net.URL path,
java.net.URL defWspDir)
If defWspDir is not null this method returns
path relative defWspDir. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String PROP_PACKAGE_COUNTER
| Method Detail |
public static Node createNodeInProject(JProject project,
java.net.URL url)
project - the Project where the new
Node should be added.
public static java.net.URL getProjectBasePath(JProject project)
project - the project whose base path is required.
public static java.net.URL toCommitURL(java.lang.String path,
java.net.URL defWspDir,
java.net.URL defaultValue)
defWspDir is not null this method builds an absolute
path using defWspDir as the base directory. Otherwise,
it converts path into an URL and returns it.
public static java.lang.String toDisplayPath(URLPath paths,
java.net.URL defWspDir)
defWspDir is not null this method returns the first
paths relative defWspDir. Otherwise,
it returns the platform independent representation of the
paths URL.
public static java.lang.String toDisplayPath(java.net.URL path,
java.net.URL defWspDir)
defWspDir is not null this method returns
path relative defWspDir. Otherwise,
it returns the platform independent representation of the
path URL.
public static void addLibraries(JProject proj,
java.lang.String[] libraries)
|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©1997, 2003, Oracle. All rights reserved.