站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

LibraryProvider (NetBeans Project Libraries API) - NetBeans API Javadoc 5.0.0

 

org.netbeans.spi.project.libraries
Interface LibraryProvider


public interface LibraryProvider

Provider interface for implementing the read only library storage. Library storage is a source of libraries used by LibraryManager. LibraryManager allows existence of multiple LibraryProviders registered in the default lookup.


Field Summary
static String PROP_LIBRARIES
          Name of libraries property
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Adds property change listener, the listener is notified when the libraries changed
 LibraryImplementation[] getLibraries()
          Returns libraries provided by the implemented provider.
 void removePropertyChangeListener(PropertyChangeListener listener)
          Removes property change listener
 

Field Detail

PROP_LIBRARIES

public static final String PROP_LIBRARIES
Name of libraries property

See Also:
Constant Field Values
Method Detail

getLibraries

public LibraryImplementation[] getLibraries()
Returns libraries provided by the implemented provider.

Returns:
LibraryImplementation[] never return null, may return empty array.

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Adds property change listener, the listener is notified when the libraries changed

Parameters:
listener -

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Removes property change listener

Parameters:
listener -

 

Built on May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.