public interface IEditorPage
extends org.eclipse.ui.IEditorPart, org.eclipse.ui.IPropertyListener
Existing editors can be wrapped by implementing this interface. In this case, isEditor() should return true.
This interface may be implemented directly. For convenience, a base implementation is defined in EditorPage.
An editor page is added to the editor in two stages:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Modifier and Type | Method and Description |
---|---|
void | addDropSupport()
Adds support for dropping items out drag-and-drop supported controls.
|
boolean | canLeavePage()
Checks whether the content of the page is in a state that allows the editor to flip to another page.
|
TelesalesMultiPageEditor | getEditor()
Returns the editor to which this page belongs.
|
java.lang.String | getId()
Page must have a unique identifier that can be used to show it without knowing its relative position in the editor.
|
int | getIndex()
Returns the position of the page in the editor.
|
org.eclipse.swt.widgets.Control | getPartControl()
Returns the control associated with this page.
|
void | initialize(TelesalesMultiPageEditor editor)
Primes the editor page with the parent editor instance.
|
boolean | isActive()
Returns true if page is currently active, false if not.
|
boolean | isEditor()
This method checks whether this page wraps a complete editor that can be registered on its own.
|
void | refresh()
Refreshes this page.
|
boolean | selectReveal(java.lang.Object object)
A hint to bring the provided object into focus.
|
void | setActive(boolean active)
Indicates whether the page has become active in the editor.
|
void | setId(java.lang.String id)
Sets the unique identifier that can be used to show it without knowing its relative position in the editor.
|
void | setIndex(int index)
Sets the position of the page in the editor.
|
static final java.lang.String COPYRIGHT
void addDropSupport()
boolean canLeavePage()
TelesalesMultiPageEditor getEditor()
org.eclipse.swt.widgets.Control getPartControl()
java.lang.String getId()
int getIndex()
void initialize(TelesalesMultiPageEditor editor)
boolean isActive()
boolean isEditor()
void refresh()
boolean selectReveal(java.lang.Object object)
void setActive(boolean active)
void setIndex(int index)
void setId(java.lang.String id)