Class IdentifierRelationViewer
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.MetadataViewer
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.IdentifierRelationViewer
-
public class IdentifierRelationViewer extends MetadataViewer
TheIdentifierRelationViewerwrappers classIdentifierRelationviewDialogas aMetadataViewerDialog to edit IdentifierRelation datatype. we can use it with a couple of lines of code:IdentifierRelationViewer identifierRelationViewer = new IdentifierRelationViewer(); identifierRelationViewer.showOpenDialog();
-
-
Constructor Summary
Constructors Constructor Description IdentifierRelationViewer()
-
Method Summary
Modifier and Type Method Description voidsetTitle(java.lang.String title)set the title of metadata dialogvoidsetValue(UntypedData relations)set the IdentifierRelation value.intshowOpenDialog()pop up a IdentifierRelationviewDialog Dialog
-
-
-
Method Detail
-
showOpenDialog
public int showOpenDialog()
pop up a IdentifierRelationviewDialog Dialog- Specified by:
showOpenDialogin classMetadataViewer- Returns:
- the result
-
setValue
public void setValue(UntypedData relations)
set the IdentifierRelation value. set the IdentifierRelation value.- Specified by:
setValuein classMetadataViewer- Parameters:
relations- the value the set
-
setTitle
public void setTitle(java.lang.String title)
Description copied from class:MetadataViewerset the title of metadata dialog- Specified by:
setTitlein classMetadataViewer- Parameters:
title- the title for the dialog
-
-