|
||||||||||
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.ui.views.contentoutline.ContentOutlinePage
org.eclipse.mofscript.editor.MofScriptContentOutlinePage
public class MofScriptContentOutlinePage
A content outliner for MOFScript. Does a crude scan of text lines and detetects the structural patterns
Constructor Summary | |
---|---|
MofScriptContentOutlinePage(org.eclipse.ui.texteditor.IDocumentProvider provider,
org.eclipse.ui.texteditor.ITextEditor editor)
Constructor Creates a content outline page using the given provider and the given editor. |
Method Summary | |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
Creates the control for this outliner |
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Event handler for selection changes in the outliner |
void |
setInput(java.lang.Object input)
Sets the input object |
void |
update()
Updates the outline page. |
Methods inherited from class org.eclipse.ui.views.contentoutline.ContentOutlinePage |
---|
addSelectionChangedListener, getControl, getSelection, init, removeSelectionChangedListener, setFocus, 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 MofScriptContentOutlinePage(org.eclipse.ui.texteditor.IDocumentProvider provider, org.eclipse.ui.texteditor.ITextEditor editor)
provider
- The document providereditor
- The owner editorMethod Detail |
---|
public void setInput(java.lang.Object input)
input
- public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.ui.part.IPage
createControl
in class org.eclipse.ui.views.contentoutline.ContentOutlinePage
parent
- IPage.createControl(org.eclipse.swt.widgets.Composite)
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
selectionChanged
in interface org.eclipse.jface.viewers.ISelectionChangedListener
selectionChanged
in class org.eclipse.ui.views.contentoutline.ContentOutlinePage
event
- public void update()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |