Class EditorContainer


  • public class EditorContainer
    extends java.lang.Object
    EditorContainer provides a Container for all the MetadataEditor, this class is used in EDALFileChooser.
    • Constructor Summary

      Constructors 
      Constructor Description
      EditorContainer()  
    • Method Summary

      Modifier and Type Method Description
      static void clear()
      cleanup the EditorContainer
      static AbstractMetaDataEditor getEditor​(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.EnumDublinCoreElements element)
      Returns MetadataEditor
      static void registerEditor​(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.EnumDublinCoreElements element, AbstractMetaDataEditor editor)
      register editor for element
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EditorContainer

        public EditorContainer()
    • Method Detail

      • registerEditor

        public static void registerEditor​(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.EnumDublinCoreElements element,
                                          AbstractMetaDataEditor editor)
        register editor for element
        Parameters:
        element - the metadatatype
        editor - the metadatatype corresponding editor
      • getEditor

        public static AbstractMetaDataEditor getEditor​(de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.EnumDublinCoreElements element)
        Returns MetadataEditor
        Parameters:
        element - metadatatype.
        Returns:
        the corresponding editor.
      • clear

        public static void clear()
        cleanup the EditorContainer