public class ShowParameterInfoContext extends java.lang.Object implements CreateParameterInfoContext
Constructor and Description |
---|
ShowParameterInfoContext(Editor editor,
Project project,
PsiFile file,
int offset,
int parameterListStart) |
ShowParameterInfoContext(Editor editor,
Project project,
PsiFile file,
int offset,
int parameterListStart,
boolean requestFocus) |
ShowParameterInfoContext(Editor editor,
Project project,
PsiFile file,
int offset,
int parameterListStart,
boolean requestFocus,
boolean singleParameterInfo) |
Modifier and Type | Method and Description |
---|---|
Editor |
getEditor() |
PsiFile |
getFile() |
PsiElement |
getHighlightedElement() |
java.lang.Object[] |
getItemsToShow() |
int |
getOffset() |
int |
getParameterListStart() |
Project |
getProject() |
boolean |
isRequestFocus() |
void |
setHighlightedElement(PsiElement element) |
void |
setItemsToShow(java.lang.Object[] items) |
void |
setRequestFocus(boolean requestFocus) |
void |
showHint(PsiElement element,
int offset,
ParameterInfoHandler handler) |
public ShowParameterInfoContext(Editor editor, Project project, PsiFile file, int offset, int parameterListStart)
public ShowParameterInfoContext(Editor editor, Project project, PsiFile file, int offset, int parameterListStart, boolean requestFocus)
public Project getProject()
getProject
in interface ParameterInfoContext
public PsiFile getFile()
getFile
in interface ParameterInfoContext
public int getOffset()
getOffset
in interface ParameterInfoContext
public int getParameterListStart()
getParameterListStart
in interface CreateParameterInfoContext
public Editor getEditor()
getEditor
in interface ParameterInfoContext
public PsiElement getHighlightedElement()
getHighlightedElement
in interface CreateParameterInfoContext
public void setHighlightedElement(PsiElement element)
setHighlightedElement
in interface CreateParameterInfoContext
public void setItemsToShow(java.lang.Object[] items)
setItemsToShow
in interface CreateParameterInfoContext
public java.lang.Object[] getItemsToShow()
getItemsToShow
in interface CreateParameterInfoContext
public void showHint(PsiElement element, int offset, ParameterInfoHandler handler)
showHint
in interface CreateParameterInfoContext
public void setRequestFocus(boolean requestFocus)
public boolean isRequestFocus()