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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentOutlinePage
public ContentOutlinePage(EditPartViewer viewer)
- The constructor for the Outline Page. It takes an EditPartViewer.
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