1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2007 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
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.
|
9
|
*/
|
10
|
|
11
|
package eu.etaxonomy.taxeditor.ui.element;
|
12
|
|
13
|
|
14
|
/**
|
15
|
* <p>IEnableableFormElement interface.</p>
|
16
|
*
|
17
|
* @author n.hoffmann
|
18
|
* @created Mar 10, 2010
|
19
|
* @version 1.0
|
20
|
*/
|
21
|
public interface IEnableableFormElement extends IRelevantFormElement {
|
22
|
|
23
|
/**
|
24
|
* Sets composites of this element to the given enablement state.
|
25
|
*
|
26
|
* @param enabled a boolean.
|
27
|
*/
|
28
|
public abstract void setEnabled(boolean enabled);
|
29
|
|
30
|
/**
|
31
|
* Return <code>true</code> if the element is enabled and <code>false</code> otherwise
|
32
|
* @return a boolean stating the current enablement value
|
33
|
*/
|
34
|
public boolean isEnabled();
|
35
|
}
|