View Javadoc

    1   /*
    2    * @(#) DSOLApplicationInterface.java Oct 24, 2003
    3    *
    4    * Copyright (c) 2002-2005 Delft University of Technology Jaffalaan 5, 2628 BX
    5    * Delft, the Netherlands. All rights reserved.
    6    *
    7    * This software is proprietary information of Delft University of Technology
    8    * The code is published under the Lesser General Public License
    9    */
    10  package nl.tudelft.simulation.dsol.gui;
    11
    12  import java.util.Properties;
    13
    14  import nl.tudelft.simulation.dsol.experiment.Experiment;
    15  import nl.tudelft.simulation.event.EventProducerInterface;
    16  import nl.tudelft.simulation.event.EventType;
    17
    18  /***
    19   * The DSOL Application <br>
    20   * (c) copyright 2002-2005 <a href="http://www.simulation.tudelft.nl">Delft
    21   * University of Technology </a>, the Netherlands. <br>
    22   * See for project information <a
    23   * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
    24   * License of use: <a href="http://www.gnu.org/copyleft/lesser.html">Lesser
    25   * General Public License (LGPL) </a>, no warranty.
    26   *
    27   * @version $Revision$ $Date$
    28   * @author <a href="http://www.simulation.tudelft.nl/people/alexandv.html">
    29   *         Alexander Verbraeck </a>
    30   */
    31  public interface DSOLApplicationInterface extends EventProducerInterface
    32  {
    33  	/*** EXPERIMENT_CHANGED_EVENT is fired whenever the experiment is changed */
    34  	EventType EXPERIMENT_CHANGED_EVENT = new EventType(
    35  			"EXPERIMENT_CHANGED_EVENT");
    36
    37  	/***
    38  	 * returns the experiment
    39  	 *
    40  	 * @return Experiment
    41  	 */
    42  	Experiment getExperiment();
    43
    44  	/***
    45  	 * sets the experiment
    46  	 *
    47  	 * @param experiment the experiment
    48  	 */
    49  	void setExperiment(final Experiment experiment);
    50
    51  	/***
    52  	 * returns the properties
    53  	 *
    54  	 * @return Properties
    55  	 */
    56  	Properties getProperties();
    57  }