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

AntProjectListener (NetBeans Ant Project API) - NetBeans API Javadoc 5.0.0

 

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

All Superinterfaces:
EventListener

public interface AntProjectListener
extends EventListener

Listener for changes in Ant project metadata. Most changes are in-memory while the project is still modified, but changes may also be on disk.

Event methods are fired with read access to ProjectManager.mutex().


Method Summary
 void configurationXmlChanged(AntProjectEvent ev)
          Called when a change was made to an XML project configuration file.
 void propertiesChanged(AntProjectEvent ev)
          Called when a change was made to a properties file that might be shared with Ant.
 

Method Detail

configurationXmlChanged

public void configurationXmlChanged(AntProjectEvent ev)
Called when a change was made to an XML project configuration file.

Parameters:
ev - an event with details of the change

propertiesChanged

public void propertiesChanged(AntProjectEvent ev)
Called when a change was made to a properties file that might be shared with Ant.

Note: normally you would not use this event to detect property changes. Use the property change listener from PropertyEvaluator instead to find changes in the interpreted values of Ant properties, possibly coming from multiple properties files.

Parameters:
ev - an event with details of the change

 

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