Eclipse Platform
2.0

org.eclipse.ui.part
Class MultiPageEditor

java.lang.Object
  |
  +--org.eclipse.ui.part.WorkbenchPart
        |
        +--org.eclipse.ui.part.EditorPart
              |
              +--org.eclipse.ui.part.MultiPageEditor
All Implemented Interfaces:
IAdaptable, IEditorPart, IExecutableExtension, IWorkbenchPart

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:

Subclasses may extend or reimplement the following methods as required:

[Issue: Review not complete - class still in flux.]


Field Summary
 
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(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.
 
Methods inherited from class org.eclipse.ui.part.EditorPart
doSave, doSaveAs, getEditorInput, getEditorSite, getTitleToolTip, gotoMarker, init, isDirty, isSaveAsAllowed, isSaveOnCloseNeeded, setInput
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPropertyListener, dispose, firePropertyChange, getAdapter, getConfigurationElement, getDefaultImage, getSite, getTitle, getTitleImage, removePropertyListener, setFocus, setInitializationData, setSite, setTitle, setTitleImage, setTitleToolTip
 
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
 

Constructor Detail

MultiPageEditor

public MultiPageEditor()
Deprecated. Use the class MultiPageEditorPart instead

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.

Parameters:
pageBook - the pagebook to add

createPartControl

public void createPartControl(Composite parent)
Deprecated. 
The MultiPageEditor implementation of this IWorkbenchPart method creates a TabFolder control.

Specified by:
createPartControl in interface IWorkbenchPart
Specified by:
createPartControl in class WorkbenchPart
Parameters:
parent - the parent control

getFolder

protected TabFolder getFolder()
Deprecated. 
Returns this editor's workbook.

Returns:
the editor workbook

onPageChange

protected void onPageChange()
Deprecated. 
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.

Parameters:
pageBook - the pagebook to remove
See Also:
addSyncroPageBook

sync

protected void sync()
Deprecated. 
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.

Parameters:
pageBook - a pagebook to synchronize

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.