Extension SDK

oracle.jdeveloper.library
Interface LibraryList

All Superinterfaces:
Copyable, Data, Dirtyable, Displayable, Element, Folder, Subject
All Known Implementing Classes:
DefaultLibraryList, JLibraryList

public interface LibraryList
extends Folder, Copyable, Subject, Dirtyable

The LibraryList interface represents a list of library and J2SE definitions. The libraries and J2se definitions are tracked separately. The lists of each type can be retrieved, as well as individual items.

Since:
9.0.3

Field Summary
 
Fields inherited from interface oracle.ide.addin.Subject
OBJECT_MODIFIED
 
Method Summary
 JDK findJDK(java.lang.String jdkName)
          Finds the J2SE definition that matches the specified name.
 JDK findJDK(VersionNumber verNum)
          Finds the J2SE definition that matches the specified version number.
 JLibrary findLibrary(java.lang.String libName)
          Finds the library that matches the specified name.
 java.lang.String findUniqueJDKName()
          Determines a unique name that can be used for a new J2SE definition.
 java.lang.String findUniqueLibraryName()
          Determines a unique name that can be used for a new library.
 java.util.List getJdkList()
          Retrieves the list of J2SE definitions contained in this LibraryList.
 java.util.List getLibraryList()
          Retrieves the list of Libraries contained in this LibraryList.
 java.lang.String getListName()
          Retrieves the name of this LibraryList.
 boolean isChildJDK(JDK jdk)
          Determines whether the specified J2SE definition is a child of this LibraryList.
 boolean isChildLibrary(JLibrary lib)
          Determines whether the specified Library is a child of this LibraryList.
 boolean isTransient()
          Whether this list is transient (not-persistent).
 
Methods inherited from interface oracle.ide.model.Folder
add, canAdd, canRemove, containsChild, remove, removeAll, size
 
Methods inherited from interface oracle.ide.model.Element
getAttributes, getChildren, mayHaveChildren
 
Methods inherited from interface oracle.ide.model.Data
getData
 
Methods inherited from interface oracle.ide.model.Displayable
getIcon, getLongLabel, getShortLabel, getToolTipText, toString
 
Methods inherited from interface oracle.ide.util.Copyable
copyTo
 
Methods inherited from interface oracle.ide.addin.Subject
attach, detach, notifyObservers
 
Methods inherited from interface oracle.ide.model.Dirtyable
isDirty, markDirty
 

Method Detail

findJDK

public JDK findJDK(java.lang.String jdkName)
Finds the J2SE definition that matches the specified name.

Parameters:
jdkName - the name of the J2SE definition
Returns:
the JDK representing the J2SE definition.

findJDK

public JDK findJDK(VersionNumber verNum)
Finds the J2SE definition that matches the specified version number.

Parameters:
verNum - the VersionNumber of the desired J2SE defintion.
Returns:
the JDK representing the J2SE definition.

findLibrary

public JLibrary findLibrary(java.lang.String libName)
Finds the library that matches the specified name.


findUniqueJDKName

public java.lang.String findUniqueJDKName()
Determines a unique name that can be used for a new J2SE definition.


findUniqueLibraryName

public java.lang.String findUniqueLibraryName()
Determines a unique name that can be used for a new library.


getJdkList

public java.util.List getJdkList()
Retrieves the list of J2SE definitions contained in this LibraryList.


getLibraryList

public java.util.List getLibraryList()
Retrieves the list of Libraries contained in this LibraryList.


getListName

public java.lang.String getListName()
Retrieves the name of this LibraryList.


isChildJDK

public boolean isChildJDK(JDK jdk)
Determines whether the specified J2SE definition is a child of this LibraryList.


isChildLibrary

public boolean isChildLibrary(JLibrary lib)
Determines whether the specified Library is a child of this LibraryList.


isTransient

public boolean isTransient()
Whether this list is transient (not-persistent). Transient lists cannot have new children created by the user


Extension SDK

 

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