KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > ruby > spi > project > support > rake > RakeProjectListener


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.ruby.spi.project.support.rake;
21
22 import java.util.EventListener JavaDoc;
23
24 /**
25  * Listener for changes in Ant project metadata.
26  * Most changes are in-memory while the project is still modified, but changes
27  * may also be on disk.
28  * <p>Event methods are fired with read access to
29  * {@link org.netbeans.api.project.ProjectManager#mutex}.
30  * @author Jesse Glick
31  */

32 public interface RakeProjectListener extends EventListener JavaDoc {
33
34     /**
35      * Called when a change was made to an XML project configuration file.
36      * @param ev an event with details of the change
37      */

38     void configurationXmlChanged(RakeProjectEvent ev);
39     
40     /**
41      * Called when a change was made to a properties file that might be shared with Ant.
42      * <p class="nonnormative">
43      * Note: normally you would not use this event to detect property changes.
44      * Use the property change listener from {@link PropertyEvaluator} instead to find
45      * changes in the interpreted values of Ant properties, possibly coming from multiple
46      * properties files.
47      * </p>
48      * @param ev an event with details of the change
49      */

50     void propertiesChanged(RakeProjectEvent ev);
51     
52 }
53
Popular Tags