Class QuerySelectionProvider
java.lang.Object
com.e1c.langtool.internal.ui.view.QuerySelectionProvider
- All Implemented Interfaces:
IQuerySelectionService,IPostSelectionProvider,ISelectionProvider
public class QuerySelectionProvider
extends Object
implements IPostSelectionProvider, IQuerySelectionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected voidNotifies any post selection listeners that a post selection event has been received.voidfireQuery(ISingleTranslationQuery query) protected voidNotifies any selection changed listeners that the viewer's selection has changed.voidvoidvoidsetEnableViewerSelection(boolean enableViewerSelection) voidsetSelection(ISelection selection)
-
Constructor Details
-
QuerySelectionProvider
-
-
Method Details
-
fireQuery
- Specified by:
fireQueryin interfaceIQuerySelectionService
-
addSelectionChangedListener
- Specified by:
addSelectionChangedListenerin interfaceISelectionProvider
-
getSelection
- Specified by:
getSelectionin interfaceISelectionProvider
-
removeSelectionChangedListener
- Specified by:
removeSelectionChangedListenerin interfaceISelectionProvider
-
setSelection
- Specified by:
setSelectionin interfaceISelectionProvider
-
addPostSelectionChangedListener
- Specified by:
addPostSelectionChangedListenerin interfaceIPostSelectionProvider
-
removePostSelectionChangedListener
- Specified by:
removePostSelectionChangedListenerin interfaceIPostSelectionProvider
-
fireSelectionChanged
Notifies any selection changed listeners that the viewer's selection has changed. Only listeners registered at the time this method is called are notified.- Parameters:
event- a selection changed event- See Also:
-
firePostSelectionChanged
Notifies any post selection listeners that a post selection event has been received. Only listeners registered at the time this method is called are notified.- Parameters:
event- a selection changed event- See Also:
-
setEnableViewerSelection
public void setEnableViewerSelection(boolean enableViewerSelection)
-