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 of
IModification
for creating and applying quickfix text changes.-
Field Summary
Fields inherited from interface org.eclipse.xtext.ui.editor.model.edit.IModification
NULL
-
Constructor Summary
ConstructorsConstructorDescriptionExternalQuickfixModification
(org.eclipse.xtext.validation.Issue issue, Class<E> clazz, com.google.common.base.Function<E, org.eclipse.text.edits.TextEdit> function) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(org.eclipse.xtext.ui.editor.model.edit.IModificationContext context)
-
Constructor Details
-
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
-
-
Method Details