Project

General

Profile

Download (1.42 KB) Statistics
| Branch: | Tag: | Revision:
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.editor;
12

    
13
import org.eclipse.ui.IEditorPart;
14

    
15
/**
16
 * <p>IMultiPageTaxonEditorPage interface.</p>
17
 *
18
 * @author n.hoffmann
19
 * @created Jan 5, 2010
20
 * @version 1.0
21
 */
22
public interface IMultiPageTaxonEditorPage extends IEditorPart {
23

    
24
	/**
25
	 * Redraws this editor
26
	 * return true on success
27
	 *
28
	 * @return a boolean.
29
	 */
30
	public boolean redraw();
31
	
32
	/**
33
	 * Redraws the editor controls
34
	 *
35
	 * @param focus if set to true the focus is set on the editor
36
	 * @return true on success
37
	 */
38
	public boolean redraw(boolean focus);
39
	
40
	/**
41
	 * Whether the editor page is currently redrawing
42
	 *
43
	 * @return a boolean.
44
	 */
45
	public boolean isRedrawing();
46

    
47
	/**
48
	 * Sets the editor page into enabled or disabled state depending on the 
49
	 * value of the supplied parameter <code>enabled</code>.
50
	 * 
51
	 * @param enabled
52
	 */
53
	public void setEnabled(boolean enabled);
54

    
55
	/**
56
	 * Sets the editor page into disabled state and changes the 
57
	 * appearance accordingly. 
58
	 */
59
	void setDisabled();
60
	
61
	/**
62
	 * Sets the editor page into disabled state and changes the 
63
	 * appearance in order to indicate that an error has occurred.  
64
	 */
65
	public void setOnError();
66
	
67
}
(6-6/17)