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

PropertyProvider (NetBeans Ant Project API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.spi.project.support.ant
Interface PropertyProvider


public interface PropertyProvider

Provides a set of Ant property definitions that might be evaluated in some context.

This interface defines no independent thread safety, but in typical usage it will be used with the project manager mutex. Changes should be fired synchronously.


Method Summary
 void addChangeListener(ChangeListener l)
          Add a change listener.
 Map getProperties()
          Get all defined properties.
 void removeChangeListener(ChangeListener l)
          Remove a change listener.
 

Method Detail

getProperties

public Map getProperties()
Get all defined properties. The values might contain Ant-style property references.

Returns:
all properties defined in this block

addChangeListener

public void addChangeListener(ChangeListener l)
Add a change listener. When the set of available properties, or some of the values, change, this listener should be notified.

Parameters:
l - a listener to add

removeChangeListener

public void removeChangeListener(ChangeListener l)
Remove a change listener.

Parameters:
l - a listener to remove

 

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