net.aerith.misao.toolkit.AgentDesktop
Class AgentNewStarSearchOperation

java.lang.Object
  |
  +--net.aerith.misao.util.OperationObservable
        |
        +--net.aerith.misao.util.Operation
              |
              +--net.aerith.misao.util.MultiTaskOperation
                    |
                    +--net.aerith.misao.toolkit.ReportBatch.ReportBatchOperation
                          |
                          +--net.aerith.misao.toolkit.NewStarSearch.NewStarSearchOperation
                                |
                                +--net.aerith.misao.toolkit.AgentDesktop.AgentNewStarSearchOperation

public class AgentNewStarSearchOperation
extends NewStarSearchOperation

The AgentNewStarSearchOperation represents a batch operation to search new stars from XML report documents using the agent.


Field Summary
protected  Agent agent
          The agent.
 
Fields inherited from class net.aerith.misao.toolkit.NewStarSearch.NewStarSearchOperation
db_manager, dialog, list
 
Fields inherited from class net.aerith.misao.toolkit.ReportBatch.ReportBatchOperation
db_manager, file_manager
 
Fields inherited from class net.aerith.misao.util.MultiTaskOperation
conductor
 
Fields inherited from class net.aerith.misao.util.Operation
monitor_set, stopped
 
Fields inherited from class net.aerith.misao.util.OperationObservable
observer_list
 
Constructor Summary
AgentNewStarSearchOperation(MultiTaskConductor conductor, CatalogDBManager db_manager, Agent agent)
          Constructs an AgentNewStarSearchOperation.
 
Method Summary
protected  double getAmplitude()
          Gets the amplitude.
protected  double getLimitingMag()
          Gets the limiting magnitude.
 int showSettingDialog()
          Shows the dialog to set parameters.
 
Methods inherited from class net.aerith.misao.toolkit.NewStarSearch.NewStarSearchOperation
getVariabilityRecords, notifyStart, operate
 
Methods inherited from class net.aerith.misao.toolkit.ReportBatch.ReportBatchOperation
getDBManager, setDBManager, setFileManager
 
Methods inherited from class net.aerith.misao.util.MultiTaskOperation
operate, ready
 
Methods inherited from class net.aerith.misao.util.Operation
addMonitor, isStopped, perform, run, stop
 
Methods inherited from class net.aerith.misao.util.OperationObservable
addObserver, deleteObserver, notifyEnd, notifyFailed, notifySucceeded, notifyWarned
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

agent

protected Agent agent
The agent.
Constructor Detail

AgentNewStarSearchOperation

public AgentNewStarSearchOperation(MultiTaskConductor conductor,
                                   CatalogDBManager db_manager,
                                   Agent agent)
Constructs an AgentNewStarSearchOperation.
Parameters:
conductor - the conductor of multi task operation.
db_manager - the catalog database manager.
agent - the agent.
Method Detail

showSettingDialog

public int showSettingDialog()
Shows the dialog to set parameters.
Overrides:
showSettingDialog in class NewStarSearchOperation
Returns:
0 if OK button is pushed, or 2 if Cancel button is pushed.

getLimitingMag

protected double getLimitingMag()
Gets the limiting magnitude.
Overrides:
getLimitingMag in class NewStarSearchOperation
Returns:
the limiting magnitude.

getAmplitude

protected double getAmplitude()
Gets the amplitude.
Overrides:
getAmplitude in class NewStarSearchOperation
Returns:
the amplitude.