uk.ac.kcl.cch.jb.pliny.editors
Interface IPageSettableEditorPart

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IWorkbenchPart
All Known Implementing Classes:
PDFEditor

public interface IPageSettableEditorPart
extends org.eclipse.ui.IEditorPart

Pliny aware editors which display their materials as Pages should implement this interface. It allows the editor to be opened to a particular page when a Resource has a page number in it.

Author:
John Bradley
See Also:
PDFEditor

Field Summary
 
Fields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUT
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Method Summary
 void turnToPage(int pageNo)
          causes the implementor to turn to the given page in its display.
 
Methods inherited from interface org.eclipse.ui.IEditorPart
getEditorInput, getEditorSite, init
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.ui.ISaveablePart
doSave, doSaveAs, isDirty, isSaveAsAllowed, isSaveOnCloseNeeded
 

Method Detail

turnToPage

public void turnToPage(int pageNo)
causes the implementor to turn to the given page in its display.

Parameters:
pageNo - int the requested page number.