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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearJobDone(SimulationService simService) Previent que le simulation service a vide ca liste de simulation faites.static IsisTrayFactory method to get instance.voidabstract voidChange image.abstract voidsetToolTip(String text) Change tooltip.voidsimulationStart(SimulationService simService, SimulationJob job) Notify start of simulation.voidsimulationStop(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:SimulationServiceListenerNotify start of simulation.- Specified by:
simulationStartin interfaceSimulationServiceListener- Parameters:
simService- le simulation service qui a lance la simulationjob- job that responsible to simulation
-
simulationStop
Description copied from interface:SimulationServiceListenerNotify end of simulation.- Specified by:
simulationStopin interfaceSimulationServiceListener- Parameters:
simService- le simulation service qui a arrete la simulationjob- job that responsible to simulation
-
clearJobDone
Description copied from interface:SimulationServiceListenerPrevient que le simulation service a vide ca liste de simulation faites.- Specified by:
clearJobDonein interfaceSimulationServiceListener- Parameters:
simService- le simulation service dont la liste des jobs finis a ete vide
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-