public class IdentifierViewer extends MetadataViewer
IdentifierViewer wrappers class TextviewDialog as
a MetadataViewer Dialog to edit Identifier datatype.
we can use it with a couple of lines of code:
IdentifierViewer identifierViewer = new IdentifierViewer();
identifierViewer.showOpenDialog();
| Constructor and Description |
|---|
IdentifierViewer() |
| Modifier and Type | Method and Description |
|---|---|
void |
setTitle(String title)
set the title of metadata dialog
|
void |
setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData data)
set the Identifier value.
|
int |
showOpenDialog()
pop up a TextviewDialog Dialog
|
public int showOpenDialog()
showOpenDialog in class MetadataViewerpublic void setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData data)
setValue in class MetadataViewerdata - the value the setpublic void setTitle(String title)
MetadataViewersetTitle in class MetadataViewertitle - the title for the dialogCopyright © 2016 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.