Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  *  Copyright (c) 2011 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK), Gatersleben, Germany.
  *  All rights reserved. This program and the accompanying materials
  *  are made available under the terms of the GNU Lesser Public License v2.1
  *  which accompanies this distribution, and is available at
  *  http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  *
  *  Contributors:
  *      Leibniz Institute of Plant Genetics and Crop Plant Research (IPK), Gatersleben, Germany - RMI Client, FileChooser and WebDAV
 */
package de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.editor;
EditorContainer provides a Container for all the MetadataEditor, this class is used in EDALFileChooser.

Author(s):
Jinbo Chen
Version:
1.0
public class EditorContainer {
register editor for element

Parameters:
element the metadatatype
editor the metadatatype corresponding editor
 
	public static void registerEditor(EnumDublinCoreElements element,AbstractMetaDataEditor editor)
	{
		.put(elementeditor);
	}
Returns MetadataEditor

Parameters:
element metadatatype.
Returns:
the corresponding editor.
 
	{
		return .get(element);
	}
cleanup the EditorContainer
	public static void clear()
	{
	}
New to GrepCode? Check out our FAQ X