net.aerith.misao.toolkit.AdditionalIdentification
Class AdditionalIdentificationOperation
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.AdditionalIdentification.AdditionalIdentificationOperation
- public class AdditionalIdentificationOperation
- extends ReportBatchOperation
The AdditionalIdentificationOperation
represents a
batch operation to identify XML report documents with stars
registered to the catalog database, and register the magnitude to
the database.
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
dialog
protected IdentificationSettingDialog dialog
- The dialog to set up parameters to identify.
dialog2
protected CatalogSelectionDialog dialog2
- The dialog to select catalogs to register the magnitude to the
database.
reader_add
protected CatalogReader reader_add
- The list of stars to identify with.
reader_delete
protected CatalogReader reader_delete
- The list of stars to delete.
catalog_list
protected java.util.Vector catalog_list
- The list of catalogs to register tha magnitude to the database.
hash_failed_stars
protected java.util.Hashtable hash_failed_stars
- The list of stars failed to register tha magnitude to the
database.
hash_warned_stars
protected java.util.Hashtable hash_warned_stars
- The list of stars failed to register tha magnitude to the
database because already reported.
AdditionalIdentificationOperation
public AdditionalIdentificationOperation(MultiTaskConductor conductor)
- Constructs an
AdditionalIdentificationOperation
.
- Parameters:
conductor
- the conductor of multi task operation.
AdditionalIdentificationOperation
public AdditionalIdentificationOperation(MultiTaskConductor conductor,
CatalogReader reader_add,
CatalogReader reader_delete)
- Constructs an
AdditionalIdentificationOperation
.
- Parameters:
conductor
- the conductor of multi task operation.reader_add
- the list of stars to identify with.reader_delete
- the list of stars to delete.
setCatalogReader
public void setCatalogReader(CatalogReader reader_add,
CatalogReader reader_delete)
- Sets the catalog reader.
- Parameters:
reader_add
- the list of stars to identify with.reader_delete
- the list of stars to delete.
showSettingDialog
public int showSettingDialog()
- Shows the dialog to set parameters.
- Overrides:
- showSettingDialog in class MultiTaskOperation
- Returns:
- 0 if OK button is pushed, or 2 if Cancel
button is pushed.
notifyStart
protected void notifyStart()
- Notifies when the operation starts.
- Overrides:
- notifyStart in class OperationObservable
notifyEnd
protected void notifyEnd(java.lang.Exception exception)
- Notifies when the operation ends.
- Overrides:
- notifyEnd in class OperationObservable
- Parameters:
exception
- the exception if an error occurs, or null if
succeeded.
operate
public void operate(java.lang.Object object)
throws java.lang.Exception
- Operates on one item. This is invoked from the conductor of
multi task operation.
- Overrides:
- operate in class MultiTaskOperation
- Parameters:
object
- the target object to operate.- Throws:
- java.lang.Exception - if an error occurs.