uk.ac.cisban.rod.data
Class SpotManager

java.lang.Object
  extended by uk.ac.cisban.rod.data.AbstractDataTypeManager
      extended by uk.ac.cisban.rod.data.SpotManager

public class SpotManager
extends AbstractDataTypeManager

Manages the parsing and saving of Spottings.

Since:
26-Nov-2008 1:46:26 PM
Author:
Morgan Taschuk

Field Summary
 
Fields inherited from class uk.ac.cisban.rod.data.AbstractDataTypeManager
currentTasks, listeners
 
Constructor Summary
SpotManager()
           
 
Method Summary
 boolean attemptToLoadSpotLog(java.lang.Long actionAppId)
          Check if there are spot log results for the current experiment.
 javax.swing.SwingWorker loadSpotLog(java.io.File file, java.lang.Long actionApplicationId)
          Loads a spot log into the current screen.
 
Methods inherited from class uk.ac.cisban.rod.data.AbstractDataTypeManager
addChangeListener, cancelCurrentTasks, hasCurrentTask, hasCurrentTask, isLoaded, removeChangeListener, setLoaded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpotManager

public SpotManager()
Method Detail

loadSpotLog

public javax.swing.SwingWorker loadSpotLog(java.io.File file,
                                           java.lang.Long actionApplicationId)
Loads a spot log into the current screen.

Parameters:
file - the file with the spot log data
Returns:
a thread that will load the spot log upon execution

attemptToLoadSpotLog

public boolean attemptToLoadSpotLog(java.lang.Long actionAppId)
Check if there are spot log results for the current experiment. If there are, load them. Fires a ChangeEvent in DataManager if loading is successful.



Copyright © 2010. All Rights Reserved.