Eclipse GEF
2.1

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.
 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
dispose, 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
dispose, 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
Specified by:
createControl in class Page

getControl

public Control getControl()
Returns the control of the GEFgetViewer()

Specified by:
getControl in interface IPage
Specified by:
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
Specified by:
setFocus in class Page

setSelection

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

Eclipse GEF
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.