taxeditor/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/IMultiPageTaxonEditorPage.java @ 288183cd
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 |
*
|
49 |
* @param enabled
|
50 |
*/
|
51 |
public void setEnabled(boolean enabled); |
52 |
|
53 |
/**
|
54 |
*
|
55 |
*/
|
56 |
void setDisabled(); |
57 |
|
58 |
}
|