2 * Copyright (C) 2007 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.
10 package eu
.etaxonomy
.taxeditor
.editor
;
12 import org
.eclipse
.ui
.IEditorPart
;
15 * <p>IMultiPageTaxonEditorPage interface.</p>
18 * @created Jan 5, 2010
21 public interface IMultiPageTaxonEditorPage
extends IEditorPart
{
25 * return true on success
29 public boolean redraw();
32 * Redraws the editor controls
34 * @param focus if set to true the focus is set on the editor
35 * @return true on success
37 public boolean redraw(boolean focus
);
40 * Whether the editor page is currently redrawing
44 public boolean isRedrawing();
47 * Sets the editor page into enabled or disabled state depending on the
48 * value of the supplied parameter <code>enabled</code>.
52 public void setEnabled(boolean enabled
);
55 * Sets the editor page into disabled state and changes the
56 * appearance accordingly.
61 * Sets the editor page into disabled state and changes the
62 * appearance in order to indicate that an error has occurred.
64 public void setOnError();