Package com.e1c.langtool.ui.editor.main
Class QuerySelectionProvider
java.lang.Object
com.e1c.langtool.ui.editor.main.QuerySelectionProvider
- All Implemented Interfaces:
IPostSelectionProvider,ISelectionProvider
-
Constructor Summary
ConstructorsConstructorDescriptionQuerySelectionProvider(IFeatureTree featureTree, org.eclipse.swt.widgets.Display display) -
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.voidvoidvoidsetSelection(ISelection selection)
-
Constructor Details
-
QuerySelectionProvider
-
-
Method Details
-
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
-
fireQuery
-
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:
-