Project

General

Profile

Download (1.11 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2014 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
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.
8
*/
9
package eu.etaxonomy.taxeditor.ui.mvc.interfaces;
10

    
11
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
12
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
13

    
14
/**
15
 * A composite for visualizing CDM objects. ICdmComposites are mere GUI composites but
16
 * they initialize a controller which contains the interaction logic.
17
 * @author pplitzner
18
 * @date 11.02.2014
19
 *
20
 */
21
public interface ICdmComposite {
22

    
23
    /**
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}
27
     */
28
    public void initController(CdmFormFactory formFactory, ICdmFormElement parentElement);
29

    
30
    /**
31
     * Returns the {@link CdmCompositeController} of this composite.
32
     * @return
33
     */
34
    public CdmCompositeController getController();
35

    
36
}
(2-2/2)