/* * file: DefaultProjectListener.java * author: Jon Iles * copyright: (c) Packwood Software 2005 * date: Dec 13, 2005 */ /* * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software Foundation; either version 2.1 of the License, or (at your * option) any later version. * * This library 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 Lesser General Public * License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this library; if not, write to the Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ package net.sf.mpxj.listener; import net.sf.mpxj.ProjectCalendar; import net.sf.mpxj.Relation; import net.sf.mpxj.Resource; import net.sf.mpxj.ResourceAssignment; import net.sf.mpxj.Task; /** * This class is a default implementation of the ProjectListener interface. * This is designed to be subclassed by developers to allow them to implement * the event methods they require, without having to provide implementations for * other methods which they are not interested in. */ public class DefaultProjectListener implements ProjectListener { /** * {@inheritDoc} */ @Override public void taskRead(Task task) { // default implementation } /** * {@inheritDoc} */ @Override public void taskWritten(Task task) { // default implementation } /** * {@inheritDoc} */ @Override public void resourceRead(Resource resource) { // default implementation } /** * {@inheritDoc} */ @Override public void resourceWritten(Resource resource) { // default implementation } /** * {@inheritDoc} */ @Override public void calendarRead(ProjectCalendar calendar) { // default implementation } /** * {@inheritDoc} */ @Override public void calendarWritten(ProjectCalendar calendar) { // default implementation } /** * {@inheritDoc} */ @Override public void assignmentRead(ResourceAssignment assignment) { // default implementation } /** * {@inheritDoc} */ @Override public void assignmentWritten(ResourceAssignment assignment) { // default implementation } /** * {@inheritDoc} */ @Override public void relationRead(Relation relation) { // default implementation } /** * {@inheritDoc} */ @Override public void relationWritten(Relation relation) { // default implementation } }