Package com.e1c.g5.v8.dt.bsl.check.qfix
Class ExternalQuickfixModification<E extends org.eclipse.emf.ecore.EObject>
- java.lang.Object
-
- com.e1c.g5.v8.dt.bsl.check.qfix.ExternalQuickfixModification<E>
-
- Type Parameters:
E
- type of model object is contained inIssue
- All Implemented Interfaces:
org.eclipse.xtext.ui.editor.model.edit.IModification
public class ExternalQuickfixModification<E extends org.eclipse.emf.ecore.EObject> extends Object implements org.eclipse.xtext.ui.editor.model.edit.IModification
Implementation ofIModification
for creating and applying quickfix text changes.
-
-
Constructor Summary
Constructors Constructor Description ExternalQuickfixModification(org.eclipse.xtext.validation.Issue issue, Class<E> clazz, com.google.common.base.Function<E,org.eclipse.text.edits.TextEdit> function)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(org.eclipse.xtext.ui.editor.model.edit.IModificationContext context)
-
-
-
Constructor Detail
-
ExternalQuickfixModification
public ExternalQuickfixModification(org.eclipse.xtext.validation.Issue issue, Class<E> clazz, com.google.common.base.Function<E,org.eclipse.text.edits.TextEdit> function)
Constructor- Parameters:
issue
- processing validationIssue
, can't benull
clazz
-Class
of the Built-in object corresponding to validationIssue
, can't benull
function
- specialFunction
that contains logic about creatingTextEdit
changes corresponding to quickfix, can't benull
-
-