|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectMultiPageEditorPart
org.formaria.editor.eclipse.project.viewer.AriaProjectEditor
public class AriaProjectEditor
An example showing how to create a multi-page editor. This example has 3 pages:
| Constructor Summary | |
|---|---|
AriaProjectEditor()
Creates a multi-page editor example. |
|
| Method Summary | |
|---|---|
protected void |
createPages()
Creates the pages of the multi-page editor. |
void |
dispose()
The MultiPageEditorPart implementation of this
IWorkbenchPart method disposes all nested editors. |
void |
doSave(IProgressMonitor monitor)
Saves the multi-page editor's document. |
void |
doSaveAs()
Saves the multi-page editor's document as another file. |
void |
gotoMarker(IMarker marker)
|
void |
init(IEditorSite site,
IEditorInput editorInput)
The MultiPageEditorExample implementation of this method
checks that the input is an instance of IFileEditorInput. |
boolean |
isDirty()
|
boolean |
isSaveAsAllowed()
|
protected void |
pageChange(int newPageIndex)
Calculates the contents of page 2 when the it is activated. |
void |
resourceChanged(IResourceChangeEvent event)
Closes all project files on project close. |
void |
saveState()
|
void |
updateEditor()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AriaProjectEditor()
| Method Detail |
|---|
protected void createPages()
public void dispose()
MultiPageEditorPart implementation of this
IWorkbenchPart method disposes all nested editors.
Subclasses may extend.
public void updateEditor()
public void doSave(IProgressMonitor monitor)
public void doSaveAs()
public void gotoMarker(IMarker marker)
public void init(IEditorSite site,
IEditorInput editorInput)
throws PartInitException
MultiPageEditorExample implementation of this method
checks that the input is an instance of IFileEditorInput.
PartInitExceptionpublic boolean isSaveAsAllowed()
protected void pageChange(int newPageIndex)
public void saveState()
public boolean isDirty()
public void resourceChanged(IResourceChangeEvent event)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||