edu.stanford.hci.dtools.statechart
Class StatechartEditor.ShapesOutlinePage

java.lang.Object
  extended by org.eclipse.ui.part.Page
      extended by org.eclipse.gef.ui.parts.ContentOutlinePage
          extended by edu.stanford.hci.dtools.statechart.StatechartEditor.ShapesOutlinePage
All Implemented Interfaces:
org.eclipse.jface.viewers.ISelectionProvider, org.eclipse.ui.part.IPage, org.eclipse.ui.part.IPageBookViewPage, org.eclipse.ui.views.contentoutline.IContentOutlinePage
Enclosing class:
StatechartEditor

public class StatechartEditor.ShapesOutlinePage
extends org.eclipse.gef.ui.parts.ContentOutlinePage

Creates an outline pagebook for this editor.


Constructor Summary
StatechartEditor.ShapesOutlinePage(org.eclipse.gef.EditPartViewer viewer)
          Create a new outline page for the shapes editor.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 void dispose()
           
 org.eclipse.swt.widgets.Control getControl()
           
 void init(org.eclipse.ui.part.IPageSite pageSite)
           
 
Methods inherited from class org.eclipse.gef.ui.parts.ContentOutlinePage
addSelectionChangedListener, getSelection, removeSelectionChangedListener, setFocus, setSelection
 
Methods inherited from class org.eclipse.ui.part.Page
getSite, makeContributions, setActionBars
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.part.IPage
setActionBars
 

Constructor Detail

StatechartEditor.ShapesOutlinePage

public StatechartEditor.ShapesOutlinePage(org.eclipse.gef.EditPartViewer viewer)
Create a new outline page for the shapes editor.

Parameters:
viewer - a viewer (TreeViewer instance) used for this outline page
Throws:
java.lang.IllegalArgumentException - if editor is null
Method Detail

createControl

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

dispose

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

getControl

public org.eclipse.swt.widgets.Control getControl()
Specified by:
getControl in interface org.eclipse.ui.part.IPage
Overrides:
getControl in class org.eclipse.gef.ui.parts.ContentOutlinePage

init

public void init(org.eclipse.ui.part.IPageSite pageSite)
Specified by:
init in interface org.eclipse.ui.part.IPageBookViewPage
Overrides:
init in class org.eclipse.ui.part.Page
See Also:
IPageBookViewPage.init(org.eclipse.ui.part.IPageSite)