Uses of Interface
org.eclipse.ui.SelectionListenerFactory.ISelectionModel
Package
Description
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
-
Uses of SelectionListenerFactory.ISelectionModel in org.eclipse.ui
Modifier and TypeFieldDescriptionSelectionListenerFactory.Predicates.alreadyDelivered
A predicate that tests true if the selection and the part it came from are the same as the selection listener currently has.SelectionListenerFactory.Predicates.alreadyDeliveredAnyPart
A predicate that tests true if the selection is the same as the selection we currently have.SelectionListenerFactory.Predicates.emptySelection
A predicate that will test true if the selection is not empty.SelectionListenerFactory.Predicates.selectionPartVisible
A predicate that tests true when the part that provides the selection is visible.SelectionListenerFactory.Predicates.selfMute
A predicate that tests true if the selection originates from its own part.SelectionListenerFactory.Predicates.targetPartVisible
A predicate that tests true if the part that receives the selection is visible.Modifier and TypeMethodDescriptionCreates a predicate that returns true when all the objects contained in anIStructuredSelection
are adaptable to the passed adapter type.SelectionListenerFactory.Predicates.minimalSelectionSize
(int size) Creates a predicate that will test true if the selection is anIStructuredSelection
and number of elements is at least the passed size.SelectionListenerFactory.Predicates.selectionSize
(int size) Creates a predicate that will test true if the selection is anIStructuredSelection
and number of elements matches the passed size.SelectionListenerFactory.Predicates.selectionType
(Class<? extends ISelection> selectionType) Creates a predicate that tests true if the selection is an instance of the passed selection type.Modifier and TypeMethodDescriptionstatic ISelectionListener
SelectionListenerFactory.createListener
(IWorkbenchPart part, Predicate<SelectionListenerFactory.ISelectionModel> predicate) Create a listener for a part that also acts as the selection listener.static ISelectionListener
SelectionListenerFactory.createListener
(IWorkbenchPart part, ISelectionListener listener, Predicate<SelectionListenerFactory.ISelectionModel> predicate) Create a listener for a part with a separate selection listener.static ISelectionListener
SelectionListenerFactory.createVisibleListener
(IWorkbenchPart part, ISelectionListener listener, Predicate<SelectionListenerFactory.ISelectionModel> additionalPredicate) Convenience method to create a listener that only gets notified when: the selection has changed; the part is visible.static ISelectionListener
SelectionListenerFactory.createVisibleSelfMutedListener
(IWorkbenchPart part, ISelectionListener listener, Predicate<SelectionListenerFactory.ISelectionModel> additionalPredicate) Provides a listener that only gets notified of selection events when: the selection has changed; the part is visible; the selection does not originate from the part.static ISelectionListener
SelectionListenerFactory.decorate
(ISelectionListener listener, Predicate<SelectionListenerFactory.ISelectionModel> additionalPredicate) Decorates the passed listener with the passed predicate. -
Uses of SelectionListenerFactory.ISelectionModel in org.eclipse.ui.internal
Modifier and TypeMethodDescriptionPartSelectionListener.addPredicate
(Predicate<SelectionListenerFactory.ISelectionModel> predicate) And-chains this predicate to the already existing predicate.ModifierConstructorDescriptionPartSelectionListener
(IWorkbenchPart part, ISelectionListener callbackListener, Predicate<SelectionListenerFactory.ISelectionModel> predicate) Constructs the intermediate selection listener to filter selections before they are passed on the the callback listener.