Package fr.ifremer.isisfish
Class IsisTray
java.lang.Object
fr.ifremer.isisfish.IsisTray
- All Implemented Interfaces:
SimulationServiceListener
,PropertyChangeListener
,EventListener
public abstract class IsisTray
extends Object
implements SimulationServiceListener, PropertyChangeListener
Isis tray icon implementation.
Created: 6 janv. 07 13:52:25
- Version:
- $Revision$ Last update: $Date$ by : $Author$
- Author:
- poussin
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearJobDone
(SimulationService simService) Previent que le simulation service a vide ca liste de simulation faites.static IsisTray
Factory method to get instance.void
abstract void
Change image.abstract void
setToolTip
(String text) Change tooltip.void
simulationStart
(SimulationService simService, SimulationJob job) Notify start of simulation.void
simulationStop
(SimulationService simService, SimulationJob job) Notify end of simulation.
-
Field Details
-
log
protected static final org.apache.commons.logging.Log logto use log facility, just put in your code: log.info(\"...\"); -
TRAY_IMAGE_STOP
Non running icon. -
TRAY_IMAGE_START
Running icon.
-
-
Constructor Details
-
IsisTray
public IsisTray()
-
-
Method Details
-
setImage
Change image.- Parameters:
image
- new image
-
setToolTip
Change tooltip.- Parameters:
text
- new tooltip
-
getInstance
Factory method to get instance.- Returns:
- tray implementation
- See Also:
-
simulationStart
Description copied from interface:SimulationServiceListener
Notify start of simulation.- Specified by:
simulationStart
in interfaceSimulationServiceListener
- Parameters:
simService
- le simulation service qui a lance la simulationjob
- job that responsible to simulation
-
simulationStop
Description copied from interface:SimulationServiceListener
Notify end of simulation.- Specified by:
simulationStop
in interfaceSimulationServiceListener
- Parameters:
simService
- le simulation service qui a arrete la simulationjob
- job that responsible to simulation
-
clearJobDone
Description copied from interface:SimulationServiceListener
Previent que le simulation service a vide ca liste de simulation faites.- Specified by:
clearJobDone
in interfaceSimulationServiceListener
- Parameters:
simService
- le simulation service dont la liste des jobs finis a ete vide
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-