3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.taxeditor
.annotatedlineeditor
;
15 * Associates entity creators with classes, e.g.
16 * ReferenceEditorInput with ReferenceCreator.
22 public interface IEntityCreatorService
{
25 * <p>setEntityCreator</p>
27 * @param entityCreator a {@link eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator} object.
28 * @param element a {@link java.lang.Object} object.
30 void setEntityCreator(IEntityCreator entityCreator
, Object element
);
33 * <p>getEntityCreator</p>
35 * @param element a {@link java.lang.Object} object.
36 * @return a {@link eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator} object.
38 IEntityCreator
getEntityCreator(Object element
);