|
||||||||||
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.cdt.internal.ui.editor.CContentOutlinePage
public class CContentOutlinePage
Nested Class Summary | |
---|---|
class |
CContentOutlinePage.IncludeGroupingAction
|
class |
CContentOutlinePage.ToggleLinkingAction
This action toggles whether this C Outline page links its selection to the active editor. |
Constructor Summary | |
---|---|
CContentOutlinePage(CEditor editor)
|
|
CContentOutlinePage(java.lang.String contextMenuID,
CEditor editor)
|
Method Summary | |
---|---|
void |
addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
|
void |
contentUpdated()
Called by the editor to signal that the content has updated. |
void |
createControl(org.eclipse.swt.widgets.Composite parent)
|
void |
dispose()
|
org.eclipse.swt.widgets.Control |
getControl()
|
CEditor |
getEditor()
Provide access to the CEditor corresponding to this CContentOutlinePage. |
org.eclipse.cdt.core.model.ICElement |
getRoot()
|
org.eclipse.jface.viewers.ISelection |
getSelection()
|
boolean |
isLinkingEnabled()
|
void |
removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
|
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
|
void |
setFocus()
Sets focus to a part in the page. |
void |
setInput(org.eclipse.cdt.core.model.ITranslationUnit unit)
Set the current input to the content provider. |
void |
setSelection(org.eclipse.jface.viewers.ISelection selection)
|
void |
synchronizeSelectionWithEditor()
Sets the selected element to the one at the current cursor position in the editor. |
Methods inherited from class org.eclipse.ui.part.Page |
---|
getSite, init, 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 |
---|
setActionBars |
Constructor Detail |
---|
public CContentOutlinePage(CEditor editor)
public CContentOutlinePage(java.lang.String contextMenuID, CEditor editor)
Method Detail |
---|
public boolean isLinkingEnabled()
public org.eclipse.cdt.core.model.ICElement getRoot()
public CEditor getEditor()
public void contentUpdated()
public void synchronizeSelectionWithEditor()
public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.ui.part.IPage
createControl
in class org.eclipse.ui.part.Page
public void dispose()
dispose
in interface org.eclipse.ui.part.IPage
dispose
in class org.eclipse.ui.part.Page
public void addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
addSelectionChangedListener
in interface org.eclipse.jface.viewers.ISelectionProvider
public org.eclipse.swt.widgets.Control getControl()
getControl
in interface org.eclipse.ui.part.IPage
getControl
in class org.eclipse.ui.part.Page
public org.eclipse.jface.viewers.ISelection getSelection()
getSelection
in interface org.eclipse.jface.viewers.ISelectionProvider
public void removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
removeSelectionChangedListener
in interface org.eclipse.jface.viewers.ISelectionProvider
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
selectionChanged
in interface org.eclipse.jface.viewers.ISelectionChangedListener
public void setFocus()
setFocus
in interface org.eclipse.ui.part.IPage
setFocus
in class org.eclipse.ui.part.Page
public void setSelection(org.eclipse.jface.viewers.ISelection selection)
setSelection
in interface org.eclipse.jface.viewers.ISelectionProvider
public void setInput(org.eclipse.cdt.core.model.ITranslationUnit unit)
unit
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |