public abstract class AbstractParseExceptionResolver extends Object implements IParseExceptionResolver, IValueCompletionHandler
| Constructor and Description |
|---|
AbstractParseExceptionResolver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canResolve(ParseException pe) |
protected IType |
getBaseType(ParseException pe) |
protected IParseTree |
getDeepestLocationToComplete() |
protected JTextComponent |
getEditor() |
IType |
getExpectedType(ParseException pe) |
GosuEditor |
getGosuEditor() |
protected IType |
getTypeExpected() |
static boolean |
isEditorAtPossibleArgPosition(IParsedElement e,
JTextComponent editor) |
static IType |
resolvePossibleContextTypesFromEmptyMethodCalls(IExpression expression,
JTextComponent editor) |
void |
setGosuEditor(GosuEditor gsEditor) |
static boolean |
shouldPositionAtStartOfElement(IParseTree currentLocation,
JTextComponent editor) |
protected void |
showValueCompletionPopup(IValuePopup popup,
boolean bFocusInEditor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolvehandleCompleteValuepublic GosuEditor getGosuEditor()
getGosuEditor in interface IParseExceptionResolvergetGosuEditor in interface IValueCompletionHandlerpublic void setGosuEditor(GosuEditor gsEditor)
setGosuEditor in interface IParseExceptionResolversetGosuEditor in interface IValueCompletionHandlerprotected JTextComponent getEditor()
public boolean canResolve(ParseException pe)
canResolve in interface IParseExceptionResolverpublic IType getExpectedType(ParseException pe)
protected IType getBaseType(ParseException pe)
protected IParseTree getDeepestLocationToComplete()
protected IType getTypeExpected()
public static IType resolvePossibleContextTypesFromEmptyMethodCalls(IExpression expression, JTextComponent editor)
public static boolean isEditorAtPossibleArgPosition(IParsedElement e, JTextComponent editor)
protected void showValueCompletionPopup(IValuePopup popup, boolean bFocusInEditor)
public static boolean shouldPositionAtStartOfElement(IParseTree currentLocation, JTextComponent editor)
Copyright © 2017. All rights reserved.