001/*
002 * Copyright (c) 2005 Jens Schou, Staffan Gustafsson, Bjorn Lanneskog, 
003 * Einar Pehrson and Sebastian Kekkonen
004 *
005 * This file is part of
006 * CleanSheets Extension for Test Cases
007 *
008 * CleanSheets Extension for Test Cases is free software; you can
009 * redistribute it and/or modify it under the terms of the GNU General Public
010 * License as published by the Free Software Foundation; either version 2 of
011 * the License, or (at your option) any later version.
012 *
013 * CleanSheets Extension for Test Cases is distributed in the hope that
014 * it will be useful, but WITHOUT ANY WARRANTY; without even the implied
015 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
016 * See the GNU General Public License for more details.
017 *
018 * You should have received a copy of the GNU General Public License
019 * along with CleanSheets Extension for Test Cases; if not, write to the
020 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
021 * Boston, MA  02111-1307  USA
022 */
023package csheets.ext.test;
024
025import java.util.EventListener;
026
027/**
028 * A listener interface for receiving notification on events occurring in a
029 * testable cell.
030 * @author Einar Pehrson
031 */
032public interface TestableCellListener extends EventListener {
033
034        /**
035         * Invoked when a test case is added to or removed from a cell, or when
036         * the validation state of a test case is changed.
037         * @param cell the cell that was modified
038         */
039        public void testCasesChanged(TestableCell cell);
040
041        /**
042         * Invoked when a test case parameter is added to or removed from a cell.
043         * @param cell the cell that was modified
044         */
045        public void testCaseParametersChanged(TestableCell cell);
046}