Interface IQuickAccessComputer

All Known Subinterfaces:
IQuickAccessComputerExtension

public interface IQuickAccessComputer
Implementations of this interface are used to compute some extra content for the Quick Access features, using extension point org.eclipse.ui.quickaccess.

Use extension class IQuickAccessComputerExtension to run a new query and return new results whenever filter text change.

Since:
3.115
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the elements to add to the Quick Access proposals, for any request or filter.
    boolean
     
    void
    If necessary, reset the state of this computer.
  • Method Details

    • computeElements

      QuickAccessElement[] computeElements()
      Returns the elements to add to the Quick Access proposals, for any request or filter.

      The returned elements are then filtered according to user input so only relevant ones are shown in the list of proposals.

      Returns:
      the elements to add to the Quick Access proposals
    • resetState

      void resetState()
      If necessary, reset the state of this computer.
    • needsRefresh

      boolean needsRefresh()
      Returns:
      whether the current computer needs a refresh (ie last result of computeElements() is outdated).