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

java.lang.Object
  extended by org.eclipse.jface.text.source.TextInvocationContext
      extended by org.eclipse.xtext.ui.editor.quickfix.QuickAssistInvocationContext
All Implemented Interfaces:
org.eclipse.jface.text.quickassist.IQuickAssistInvocationContext

public class QuickAssistInvocationContext
extends org.eclipse.jface.text.source.TextInvocationContext

Adds the option to suppress the selection of the error region to the context.

Since:
2.0
Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
QuickAssistInvocationContext(org.eclipse.jface.text.source.ISourceViewer sourceViewer, int offset, int length, boolean suppressSelection)
           
 
Method Summary
 boolean isSuppressSelection()
           
 
Methods inherited from class org.eclipse.jface.text.source.TextInvocationContext
getLength, getOffset, getSourceViewer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuickAssistInvocationContext

public QuickAssistInvocationContext(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
                                    int offset,
                                    int length,
                                    boolean suppressSelection)
Method Detail

isSuppressSelection

public boolean isSuppressSelection()