MultiPageEditorPart
instead@Deprecated public abstract class MultiPageEditor extends EditorPart
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 controls setFocus
- to accept focusisDirty
- to decide whether a significant change has
occurreddoSave
- to save contents of editordoSaveAs
- to save contents of editorSubclasses 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
adaptablePROP_DIRTY, PROP_INPUT
PROP_TITLE
Constructor and Description |
---|
MultiPageEditor()
Deprecated.
Use the class
MultiPageEditorPart instead |
Modifier and Type | Method and Description |
---|---|
protected void |
addSyncroPageBook(PageBook pageBook)
Deprecated.
Adds a synchronized pagebook to this editor.
|
void |
createPartControl(Composite parent)
Deprecated.
The
MultiPageEditor implementation of this IWorkbenchPart
method creates a TabFolder control. |
protected 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.
|
checkSite, doSave, doSaveAs, getEditorInput, getEditorSite, getTitleToolTip, init, isDirty, isSaveAsAllowed, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName
addPartPropertyListener, addPropertyListener, dispose, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setFocus, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyListener, dispose, getSite, getTitle, getTitleImage, removePropertyListener, setFocus
getAdapter
@Deprecated public MultiPageEditor()
MultiPageEditorPart
insteadprotected void addSyncroPageBook(PageBook pageBook)
pageBook
- the pagebook to addpublic void createPartControl(Composite parent)
MultiPageEditor
implementation of this IWorkbenchPart
method creates a TabFolder
control.createPartControl
in interface IWorkbenchPart
createPartControl
in class WorkbenchPart
parent
- the parent controlprotected TabFolder getFolder()
protected void onPageChange()
protected void removeSyncroPageBook(PageBook pageBook)
pageBook
- the pagebook to removeaddSyncroPageBook(PageBook)
protected void sync()
protected void syncPageBook(PageBook pageBook)
pageBook
- a pagebook to synchronize
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.