/plugins/ProjectViewer/tags/pv_2_1_3_4/projectviewer/event/ProjectListener.java
# · Java · 74 lines · 9 code · 9 blank · 56 comment · 0 complexity · c6d4be989382e64ee62acc7ee861c3fd MD5 · raw file
- /*
- * :tabSize=4:indentSize=4:noTabs=false:
- * :folding=explicit:collapseFolds=1:
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
- package projectviewer.event;
- import java.util.EventListener;
- /**
- * A project listener.
- *
- * @author Marcelo Vanzin
- * @version $Id: ProjectListener.java 6276 2004-08-26 05:20:00Z vanza $
- */
- public interface ProjectListener extends EventListener {
- /**
- * Method called when a single file has been added to a project. The event
- * object will contain a reference to the file, returned by the
- * {@link ProjectEvent#getAddedFile() getAddedFile()} method.
- *
- * @param pe The project event.
- */
- public void fileAdded(ProjectEvent pe);
- /**
- * Method called when several files have been added to a project. The event
- * object will contain the list of files, returned by the
- * {@link ProjectEvent#getAddedFiles() getAddedFiles()} method.
- *
- * @param pe The project event.
- */
- public void filesAdded(ProjectEvent pe);
- /**
- * Method called when a single file has been removed from a project.
- *
- * @param pe The project event.
- */
- public void fileRemoved(ProjectEvent pe);
- /**
- * Method called when more than one file have been removed from a project.
- *
- * @param pe The project event.
- */
- public void filesRemoved(ProjectEvent pe);
- /**
- * Method called when project properties (such as name and root) have
- * changed. Properties may actually not have changed at all - this event
- * will be fired whenever the user opens the "Project Options" dialog and
- * clicks "OK".
- *
- * @param pe The project event.
- */
- public void propertiesChanged(ProjectEvent pe);
- }