Class IdentifierEditor
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor.AbstractMetaDataEditor
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor.IdentifierEditor
-
public class IdentifierEditor extends AbstractMetaDataEditor
TheIdentifierEditor
wrappers classTextDialog
as aMetadataEditor
Dialog to editIdentifier
datatype. we can use it with a couple of lines of code:IdentifierEditor identifierEditor = new IdentifierEditor(); identifierEditor.showOpenDialog();
-
-
Constructor Summary
Constructors Constructor Description IdentifierEditor()
-
Method Summary
Modifier and Type Method Description UntypedData
getValue()
Returns the Identifier inputted by user.void
setTitle(java.lang.String title)
set the title of metadata dialogvoid
setValue(UntypedData data)
set the Identifier value.int
showOpenDialog()
pop up a IdentifierEditor Dialog
-
-
-
Method Detail
-
showOpenDialog
public int showOpenDialog()
pop up a IdentifierEditor Dialog- Specified by:
showOpenDialog
in classAbstractMetaDataEditor
- Returns:
- the result
-
setValue
public void setValue(UntypedData data)
set the Identifier value. set the Identifier value.- Specified by:
setValue
in classAbstractMetaDataEditor
- Parameters:
data
- the value to set
-
getValue
public UntypedData getValue()
Returns the Identifier inputted by user.- Specified by:
getValue
in classAbstractMetaDataEditor
- Returns:
- the Identifier inputted by user.
-
setTitle
public void setTitle(java.lang.String title)
Description copied from class:AbstractMetaDataEditor
set the title of metadata dialog- Overrides:
setTitle
in classAbstractMetaDataEditor
- Parameters:
title
- the title of the dialog
-
-