public class SNRAnnotationType extends DataAnnotationType<SNRAnnotation>
Constructor and Description |
---|
SNRAnnotationType() |
Modifier and Type | Method and Description |
---|---|
SNRAnnotation |
autoAnnotate(PamDataUnit pamDataUnit)
Automatically annotate the data unit with this annotation.
|
boolean |
canAnnotate(java.lang.Class dataUnitType)
Find out whether or not a particular type of data can be annotated
|
boolean |
canAutoAnnotate() |
java.lang.String |
getAnnotationName() |
AnnotationDialogPanel |
getDialogPanel()
Get a dialog component that can be incorporated into a larger dialog.
|
SQLLoggingAddon |
getSQLLoggingAddon()
Get an SQLLogging add on.
|
java.lang.String |
toString(SNRAnnotation dataAnnotation) |
public java.lang.String getAnnotationName()
getAnnotationName
in class DataAnnotationType<SNRAnnotation>
public boolean canAnnotate(java.lang.Class dataUnitType)
DataAnnotationType
canAnnotate
in class DataAnnotationType<SNRAnnotation>
dataUnitType
- Class of a type of data unit. Can be null in which
case annotation can be stand alone.public java.lang.String toString(SNRAnnotation dataAnnotation)
toString
in class DataAnnotationType<SNRAnnotation>
public SQLLoggingAddon getSQLLoggingAddon()
DataAnnotationType
getSQLLoggingAddon
in class DataAnnotationType<SNRAnnotation>
public SNRAnnotation autoAnnotate(PamDataUnit pamDataUnit)
DataAnnotationType
autoAnnotate
in class DataAnnotationType<SNRAnnotation>
pamDataUnit
- data unit to annotatepublic boolean canAutoAnnotate()
canAutoAnnotate
in class DataAnnotationType<SNRAnnotation>
public AnnotationDialogPanel getDialogPanel()
DataAnnotationType
getDialogPanel
in class DataAnnotationType<SNRAnnotation>