Uses of Interface
org.eclipse.ui.SelectionListenerFactory.ISelectionModel
Packages that use 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
Fields in org.eclipse.ui with type parameters of type SelectionListenerFactory.ISelectionModelModifier and TypeFieldDescriptionSelectionListenerFactory.Predicates.alreadyDeliveredA predicate that tests true if the selection and the part it came from are the same as the selection listener currently has.SelectionListenerFactory.Predicates.alreadyDeliveredAnyPartA predicate that tests true if the selection is the same as the selection we currently have.SelectionListenerFactory.Predicates.emptySelectionA predicate that will test true if the selection is not empty.SelectionListenerFactory.Predicates.selectionPartVisibleA predicate that tests true when the part that provides the selection is visible.SelectionListenerFactory.Predicates.selfMuteA predicate that tests true if the selection originates from its own part.SelectionListenerFactory.Predicates.targetPartVisibleA predicate that tests true if the part that receives the selection is visible.Methods in org.eclipse.ui that return types with arguments of type SelectionListenerFactory.ISelectionModelModifier and TypeMethodDescriptionCreates a predicate that returns true when all the objects contained in anIStructuredSelectionare adaptable to the passed adapter type.SelectionListenerFactory.Predicates.minimalSelectionSize(int size) Creates a predicate that will test true if the selection is anIStructuredSelectionand 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 anIStructuredSelectionand 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.Method parameters in org.eclipse.ui with type arguments of type SelectionListenerFactory.ISelectionModelModifier and TypeMethodDescriptionstatic ISelectionListenerSelectionListenerFactory.createListener(IWorkbenchPart part, Predicate<SelectionListenerFactory.ISelectionModel> predicate) Create a listener for a part that also acts as the selection listener.static ISelectionListenerSelectionListenerFactory.createListener(IWorkbenchPart part, ISelectionListener listener, Predicate<SelectionListenerFactory.ISelectionModel> predicate) Create a listener for a part with a separate selection listener.static ISelectionListenerSelectionListenerFactory.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 ISelectionListenerSelectionListenerFactory.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 ISelectionListenerSelectionListenerFactory.decorate(ISelectionListener listener, Predicate<SelectionListenerFactory.ISelectionModel> additionalPredicate) Decorates the passed listener with the passed predicate. -
Uses of SelectionListenerFactory.ISelectionModel in org.eclipse.ui.internal
Method parameters in org.eclipse.ui.internal with type arguments of type SelectionListenerFactory.ISelectionModelModifier and TypeMethodDescriptionPartSelectionListener.addPredicate(Predicate<SelectionListenerFactory.ISelectionModel> predicate) And-chains this predicate to the already existing predicate.Constructor parameters in org.eclipse.ui.internal with type arguments of type SelectionListenerFactory.ISelectionModelModifierConstructorDescriptionPartSelectionListener(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.