Package com.e1c.langtool.ui.collector
Interface ISelectionCollectingService
- All Superinterfaces:
IManagedService
- All Known Implementing Classes:
SelectionCollectingServiceImpl
The UI service that track selections in window and collect
FeatureValue from selection.
The collecting result sends to the requester if registered.-
Method Summary
Modifier and TypeMethodDescriptionvoidaddRequester(SelectionCollectingRequester requester, org.eclipse.ui.IWorkbenchWindow window) Adds a requester for post Collecting changes in this selection collecting service.voidcancel(SelectionCollectingRequester requester) Cancel currently going request.voidrefresh(SelectionCollectingRequester requester, FeatureValueCollectingResult result) Refresh current request.voidremoveRequester(SelectionCollectingRequester requester) Removes the given requester for post Collecting changes from this selection collecting service.Methods inherited from interface com._1c.g5.wiring.IManagedService
activate, deactivate
-
Method Details
-
addRequester
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 benull.window- the window, cannot benull.
-
removeRequester
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 benull.
-
refresh
Refresh current request. If the request is running then it will cancel first and then run again.- Parameters:
requester- the requester, cannot benull.reuslt- the result which should be updated, cannot benull.
-
cancel
Cancel currently going request.- Parameters:
requester- the requester, cannot benull.
-