uk.ac.kcl.cch.jb.pliny.pdfAnnot.views
Class PDFOutline

java.lang.Object
  extended byuk.ac.kcl.cch.jb.pliny.pdfAnnot.views.PDFOutline
All Implemented Interfaces:
org.eclipse.ui.views.contentoutline.IContentOutlinePage, org.eclipse.ui.part.IPage, org.eclipse.jface.viewers.ISelectionProvider

public class PDFOutline
extends Object
implements org.eclipse.ui.views.contentoutline.IContentOutlinePage

an Eclipse IContentOutlinePage to support the display of a PDF file's table of contents as an Eclipse outline.

Author:
John Bradley

Field Summary
static String NAME_ID
           
 
Constructor Summary
PDFOutline(PDFEditor myEditor)
           
 
Method Summary
 void addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 void dispose()
           
 org.eclipse.swt.widgets.Control getControl()
           
 org.eclipse.jface.viewers.ISelection getSelection()
           
 void removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
           
 void setActionBars(org.eclipse.ui.IActionBars actionBars)
           
 void setFocus()
           
 void setSelection(org.eclipse.jface.viewers.ISelection selection)
           
 void setToPage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_ID

public static final String NAME_ID
See Also:
Constant Field Values
Constructor Detail

PDFOutline

public PDFOutline(PDFEditor myEditor)
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createControl in interface org.eclipse.ui.part.IPage

setToPage

public void setToPage()

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.part.IPage

getControl

public org.eclipse.swt.widgets.Control getControl()
Specified by:
getControl in interface org.eclipse.ui.part.IPage

setActionBars

public void setActionBars(org.eclipse.ui.IActionBars actionBars)
Specified by:
setActionBars in interface org.eclipse.ui.part.IPage

setFocus

public void setFocus()
Specified by:
setFocus in interface org.eclipse.ui.part.IPage

getSelection

public org.eclipse.jface.viewers.ISelection getSelection()
Specified by:
getSelection in interface org.eclipse.jface.viewers.ISelectionProvider

setSelection

public void setSelection(org.eclipse.jface.viewers.ISelection selection)
Specified by:
setSelection in interface org.eclipse.jface.viewers.ISelectionProvider

addSelectionChangedListener

public void addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
Specified by:
addSelectionChangedListener in interface org.eclipse.jface.viewers.ISelectionProvider

removeSelectionChangedListener

public void removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
Specified by:
removeSelectionChangedListener in interface org.eclipse.jface.viewers.ISelectionProvider