|
|||||||||
| Home >> All >> org >> eclipse >> ui >> [ part overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.ui.part
Class MultiPageEditor

java.lang.Objectorg.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.ui.part.MultiPageEditor
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorPart, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2
Deprecated. Use the class
MultiPageEditorPart instead
- public abstract class MultiPageEditor
- extends EditorPart
Abstract superclass of all multi-page workbench editors.
This class should be subclassed by clients wishing to define new multi-page editor.
Subclasses must implement the following methods:
createPartControl- to create the view's controlssetFocus- to accept focusisDirty- to decide whether a significant change has occurreddoSave- to save contents of editordoSaveAs- to save contents of editor
Subclasses may extend or reimplement the following methods as required:
setInitializationData- extend to provide additional initialization when editor extension is instantiatedinit(IEditorSite,IEditorInput)- extend to provide additional initialization when editor is assigned its siteisSaveOnCloseNeeded- override to control savingisSaveAsAllowed- override to control savinggotoMarker- reimplement to make selections based on markersdispose- extend to provide additional cleanupgetAdapter- reimplement to make their editor adaptable
[Issue: Review not complete - class still in flux.]
| Field Summary | |
private java.util.List |
syncVector
Deprecated. |
private org.eclipse.swt.widgets.TabFolder |
tabFolder
Deprecated. |
| Fields inherited from class org.eclipse.ui.part.EditorPart |
|
| Fields inherited from class org.eclipse.ui.part.WorkbenchPart |
|
| Fields inherited from interface org.eclipse.ui.IEditorPart |
PROP_DIRTY, PROP_INPUT |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
| Constructor Summary | |
MultiPageEditor()
Deprecated. Use the class MultiPageEditorPart instead |
|
| Method Summary | |
protected void |
addSyncroPageBook(PageBook pageBook)
Deprecated. Adds a synchronized pagebook to this editor. |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
Deprecated. The MultiPageEditor implementation of this IWorkbenchPart
method creates a TabFolder control. |
protected org.eclipse.swt.widgets.TabFolder |
getFolder()
Deprecated. Returns this editor's workbook. |
protected void |
onPageChange()
Deprecated. Indicates that a page change has occurred. |
protected void |
removeSyncroPageBook(PageBook pageBook)
Deprecated. Removes a synchronized pagebook from this editor. |
protected void |
sync()
Deprecated. Synchronizes each registered pagebook with the editor page. |
protected void |
syncPageBook(PageBook pageBook)
Deprecated. Sets the visible page of the given pagebook to be the same as the visible page of this editor. |
| Methods inherited from class org.eclipse.ui.part.EditorPart |
doSave, doSaveAs, getEditorInput, getEditorSite, getTitleToolTip, init, isDirty, isSaveAsAllowed, isSaveOnCloseNeeded, setContentDescription, setDefaultTitle, setInitializationData, setInput, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, dispose, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getPartName, getSite, getTitle, getTitleImage, internalSetContentDescription, internalSetPartName, removePropertyListener, setFocus, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
addPropertyListener, dispose, getSite, getTitle, getTitleImage, removePropertyListener, setFocus |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
| Field Detail |
syncVector
private java.util.List syncVector
- Deprecated.
tabFolder
private org.eclipse.swt.widgets.TabFolder tabFolder
- Deprecated.
| Constructor Detail |
MultiPageEditor
public MultiPageEditor()
- Deprecated. Use the class
MultiPageEditorPartinstead- Creates a new multi-page editor.
- Creates a new multi-page editor.
| Method Detail |
addSyncroPageBook
protected void addSyncroPageBook(PageBook pageBook)
- Deprecated.
- Adds a synchronized pagebook to this editor. Once added, the visible page of the pagebook and the visible page of the editor will be synchronized.
- Adds a synchronized pagebook to this editor. Once added, the visible page of the pagebook and the visible page of the editor will be synchronized.
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
- Deprecated.
- The
MultiPageEditorimplementation of thisIWorkbenchPartmethod creates aTabFoldercontrol.- Specified by:
createPartControlin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
createPartControlin classWorkbenchPart
- The
getFolder
protected org.eclipse.swt.widgets.TabFolder getFolder()
- Deprecated.
- Returns this editor's workbook.
- Returns this editor's workbook.
onPageChange
protected void onPageChange()
- Deprecated.
- Indicates that a page change has occurred. Updates the sync vector.
- Indicates that a page change has occurred. Updates the sync vector.
removeSyncroPageBook
protected void removeSyncroPageBook(PageBook pageBook)
- Deprecated.
- Removes a synchronized pagebook from this editor.
- Removes a synchronized pagebook from this editor.
sync
protected void sync()
- Deprecated.
- Synchronizes each registered pagebook with the editor page.
- Synchronizes each registered pagebook with the editor page.
syncPageBook
protected void syncPageBook(PageBook pageBook)
- Deprecated.
- Sets the visible page of the given pagebook to be the same as the visible page of this editor.
- Sets the visible page of the given pagebook to be the same as the visible page of this editor.
|
|||||||||
| Home >> All >> org >> eclipse >> ui >> [ part overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC