org.netbeans.modules.project.libraries/1 1.29.1

org.netbeans.spi.project.libraries
Class LibraryCustomizerContext

java.lang.Object
  extended by org.netbeans.spi.project.libraries.LibraryCustomizerContext

public class LibraryCustomizerContext
extends Object

Context class which is passed to library customizer (via JComponent.setObject). Do not extend or instantiate this class directly.

Since:
org.netbeans.modules.project.libraries/1 1.18

Constructor Summary
LibraryCustomizerContext(LibraryImplementation libraryImplementation, LibraryStorageArea libraryStorageArea)
           
 
Method Summary
 LibraryImplementation getLibraryImplementation()
          Library implementation to be customized.
 LibraryImplementation2 getLibraryImplementation2()
          Returns LibraryImplementation2 or null if underlying library implementation does not implement it.
 LibraryStorageArea getLibraryStorageArea()
          Area of library being customized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryCustomizerContext

public LibraryCustomizerContext(LibraryImplementation libraryImplementation,
                                LibraryStorageArea libraryStorageArea)
Method Detail

getLibraryImplementation

public LibraryImplementation getLibraryImplementation()
Library implementation to be customized.

Returns:
always non-null

getLibraryImplementation2

public LibraryImplementation2 getLibraryImplementation2()
Returns LibraryImplementation2 or null if underlying library implementation does not implement it.

Returns:
can be null

getLibraryStorageArea

public LibraryStorageArea getLibraryStorageArea()
Area of library being customized.

Returns:
can be null for global library

org.netbeans.modules.project.libraries/1 1.29.1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.