public interface HiValidator
Modifier and Type | Method and Description |
---|---|
javax.swing.JPanel |
getJPanel()
Get the user interface for the plugin.
|
java.lang.String |
getTitle()
Get a short display title for the plugin.
|
ValidationNode |
getValidationNode() |
void |
init()
Perform any one-time initialization prior to display here, for
example getting Configuration values.
|
boolean |
isValid()
The plugin should make an effort to determine for the user if the source
is valid.
|
boolean |
isValidated()
If the plugin can make an automatic determination that the source
is valid or invalid, it must return true here.
|
void |
setHiVali(HiVali hiVali)
Sets a reference to the instancne of HiVali, where plugins can
obtain the Configuration, Database, etc.
|
void |
setValid(boolean valid)
Set the validation state.
|
void |
setValidationNode(ValidationNode node)
Re-initializes the data model from a ValidationTreeNode.
|
void |
start()
This method will be called any time the Observation and ProductID have
been changed and indicates that the display should be updated for the
new source.
|
void |
stop()
Interrupt validation, indicates that the task should close any
open resources.
|
java.lang.String getTitle()
javax.swing.JPanel getJPanel()
void setHiVali(HiVali hiVali)
hiVali
- boolean isValid()
void setValid(boolean valid)
valid
- True for valid, false for invalidboolean isValidated()
void init() throws java.lang.Exception
java.lang.Exception
void setValidationNode(ValidationNode node) throws java.lang.Throwable
node
- Data for de-serializationjava.lang.Throwable
ValidationNode getValidationNode()
void start() throws java.lang.Exception
java.lang.Exception
void stop()
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona