ref #6190 removing svn property place holder in first line of code - java files
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / element / IEnableableFormElement.java
1 /**
2 * Copyright (C) 2007 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
10 package eu.etaxonomy.taxeditor.ui.element;
11
12
13 /**
14 * <p>IEnableableFormElement interface.</p>
15 *
16 * @author n.hoffmann
17 * @created Mar 10, 2010
18 * @version 1.0
19 */
20 public interface IEnableableFormElement extends IRelevantFormElement {
21
22 /**
23 * Sets composites of this element to the given enablement state.
24 *
25 * @param enabled a boolean.
26 */
27 public abstract void setEnabled(boolean enabled);
28
29 /**
30 * Return <code>true</code> if the element is enabled and <code>false</code> otherwise
31 * @return a boolean stating the current enablement value
32 */
33 public boolean isEnabled();
34 }