3 * Copyright (C) 2014 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.
10 package eu
.etaxonomy
.taxeditor
.ui
.mvc
.interfaces
;
12 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
13 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
16 * A composite for visualizing CDM objects. ICdmComposites are mere GUI composites but
17 * they initialize a controller which contains the interaction logic.
22 public interface ICdmComposite
{
25 * Initializes the {@link CdmCompositeController} of this composite.
26 * @param formFactory the factory used for the GUI element
27 * @param parentElement the parent {@link ICdmFormElement}
29 public void initController(CdmFormFactory formFactory
, ICdmFormElement parentElement
);
32 * Returns the {@link CdmCompositeController} of this composite.
35 public CdmCompositeController
getController();