Method Summary |
|
void | createPage0() Creates page 0 of the multi-page editor,
which contains a text editor. |
void | createPage1() Creates page 1 of the multi-page editor,
which allows you to change the font used in page 2. |
void | createPage2() Creates page 2 of the multi-page editor,
which shows the sorted text. |
protected void | createPages() Creates the pages of the multi-page editor. |
public void | doSave(IProgressMonitor monitor) Saves the multi-page editor's document. |
public void | doSaveAs() Saves the multi-page editor's document as another file. |
public void | gotoMarker(IMarker marker) |
public void | init(IEditorSite site, IEditorInput editorInput) The MultiPageEditorExample implementation of this method
checks that the input is an instance of IFileEditorInput . |
public boolean | isSaveAsAllowed() |
protected void | pageChange(int newPageIndex) Calculates the contents of page 2 when the it is activated. |
void | setFont() Sets the font related data to be applied to the text in page 2. |
void | sortWords() Sorts the words in page 0, and shows them in page 2. |