|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| 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.library.LibraryAdapter
public abstract class LibraryAdapter
| Field Summary |
|---|
| Fields inherited from class oracle.javatools.data.HashStructureAdapter |
|---|
_hash |
| 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 | |
|---|---|
LibraryAdapter(HashStructure hash) |
|
| Method Summary | |
|---|---|
boolean |
equivalent(Library library)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() |
javax.swing.Icon |
getIcon()Returns an Icon that can be shown in association with this Displayable. |
java.lang.Object |
getID() |
java.lang.String |
getLongLabel()Returns a long label that can be displayed to the user. |
java.lang.String |
getName() |
java.lang.String |
getShortLabel()Returns a short label that can be displayed to the user. |
URLPath |
getSourcePath() |
java.lang.String |
getToolTipText()Returns the tool tip text to show when the mouse pointer pauses over a UI component that represents this Displayable. |
void |
initFromLibrary(Library library)Initialize all public properties, other than name, from the Library provided. |
boolean |
isLocked() |
void |
setClassPath(URLPath path) |
void |
setDefaultClassPath(URLPath path)Deprecated. use setClassPath(URLPath) |
void |
setDefaultDocPath(URLPath path)Deprecated. use setDocPath(URLPath) |
void |
setDefaultSourcePath(URLPath path)Deprecated. use setSourcePath(URLPath) |
void |
setDocPath(URLPath path) |
void |
setID(java.lang.Object id) |
void |
setLocked(boolean isLocked) |
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.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, wait, wait, wait |
| Constructor Detail |
|---|
public LibraryAdapter(HashStructure hash)
| Method Detail |
|---|
public URLPath getClassPath()
getClassPath in interface JPathspublic void setClassPath(URLPath path)
setClassPath in interface JPathspublic URLPath getSourcePath()
getSourcePath in interface JPathspublic void setSourcePath(URLPath path)
setSourcePath in interface JPathspublic URLPath getDocPath()
getDocPath in interface JPathspublic void setDocPath(URLPath path)
setDocPath in interface JPathspublic boolean isLocked()
isLocked in interface JPathspublic void setLocked(boolean isLocked)
setLocked in interface JPathspublic boolean equivalent(Library library)
Libraryequivalent in interface Librarylibrary - the Library against which to test for equivalence.public void initFromLibrary(Library library)
LibraryinitFromLibrary in interface Librarypublic java.lang.String getShortLabel()
DisplayableString is considered translatable and should therefore be placed in an appropriate resource file. When possible, the returned label should be reasonably short enough to show in the navigator or explorer windows but long enough to clearly identify and distinguish the Displayable.getShortLabel in interface DisplayableDisplayable that can be shown to the user.public java.lang.String getLongLabel()
DisplayableString is considered translatable and should therefore be placed in an appropriate resource file. The long label differs from the short label essentially on length. Usually the long label will only be shown on-demand and in places where horizontal space is more available. Examples are the status bar and tooltips.getLongLabel in interface DisplayableDisplayable that can be shown to the user.public javax.swing.Icon getIcon()
DisplayableIcon that can be shown in association with this Displayable. Typically the icon will be used in a tree control or list control. Therefore the icon must fit naturally within the space normally given to items within those controls. Such icons are usually 16x16 in size or, if there is a one-pixel transparent padding around the edge, 18x18 in size. It is strongly recommended that icons returned by this method be either 16x16 or 18x18 in size. If null is returned, the control may show a default icon, or it may show no icon, whichever is appropriate.getIcon in interface DisplayableIcon to be displayed for the Displayable.public java.lang.String getToolTipText()
DisplayableDisplayable. In many cases it may be appropriate for this method to return the same value as Displayable.getLongLabel().getToolTipText in interface DisplayableDisplayable.public java.lang.String toString()
DisplayabletoString 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 DisplayabletoString in class java.lang.ObjectObject.toString(), Displayable.getShortLabel()public java.lang.String getName()
getName in interface Librarypublic void setName(java.lang.String name)
setName in interface Librarypublic java.lang.Object getID()
getID in interface Librarypublic void setID(java.lang.Object id)
public URLPath getDefaultClassPath()
getDefaultClassPath in interface Librarypublic void setDefaultClassPath(URLPath path)
setDefaultClassPath in interface Librarypublic URLPath getDefaultSourcePath()
getDefaultSourcePath in interface Librarypublic void setDefaultSourcePath(URLPath path)
setDefaultSourcePath in interface Librarypublic URLPath getDefaultDocPath()
getDefaultDocPath in interface Librarypublic void setDefaultDocPath(URLPath path)
setDefaultDocPath in interface Library
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||