|
Eclipse GEF 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.ui.part.Page
org.eclipse.gef.ui.parts.ContentOutlinePage
A adapter for an outline page containing a single EditPartViewer. This class handles
selection processing and widget focus. There is no need to manage viewer lifecycle.
When dispose() is called in the superclass, the EditPartViewer will
receive widget dispose callback, and perform any necessary cleanup. This class is just
an adapter.
| Constructor Summary | |
ContentOutlinePage(EditPartViewer viewer)
Constructs a ContentOutlinePage for the given viewer. |
|
| Method Summary | |
void |
addSelectionChangedListener(ISelectionChangedListener listener)
|
void |
createControl(Composite parent)
Forwards the createControl request to the editpartviewer. |
Control |
getControl()
|
ISelection |
getSelection()
Forwards selection request to the viewer. |
protected EditPartViewer |
getViewer()
Returns the EditPartViewer |
void |
removeSelectionChangedListener(ISelectionChangedListener listener)
|
void |
setFocus()
Sets focus to a part in the page. |
void |
setSelection(ISelection selection)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContentOutlinePage(EditPartViewer viewer)
viewer - the viewer| Method Detail |
public void addSelectionChangedListener(ISelectionChangedListener listener)
ISelectionProvider#addSelectionChangedListener(ISelectionChangedListener)public void createControl(Composite parent)
org.eclipse.ui.part.IPage#createControl(org.eclipse.swt.widgets.Composite)public Control getControl()
org.eclipse.ui.part.IPage#getControl()public ISelection getSelection()
org.eclipse.jface.viewers.ISelectionProvider#getSelection()protected EditPartViewer getViewer()
public void removeSelectionChangedListener(ISelectionChangedListener listener)
ISelectionProvider#removeSelectionChangedListener(ISelectionChangedListener)public void setFocus()
public void setSelection(ISelection selection)
ISelectionProvider#setSelection(org.eclipse.jface.viewers.ISelection)
|
Eclipse GEF 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||