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

java.lang.Object
  extended by org.eclipse.jface.text.quickassist.QuickAssistAssistant
      extended by org.eclipse.xtext.ui.editor.quickfix.XtextQuickAssistAssistant
All Implemented Interfaces:
org.eclipse.jface.text.quickassist.IQuickAssistAssistant, org.eclipse.jface.text.quickassist.IQuickAssistAssistantExtension

public class XtextQuickAssistAssistant
extends org.eclipse.jface.text.quickassist.QuickAssistAssistant

Author:
Knut Wannheden - Initial contribution and API, Heiko Behrens, Jan Koehnlein

Field Summary
protected  org.eclipse.jface.text.Position storedPosition
           
protected  org.eclipse.jface.text.source.ISourceViewer viewer
           
 
Constructor Summary
XtextQuickAssistAssistant(XtextQuickAssistProcessor processor)
           
 
Method Summary
protected  org.eclipse.jface.text.AbstractReusableInformationControlCreator createInformationControlCreator()
           
 void install(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
           
protected  void setRestoreSelection()
           
 void uninstall()
           
 
Methods inherited from class org.eclipse.jface.text.quickassist.QuickAssistAssistant
addCompletionListener, canAssist, canFix, enableColoredLabels, getHandler, getQuickAssistProcessor, hide, possibleCompletionsClosed, removeCompletionListener, setInformationControlCreator, setProposalSelectorBackground, setProposalSelectorForeground, setQuickAssistProcessor, setStatusLineVisible, setStatusMessage, showPossibleQuickAssists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

viewer

protected org.eclipse.jface.text.source.ISourceViewer viewer

storedPosition

protected org.eclipse.jface.text.Position storedPosition
Constructor Detail

XtextQuickAssistAssistant

@Inject
public XtextQuickAssistAssistant(XtextQuickAssistProcessor processor)
Method Detail

setRestoreSelection

protected void setRestoreSelection()

createInformationControlCreator

protected org.eclipse.jface.text.AbstractReusableInformationControlCreator createInformationControlCreator()

install

public void install(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
Specified by:
install in interface org.eclipse.jface.text.quickassist.IQuickAssistAssistant
Overrides:
install in class org.eclipse.jface.text.quickassist.QuickAssistAssistant

uninstall

public void uninstall()
Specified by:
uninstall in interface org.eclipse.jface.text.quickassist.IQuickAssistAssistant
Overrides:
uninstall in class org.eclipse.jface.text.quickassist.QuickAssistAssistant