|
||||||||||
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.datatools.sqltools.sqleditor.internal.editor.SQLEditorContentOutlinePage
public class SQLEditorContentOutlinePage
This class provides a content outline page for the SQL Editor.
Constructor Summary | |
---|---|
SQLEditorContentOutlinePage(org.eclipse.ui.texteditor.IDocumentProvider provider,
SQLEditor sqlEditor)
Constructs an instance of this class using the given provider and the given editor. |
Method Summary | |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
Creates the SWT control for this page under the given parent control. |
org.eclipse.ui.texteditor.IDocumentProvider |
getDocumentProvider()
Gets the document provider associated with this outline page. |
java.lang.Object |
getInput()
Gets the input for this outline page. |
SQLEditor |
getSQLEditor()
Gets the SQL Editor associated with this outline page. |
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Notifies that the selection has changed, using the given SelectionChangedEvent. |
void |
setDocumentProvider(org.eclipse.ui.texteditor.IDocumentProvider docProvider)
Sets the document provider associated with this outline page to the given document provider. |
void |
setInput(java.lang.Object input)
Sets the input of this outline page to the given object. |
void |
setSQLEditor(SQLEditor sqlEditor)
Sets the SQL Editor associated with this outline page to the given editor. |
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 SQLEditorContentOutlinePage(org.eclipse.ui.texteditor.IDocumentProvider provider, SQLEditor sqlEditor)
provider
- the document provider to usesqlEditor
- the SQL text editor associated with this viewMethod Detail |
---|
public void createControl(org.eclipse.swt.widgets.Composite parent)
ContentOutlinePage
implementation of this
IContentOutlinePage
method creates a tree viewer.
createControl
in interface org.eclipse.ui.part.IPage
createControl
in class org.eclipse.ui.views.contentoutline.ContentOutlinePage
ContentOutlinePage.createControl(org.eclipse.swt.widgets.Composite)
,
IPage.createControl(org.eclipse.swt.widgets.Composite)
public org.eclipse.ui.texteditor.IDocumentProvider getDocumentProvider()
public java.lang.Object getInput()
public SQLEditor getSQLEditor()
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
ISelectionChangedListener.selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
public void setDocumentProvider(org.eclipse.ui.texteditor.IDocumentProvider docProvider)
docProvider
- the document provider to usepublic void setInput(java.lang.Object input)
input
- the input to setpublic void setSQLEditor(SQLEditor sqlEditor)
sqlEditor
- the associated SQL Editorpublic void update()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |