Class ViewerContainer
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.viewer.ViewerContainer
-
public class ViewerContainer extends java.lang.Object
ViewerContainer
provides a Container for all theMetadataViewer
, this class is used inEDALFileChooser
.
-
-
Constructor Summary
Constructors Constructor Description ViewerContainer()
-
Method Summary
Modifier and Type Method Description static void
clear()
cleanup the ViewerContainerstatic MetadataViewer
getViewer(EnumDublinCoreElements element)
ReturnsMetadataViewer
static void
registerViewer(EnumDublinCoreElements element, MetadataViewer viewer)
register viewer for element
-
-
-
Method Detail
-
registerViewer
public static void registerViewer(EnumDublinCoreElements element, MetadataViewer viewer)
register viewer for element- Parameters:
element
- the metadatatypeviewer
- the metadatatype corresponding viewer
-
getViewer
public static MetadataViewer getViewer(EnumDublinCoreElements element)
ReturnsMetadataViewer
- Parameters:
element
- metadatatype.- Returns:
- the corresponding viewer.
-
clear
public static void clear()
cleanup the ViewerContainer
-
-