View Javadoc

1   /*
2    * jcurl java curling software framework https://JCurl.mro.name Copyright (C)
3    * 2005-2009 M. Rohrmoser
4    * 
5    * This program is free software; you can redistribute it and/or modify it under
6    * the terms of the GNU General Public License as published by the Free Software
7    * Foundation; either version 2 of the License, or (at your option) any later
8    * version.
9    * 
10   * This program is distributed in the hope that it will be useful, but WITHOUT
11   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12   * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13   * details.
14   * 
15   * You should have received a copy of the GNU General Public License along with
16   * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
17   * Place, Suite 330, Boston, MA 02111-1307 USA
18   */
19  
20  package org.jcurl.demo.tactics;
21  
22  import org.jcurl.core.ui.ChangeManager;
23  
24  /**
25   * Indicate the existence of a {@link ChangeManager} property.
26   * 
27   * @author <a href="mailto:JCurl@mro.name">M. Rohrmoser </a>
28   * @version $Id$
29   */
30  public interface HasChanger {
31  
32  	/**
33  	 * Must never return <code>null</code> but
34  	 * {@link ChangeManager#getTrivial(ChangeManager)} instead.
35  	 */
36  	ChangeManager getChanger();
37  
38  	/**
39  	 * 
40  	 * @param changer
41  	 *            may be <code>null</code>.
42  	 */
43  	void setChanger(final ChangeManager changer);
44  
45  }