Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.jdeveloper.library
Class JLibraryAdapter

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.jdeveloper.library.LibraryAdapter
          extended by oracle.jdeveloper.library.JLibraryAdapter

All Implemented Interfaces:
Displayable, JLibrary, JLibraryDefinition, JPaths, Library

public class JLibraryAdapter
extends LibraryAdapter
implements JLibrary

Encapsulates the notion of a Library as it is used within JDeveloper.


Field Summary

 

Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash

 

Fields inherited from interface oracle.jdeveloper.library.JLibrary
DEPLOYED_BY_DEFAULT_PROPERTY

 

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
JLibraryAdapter(HashStructure hash)
           

 

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.
 JLibraryDefinition getDefaultLibraryDefinition()
          Deprecated. JDK based versions desupported. Use JLibrary directly.
 java.lang.Boolean getDeployedByDefault()
           
 javax.swing.Icon getIcon()
          Returns an Icon that can be shown in association with this Displayable.
 JLibraryDefinition getLibraryDefinition(VersionNumber jdkVer)
          Deprecated. JDK based versions desupported. Use JLibrary directly.
 void initFromLibrary(Library lib)
          Initialize all public properties, other than name, from the Library provided.
 void setDeployedByDefault(java.lang.Boolean deploy)
           
 void setIcon(javax.swing.Icon icon)
           

 

Methods inherited from class oracle.jdeveloper.library.LibraryAdapter
getClassPath, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getDocPath, getID, getLongLabel, getName, getShortLabel, getSourcePath, getToolTipText, isLocked, setClassPath, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setDocPath, setID, setLocked, setName, setSourcePath, toString

 

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

 

Methods inherited from interface oracle.jdeveloper.library.Library
getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getID, getName, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setName

 

Methods inherited from interface oracle.jdeveloper.library.JPaths
getClassPath, getDocPath, getSourcePath, isLocked, setClassPath, setDocPath, setLocked, setSourcePath

 

Methods inherited from interface oracle.ide.model.Displayable
getLongLabel, getShortLabel, getToolTipText, toString

 

Constructor Detail

JLibraryAdapter

public JLibraryAdapter(HashStructure hash)

Method Detail

equivalent

public boolean equivalent(Library lib)
Description copied from interface: Library
Determine whether the given Library is equivalent to this one with respect to the values of its public properties other than name.
Specified by:
equivalent in interface Library
Overrides:
equivalent in class LibraryAdapter
Parameters:
lib - the Library against which to test for equivalence.
Returns:
true if all public properties are equal.

initFromLibrary

public void initFromLibrary(Library lib)
Description copied from interface: Library
Initialize all public properties, other than name, from the Library provided.
Specified by:
initFromLibrary in interface Library
Overrides:
initFromLibrary in class LibraryAdapter

setIcon

public void setIcon(javax.swing.Icon icon)

getIcon

public javax.swing.Icon getIcon()
Description copied from interface: Displayable
Returns an Icon 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.
Specified by:
getIcon in interface Displayable
Overrides:
getIcon in class LibraryAdapter
Returns:
the Icon to be displayed for the Displayable.

getDeployedByDefault

public java.lang.Boolean getDeployedByDefault()
                                       throws AttributeMarker
Specified by:
getDeployedByDefault in interface JLibrary
Throws:
AttributeMarker

setDeployedByDefault

public void setDeployedByDefault(java.lang.Boolean deploy)
Specified by:
setDeployedByDefault in interface JLibrary

getDefaultLibraryDefinition

public JLibraryDefinition getDefaultLibraryDefinition()
Deprecated. JDK based versions desupported. Use JLibrary directly.
Specified by:
getDefaultLibraryDefinition in interface JLibrary

getLibraryDefinition

public JLibraryDefinition getLibraryDefinition(VersionNumber jdkVer)
Deprecated. JDK based versions desupported. Use JLibrary directly.
Specified by:
getLibraryDefinition in interface JLibrary

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.