Package editor
Class SymbolCompletionHandler
java.lang.Object
editor.AbstractPathCompletionHandler
editor.SymbolCompletionHandler
- All Implemented Interfaces:
IPathCompletionHandler
- Direct Known Subclasses:
AnnotationCompletionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate IType
addValuesForType
(List<ISymbol> listSymbols) (package private) boolean
displayTypesPopup
(String strPrefix) private void
filterUnwantedSymbols
(Collection<ISymbol> listSymbols) boolean
handleCompletePath
(ISymbolTable transientSymTable) protected boolean
Methods inherited from class editor.AbstractPathCompletionHandler
displayFeaturePathCompletionBeanInfoPopup, displayPathCompletionBeanInfoPopup, getGosuEditor, getMemberPathFromPath, getPathAtCaret, getRootBeanFromPath, getSingleNameAtCaret, getSymbolAtCaret, getWordAtCaret, getWordBeforeCaret, isWordAtCaret, setGosuEditor
-
Constructor Details
-
SymbolCompletionHandler
public SymbolCompletionHandler()
-
-
Method Details
-
handleCompletePath
- Parameters:
transientSymTable
- The symbol table corresponding with the scope at the editor's caret position.- Returns:
- True if this handler handled path completion. Note it is the handler's responsibility to determine whether or not it can handle completing the path. If it can't, it should return false and have no side effects on the system.
-
addValuesForType
-
filterUnwantedSymbols
-
displayTypesPopup
-
isAnnotationsOnly
protected boolean isAnnotationsOnly()
-