Interface ISelectionCollectingService

All Superinterfaces:
IManagedService
All Known Implementing Classes:
SelectionCollectingServiceImpl

public interface ISelectionCollectingService extends IManagedService
The UI service that track selections in window and collect FeatureValue from selection. The collecting result sends to the requester if registered.
  • Method Details

    • addRequester

      void addRequester(SelectionCollectingRequester requester, org.eclipse.ui.IWorkbenchWindow window)
      Adds a requester for post Collecting changes in this selection collecting service. Has no effect if an identical requester is already registered.
      Parameters:
      requester - the requester, cannot be null.
      window - the window, cannot be null.
    • removeRequester

      void removeRequester(SelectionCollectingRequester requester)
      Removes the given requester for post Collecting changes from this selection collecting service. Has no effect if an identical requester is not registered.
      Parameters:
      requester - the requester, cannot be null.
    • refresh

      Refresh current request. If the request is running then it will cancel first and then run again.
      Parameters:
      requester - the requester, cannot be null.
      reuslt - the result which should be updated, cannot be null.
    • cancel

      void cancel(SelectionCollectingRequester requester)
      Cancel currently going request.
      Parameters:
      requester - the requester, cannot be null.