Package com._1c.g5.v8.dt.bsl.ui.quickfix
Class BslXtextQuickAssistProcessor
- java.lang.Object
-
- org.eclipse.xtext.ui.editor.quickfix.AbstractIssueResolutionProviderAdapter
-
- org.eclipse.xtext.ui.editor.quickfix.XtextQuickAssistProcessor
-
- com._1c.g5.v8.dt.bsl.ui.quickfix.BslXtextQuickAssistProcessor
-
- All Implemented Interfaces:
org.eclipse.jface.text.quickassist.IQuickAssistProcessor
public class BslXtextQuickAssistProcessor extends org.eclipse.xtext.ui.editor.quickfix.XtextQuickAssistProcessor
Special implementation ofXtextQuickAssistProcessor
for Bsl with possibility to add quick-fixes for all warning issues
-
-
Constructor Summary
Constructors Constructor Description BslXtextQuickAssistProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canFix(org.eclipse.jface.text.source.Annotation annotation)
protected List<org.eclipse.jface.text.contentassist.ICompletionProposal>
createQuickfixes(org.eclipse.jface.text.quickassist.IQuickAssistInvocationContext invocationContext, Set<org.eclipse.jface.text.source.Annotation> applicableAnnotations)
-
Methods inherited from class org.eclipse.xtext.ui.editor.quickfix.XtextQuickAssistProcessor
canAssist, computeQuickAssistProposals, create, getApplicableAnnotations, getApplicableAnnotations, getErrorMessage, getIssueUtil, selectAndRevealQuickfix, sortQuickfixes
-
-
-
-
Method Detail
-
canFix
public boolean canFix(org.eclipse.jface.text.source.Annotation annotation)
- Specified by:
canFix
in interfaceorg.eclipse.jface.text.quickassist.IQuickAssistProcessor
- Overrides:
canFix
in classorg.eclipse.xtext.ui.editor.quickfix.XtextQuickAssistProcessor
-
createQuickfixes
protected List<org.eclipse.jface.text.contentassist.ICompletionProposal> createQuickfixes(org.eclipse.jface.text.quickassist.IQuickAssistInvocationContext invocationContext, Set<org.eclipse.jface.text.source.Annotation> applicableAnnotations)
- Overrides:
createQuickfixes
in classorg.eclipse.xtext.ui.editor.quickfix.XtextQuickAssistProcessor
-
-