Package editor

Class SymbolCompletionHandler

All Implemented Interfaces:
IPathCompletionHandler
Direct Known Subclasses:
AnnotationCompletionHandler

public class SymbolCompletionHandler extends AbstractPathCompletionHandler
  • Constructor Details

    • SymbolCompletionHandler

      public SymbolCompletionHandler()
  • Method Details

    • handleCompletePath

      public boolean handleCompletePath(ISymbolTable transientSymTable)
      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

      private IType addValuesForType(List<ISymbol> listSymbols)
    • filterUnwantedSymbols

      private void filterUnwantedSymbols(Collection<ISymbol> listSymbols)
    • displayTypesPopup

      boolean displayTypesPopup(String strPrefix)
    • isAnnotationsOnly

      protected boolean isAnnotationsOnly()