|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.atl.adt.ui.text.AtlReconcilingStrategy
public final class AtlReconcilingStrategy
This reconciling strategy will allow us to enable folding support in the Atl editor.
Field Summary | |
---|---|
protected java.util.Map<org.eclipse.jface.text.source.Annotation,org.eclipse.jface.text.Position> |
addedAnnotations
This will hold the list of all annotations that have been added since the last reconciling. |
protected java.util.Map<org.eclipse.jface.text.source.Annotation,org.eclipse.jface.text.Position> |
currentAnnotations
Current known positions of foldable block. |
protected java.util.List<org.eclipse.jface.text.source.Annotation> |
deletedAnnotations
This will hold the list of all annotations that have been removed since the last reconciling. |
protected AtlEditor |
editor
Editor this provides folding support to. |
protected java.util.Map<org.eclipse.jface.text.source.Annotation,org.eclipse.jface.text.Position> |
modifiedAnnotations
This will hold the list of all annotations that have been modified since the last reconciling. |
Constructor Summary | |
---|---|
AtlReconcilingStrategy(AtlEditor editor)
Instantiates the reconciling strategy for a given editor. |
Method Summary | |
---|---|
void |
initialReconcile()
|
void |
reconcile(org.eclipse.jface.text.reconciler.DirtyRegion dirtyRegion,
org.eclipse.jface.text.IRegion subRegion)
|
void |
reconcile(org.eclipse.jface.text.IRegion partition)
|
void |
setDocument(org.eclipse.jface.text.IDocument document)
|
void |
setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.util.Map<org.eclipse.jface.text.source.Annotation,org.eclipse.jface.text.Position> addedAnnotations
protected final java.util.Map<org.eclipse.jface.text.source.Annotation,org.eclipse.jface.text.Position> currentAnnotations
protected final java.util.List<org.eclipse.jface.text.source.Annotation> deletedAnnotations
protected final AtlEditor editor
protected final java.util.Map<org.eclipse.jface.text.source.Annotation,org.eclipse.jface.text.Position> modifiedAnnotations
Constructor Detail |
---|
public AtlReconcilingStrategy(AtlEditor editor)
editor
- Editor which we seek to provide folding support for.Method Detail |
---|
public void initialReconcile()
initialReconcile
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategyExtension
IReconcilingStrategyExtension.initialReconcile()
public void reconcile(org.eclipse.jface.text.reconciler.DirtyRegion dirtyRegion, org.eclipse.jface.text.IRegion subRegion)
reconcile
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategy
IReconcilingStrategy.reconcile(org.eclipse.jface.text.reconciler.DirtyRegion,
org.eclipse.jface.text.IRegion)
public void reconcile(org.eclipse.jface.text.IRegion partition)
reconcile
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategy
IReconcilingStrategy.reconcile(org.eclipse.jface.text.IRegion)
public void setDocument(org.eclipse.jface.text.IDocument document)
setDocument
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategy
IReconcilingStrategy.setDocument(org.eclipse.jface.text.IDocument)
public void setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
setProgressMonitor
in interface org.eclipse.jface.text.reconciler.IReconcilingStrategyExtension
IReconcilingStrategyExtension.setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor)
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |