|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ui.part.Page org.eclipse.ui.views.contentoutline.ContentOutlinePage org.ocleditor.internal.ui.outline.OclContentOutlinePage
A content outline page which hierarchically structures the content of the OCL file in a tree view.
The tree view is structured by the OCL model (implements the Composite design pattern).
Constructor Summary | |
OclContentOutlinePage(org.eclipse.ui.texteditor.IDocumentProvider provider,
org.eclipse.ui.texteditor.ITextEditor editor)
Default constructor that creates a content outline page using the given provider and the given editor. |
Method Summary | |
void |
createControl(org.eclipse.swt.widgets.Composite parent)
|
IOclModel |
getOclModel()
|
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
|
void |
setFocus()
Passing the focus request to the viewer's control. |
void |
setInput(java.lang.Object input)
Sets the input of the outline page |
void |
update()
Updates the content outline page. |
Methods inherited from class org.eclipse.ui.views.contentoutline.ContentOutlinePage |
addSelectionChangedListener, getControl, getSelection, init, removeSelectionChangedListener, setSelection |
Methods inherited from class org.eclipse.ui.part.Page |
dispose, 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 |
dispose, setActionBars |
Constructor Detail |
public OclContentOutlinePage(org.eclipse.ui.texteditor.IDocumentProvider provider, org.eclipse.ui.texteditor.ITextEditor editor)
Method Detail |
public void createControl(org.eclipse.swt.widgets.Composite parent)
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
public void setInput(java.lang.Object input)
input
- has to be an instance of IFileEditorInput.public void setFocus()
public void update()
public IOclModel getOclModel()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |