GEF v2.0

org.eclipse.gef.ui.parts
Class ContentOutlinePage

java.lang.Object
  |
  +--org.eclipse.ui.part.Page
        |
        +--org.eclipse.gef.ui.parts.ContentOutlinePage
All Implemented Interfaces:
IContentOutlinePage, IPage, IPageBookViewPage, ISelectionProvider

public class ContentOutlinePage
extends Page
implements IContentOutlinePage


Constructor Summary
ContentOutlinePage(EditPartViewer viewer)
          The constructor for the Outline Page.
 
Method Summary
 void addSelectionChangedListener(ISelectionChangedListener listener)
           
 void createControl(Composite parent)
          Creates the control for the viewer.
 void dispose()
           
 Control getControl()
          Returns the control of the GEFgetViewer()
 ISelection getSelection()
           
protected  EditPartViewer getViewer()
           
 void removeSelectionChangedListener(ISelectionChangedListener listener)
           
 void setFocus()
          Sets focus to a part in the page.
 void setSelection(ISelection selection)
           
 
Methods inherited from class org.eclipse.ui.part.Page
getSite, init, makeContributions, setActionBars
 
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.part.IPage
setActionBars
 

Constructor Detail

ContentOutlinePage

public ContentOutlinePage(EditPartViewer viewer)
The constructor for the Outline Page. It takes an EditPartViewer.
Method Detail

addSelectionChangedListener

public void addSelectionChangedListener(ISelectionChangedListener listener)
Specified by:
addSelectionChangedListener in interface ISelectionProvider

createControl

public void createControl(Composite parent)
Creates the control for the viewer.
Specified by:
createControl in interface IPage
Overrides:
createControl in class Page

dispose

public void dispose()
Specified by:
dispose in interface IPage
Overrides:
dispose in class Page

getControl

public Control getControl()
Returns the control of the GEFgetViewer()
Specified by:
getControl in interface IPage
Overrides:
getControl in class Page

getSelection

public ISelection getSelection()
Specified by:
getSelection in interface ISelectionProvider

getViewer

protected EditPartViewer getViewer()

removeSelectionChangedListener

public void removeSelectionChangedListener(ISelectionChangedListener listener)
Specified by:
removeSelectionChangedListener in interface ISelectionProvider

setFocus

public void setFocus()
Sets focus to a part in the page.
Specified by:
setFocus in interface IPage
Overrides:
setFocus in class Page

setSelection

public void setSelection(ISelection selection)
Specified by:
setSelection in interface ISelectionProvider

GEF v2.0