org.eclipse.xtext.ui.editor.quickfix
Class ReplaceModification

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.quickfix.ReplaceModification
All Implemented Interfaces:
IModification

public class ReplaceModification
extends java.lang.Object
implements IModification

Author:
Jan Koehnlein - Initial contribution and API

Field Summary
 
Fields inherited from interface org.eclipse.xtext.ui.editor.model.edit.IModification
NULL
 
Constructor Summary
ReplaceModification(Issue issue, java.lang.String replacement)
           
 
Method Summary
 void apply(IModificationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplaceModification

public ReplaceModification(Issue issue,
                           java.lang.String replacement)
Method Detail

apply

public void apply(IModificationContext context)
           throws org.eclipse.jface.text.BadLocationException
Specified by:
apply in interface IModification
Throws:
org.eclipse.jface.text.BadLocationException