org.eclipse.ohf.stem.jobs.simulation
Class SimulationManagerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.ohf.stem.jobs.simulation.SimulationManagerEvent
All Implemented Interfaces:
java.io.Serializable

public class SimulationManagerEvent
extends java.util.EventObject

This class represents an event that has occured in the operation of the SimulationManager

See Also:
SimulationManager, ISimulationManagerListener, Serialized Form

Constructor Summary
SimulationManagerEvent(SimulationManager source, ISimulation[] simulationsAdded, ISimulation[] simulationsRemoved)
           
 
Method Summary
 ISimulation[] getSimulationsAdded()
           
 ISimulation[] getSimulationsRemoved()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimulationManagerEvent

public SimulationManagerEvent(SimulationManager source,
                              ISimulation[] simulationsAdded,
                              ISimulation[] simulationsRemoved)
Parameters:
source - the source of the event
simulationsAdded - the collection of Simulations added to the manager
simulationsRemoved - the collection of Simulations removed from the manager
Method Detail

getSimulationsAdded

public final ISimulation[] getSimulationsAdded()
Returns:
the simulationsAdded

getSimulationsRemoved

public final ISimulation[] getSimulationsRemoved()
Returns:
the simulationsRemoved

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject
See Also:
EventObject.toString()