2 * Copyright (C) 2014 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.taxeditor
.ui
.mvc
.interfaces
;
11 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
12 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
15 * A composite for visualizing CDM objects. ICdmComposites are mere GUI composites but
16 * they initialize a controller which contains the interaction logic.
21 public interface ICdmComposite
{
24 * Initializes the {@link CdmCompositeController} of this composite.
25 * @param formFactory the factory used for the GUI element
26 * @param parentElement the parent {@link ICdmFormElement}
28 public void initController(CdmFormFactory formFactory
, ICdmFormElement parentElement
);
31 * Returns the {@link CdmCompositeController} of this composite.
34 public CdmCompositeController
getController();