public class EdalLanguageEditor extends AbstractMetaDataEditor
EdalLanguageEditor is a wrapper class for EdalLanguageDialog,
we can use it with a couple of lines of code:
EdalLanguageEditor edalLanguageEditor = new EdalLanguageEditor();
edalLanguageEditor.setValue(language);
edalLanguageEditor.showOpenDialog();
| Constructor and Description |
|---|
EdalLanguageEditor() |
| Modifier and Type | Method and Description |
|---|---|
de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData |
getValue()
Returns the Person inputted by user.
|
void |
setTitle(java.lang.String title)
set the title of metadata dialog
|
void |
setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData language)
set the EdalLanguage value.
|
int |
showOpenDialog()
pop up a PersonDialog Dialog
|
public void setValue(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData language)
setValue in class AbstractMetaDataEditorlanguage - the value to setpublic int showOpenDialog()
showOpenDialog in class AbstractMetaDataEditorpublic de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData getValue()
getValue in class AbstractMetaDataEditorpublic void setTitle(java.lang.String title)
AbstractMetaDataEditorsetTitle in class AbstractMetaDataEditortitle - the title of the dialog