|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.model.Node oracle.jdeveloper.library.LibraryDataNode oracle.jdeveloper.library.ExternalLibrary
public abstract class ExternalLibrary
Field Summary |
---|
Fields inherited from class oracle.ide.model.Node |
---|
LOG_READONLY |
Fields inherited from interface oracle.jdeveloper.library.Library |
---|
LIBRARY_ID_PROPERTY, LIBRARY_NAME_PROPERTY |
Fields inherited from interface oracle.jdeveloper.library.JPaths |
---|
CLASSPATH_PROPERTY, DOCPATH_PROPERTY, ISLOCKED_PROPERTY, SOURCEPATH_PROPERTY |
Constructor Summary | |
---|---|
ExternalLibrary()
Default constructor. |
|
ExternalLibrary(java.net.URL url)
|
Method Summary | |
---|---|
boolean |
equivalent(Library lib)
Determine whether the given Library is equivalent to this one with respect to the values of its public properties other than name. |
URLPath |
getClassPath()
|
URLPath |
getDefaultClassPath()
Deprecated. use getClassPath |
URLPath |
getDefaultDocPath()
Deprecated. use getDocPath |
URLPath |
getDefaultSourcePath()
Deprecated. use getSourcePath |
URLPath |
getDocPath()
|
protected abstract java.lang.String |
getExtension()
|
javax.swing.Icon |
getIcon()
Displayable interface method. |
java.lang.Object |
getID()
|
java.lang.String |
getName()
|
java.lang.String |
getShortLabel()
Displayable interface method. |
URLPath |
getSourcePath()
|
void |
initFromLibrary(Library lib)
Initialize all public properties, other than name, from the Library provided. |
boolean |
isLocked()
|
void |
setClassPath(URLPath path)
|
void |
setDefaultClassPath(URLPath clsPath)
Deprecated. use setClassPath |
void |
setDefaultDocPath(URLPath docPath)
Deprecated. use setDocPath |
void |
setDefaultSourcePath(URLPath srcPath)
Deprecated. use setSourcePath |
void |
setDocPath(URLPath path)
|
void |
setLocked(boolean locked)
|
void |
setName(java.lang.String name)
|
void |
setSourcePath(URLPath path)
|
java.lang.String |
toString()
Returns the Short Label displayed to a user. |
Methods inherited from class oracle.jdeveloper.library.LibraryDataNode |
---|
getObjectStoreTarget, getURL, newObjectStore, openImpl, saveImpl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.ide.model.Displayable |
---|
getLongLabel, getToolTipText |
Constructor Detail |
---|
public ExternalLibrary()
public ExternalLibrary(java.net.URL url)
Method Detail |
---|
protected abstract java.lang.String getExtension()
public URLPath getDefaultClassPath() throws TransientMarker
getDefaultClassPath
in interface Library
TransientMarker
public void setDefaultClassPath(URLPath clsPath)
setDefaultClassPath
in interface Library
public URLPath getDefaultSourcePath() throws TransientMarker
getDefaultSourcePath
in interface Library
TransientMarker
public void setDefaultSourcePath(URLPath srcPath)
setDefaultSourcePath
in interface Library
public URLPath getDefaultDocPath() throws TransientMarker
getDefaultDocPath
in interface Library
TransientMarker
public void setDefaultDocPath(URLPath docPath)
setDefaultDocPath
in interface Library
public URLPath getClassPath()
getClassPath
in interface JPaths
public void setClassPath(URLPath path)
setClassPath
in interface JPaths
public URLPath getSourcePath()
getSourcePath
in interface JPaths
public void setSourcePath(URLPath path)
setSourcePath
in interface JPaths
public URLPath getDocPath()
getDocPath
in interface JPaths
public void setDocPath(URLPath path)
setDocPath
in interface JPaths
public boolean isLocked()
isLocked
in interface JPaths
public void setLocked(boolean locked)
setLocked
in interface JPaths
public java.lang.String getName()
getName
in interface Library
public void setName(java.lang.String name)
setName
in interface Library
public java.lang.Object getID()
getID
in interface Library
public boolean equivalent(Library lib)
Library
equivalent
in interface Library
lib
- the Library against which to test for equivalence.
public void initFromLibrary(Library lib)
Library
initFromLibrary
in interface Library
public java.lang.String getShortLabel()
Node
Displayable
interface method. The Node class returns
the file name part of the currently set URL
. If the
currently set URL
is null
, then this method
returns "<null>".
getShortLabel
in interface Displayable
getShortLabel
in class Node
Displayable
that can be shown to the user.public javax.swing.Icon getIcon()
Node
Displayable
interface method. The Node class returns
a generic icon.
getIcon
in interface Displayable
getIcon
in class Node
Icon
to be displayed for the
Displayable
.public java.lang.String toString()
Displayable
toString
method in java.lang.Object
.
Implementors of the Displayable
interface should
override this as appropriate. The default implementation is
the same as getShortLabel
toString
in interface Displayable
toString
in class Node
Object.toString()
,
Displayable.getShortLabel()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |