org.jpedal.pdf.plugins.eclipse.views
Class PDFOutline

java.lang.Object
  extended by org.jpedal.pdf.plugins.eclipse.views.PDFOutline
All Implemented Interfaces:
org.eclipse.jface.viewers.ISelectionProvider, org.eclipse.ui.part.IPage, org.eclipse.ui.views.contentoutline.IContentOutlinePage

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


Constructor Summary
PDFOutline(PDFEditor pdfEditor)
          The constructor.
 
Method Summary
 void addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
          This is a callback that will allow us to create the viewer and initialize it.
 void dispose()
           
 java.awt.Frame getBlank()
           
 org.eclipse.swt.widgets.Control getControl()
           
 org.eclipse.jface.viewers.ISelection getSelection()
           
 org.eclipse.swt.widgets.Composite getViewer()
           
 void removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
           
 void repaint()
           
 void setActionBars(org.eclipse.ui.IActionBars actionBars)
           
 void setFocus()
          Passing the focus request to the viewer's control.
 void setPDFDecoder(PDFEditor pdfEditor)
           
 void setSelection(org.eclipse.jface.viewers.ISelection selection)
           
 void setTree()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFOutline

public PDFOutline(PDFEditor pdfEditor)
The constructor.

Parameters:
editor -
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
This is a callback that will allow us to create the viewer and initialize it.

Specified by:
createControl in interface org.eclipse.ui.part.IPage

setPDFDecoder

public void setPDFDecoder(PDFEditor pdfEditor)

setTree

public void setTree()

setFocus

public void setFocus()
Passing the focus request to the viewer's control.

Specified by:
setFocus in interface org.eclipse.ui.part.IPage

dispose

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

getViewer

public org.eclipse.swt.widgets.Composite getViewer()

repaint

public void repaint()

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

addSelectionChangedListener

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

getSelection

public org.eclipse.jface.viewers.ISelection getSelection()
Specified by:
getSelection 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

setSelection

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

getBlank

public java.awt.Frame getBlank()