001    /**
002     * planningtool - A Planning Tool with Critiquing Support.
003     * 
004     * Copyright (C) 2006 olale
005    
006     * This program is free software; you can redistribute it and/or
007     * modify it under the terms of the GNU General Public License
008     * as published by the Free Software Foundation; either version 2
009     * of the License, or (at your option) any later version.
010    
011     * This program is distributed in the hope that it will be useful,
012     * but WITHOUT ANY WARRANTY; without even the implied warranty of
013     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
014     * GNU General Public License for more details.
015    
016     * You should have received a copy of the GNU General Public License
017     * along with this program; if not, write to the Free Software
018     * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
019    
020     * Contact information: 
021     * E-mail: olale@ida.liu.se
022     *         olale@lysator.liu.se
023     */
024    package se.liu.ida.critiquer.activities;
025    
026    import se.liu.ida.critiquer.activities.parameters.Parameter;
027    
028    
029    /**
030     * Use this class to listen for parameter value changes
031     */
032    
033    public abstract class AbstractParamChangedListener implements
034                    ActivityUpdateListener {
035    
036            public void activityUpdated(Activity activity) {
037                    // Ignore
038            }
039    
040            /** (non-Javadoc)
041             * @see se.liu.ida.critiquer.activities.ActivityUpdateListener#activityRemoved(se.liu.ida.critiquer.activities.Activity)
042             */
043            public void activityRemoved(Activity activity) {
044                    // Ignore
045            }
046    
047    
048    
049            public void activityCreated(Activity activity) {
050                    // Ignore
051            }
052    
053            public <T> void paramAdded(Activity activity, Parameter<T> p) {
054                    // Ignore
055            }
056    
057            public abstract <T> void paramChanged(Activity activity, Parameter<T> p);
058    
059    }