public class SubjectViewer extends MetadataViewer
SubjectViewer wrappers class SubjectviewDialog
as a MetadataViewer Dialog to edit Subjects datatype. we can use
it with a couple of lines of code:
SubjectViewer subjectViewer = new SubjectViewer(); subjectViewer.showOpenDialog();
| Constructor and Description |
|---|
SubjectViewer() |
| Modifier and Type | Method and Description |
|---|---|
void |
setTitle(java.lang.String title)
set the title of metadata dialog
|
void |
setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData subjects)
set the Subjects value.
|
int |
showOpenDialog()
pop up a SubjectviewDialog Dialog
|
public int showOpenDialog()
showOpenDialog in class MetadataViewerpublic void setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData subjects)
setValue in class MetadataViewersubjects - the value the setpublic void setTitle(java.lang.String title)
MetadataViewersetTitle in class MetadataViewertitle - the title for the dialog