|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.editor.SemanticHighlightingReconciler
public class SemanticHighlightingReconciler
Semantic highlighting reconciler - Background thread implementation. Cloned from JDT.
Constructor Summary | |
---|---|
SemanticHighlightingReconciler()
|
Method Summary | |
---|---|
void |
aboutToBeReconciled()
Called before reconciling is started. |
void |
install(CEditor editor,
org.eclipse.jface.text.source.ISourceViewer sourceViewer,
SemanticHighlightingPresenter presenter,
SemanticHighlighting[] semanticHighlightings,
org.eclipse.cdt.internal.ui.editor.SemanticHighlightingManager.HighlightingStyle[] highlightings)
Install this reconciler on the given editor, presenter and highlightings. |
void |
reconciled(org.eclipse.cdt.core.dom.ast.IASTTranslationUnit ast,
boolean force,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Called after reconciling has been finished. |
void |
refresh()
Refreshes the highlighting. |
void |
uninstall()
Uninstall this reconciler from the editor |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SemanticHighlightingReconciler()
Method Detail |
---|
public void aboutToBeReconciled()
ICReconcilingListener
aboutToBeReconciled
in interface ICReconcilingListener
public void reconciled(org.eclipse.cdt.core.dom.ast.IASTTranslationUnit ast, boolean force, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
ICReconcilingListener
reconciled
in interface ICReconcilingListener
ast
- the translation unit AST or null
if the working
copy was consistent or reconcilation has been cancelledforce
- flag indicating whether the reconciler was invoked forcefullyprogressMonitor
- the progress monitorpublic void install(CEditor editor, org.eclipse.jface.text.source.ISourceViewer sourceViewer, SemanticHighlightingPresenter presenter, SemanticHighlighting[] semanticHighlightings, org.eclipse.cdt.internal.ui.editor.SemanticHighlightingManager.HighlightingStyle[] highlightings)
editor
- the editorsourceViewer
- the source viewerpresenter
- the semantic highlighting presentersemanticHighlightings
- the semantic highlightingshighlightings
- the highlightingspublic void uninstall()
public void refresh()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |