Uses of Interface
org.eclipse.ui.SelectionListenerFactory.ISelectionModel
-
Packages that use SelectionListenerFactory.ISelectionModel Package Description org.eclipse.ui 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.ISelectionModel Modifier and Type Field Description static Predicate<SelectionListenerFactory.ISelectionModel>SelectionListenerFactory.Predicates. alreadyDeliveredA predicate that tests true if the selection and the part it came from are the same as the selection listener currently has.static Predicate<SelectionListenerFactory.ISelectionModel>SelectionListenerFactory.Predicates. alreadyDeliveredAnyPartA predicate that tests true if the selection is the same as the selection we currently have.static Predicate<SelectionListenerFactory.ISelectionModel>SelectionListenerFactory.Predicates. emptySelectionA predicate that will test true if the selection is not empty.static Predicate<SelectionListenerFactory.ISelectionModel>SelectionListenerFactory.Predicates. selectionPartVisibleA predicate that tests true when the part that provides the selection is visible.static Predicate<SelectionListenerFactory.ISelectionModel>SelectionListenerFactory.Predicates. selfMuteA predicate that tests true if the selection originates from its own part.static Predicate<SelectionListenerFactory.ISelectionModel>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.ISelectionModel Modifier and Type Method Description static Predicate<SelectionListenerFactory.ISelectionModel>SelectionListenerFactory.Predicates. adaptsTo(Class<?> adapterType)Creates a predicate that returns true when all the objects contained in anIStructuredSelectionare adaptable to the passed adapter type.static Predicate<SelectionListenerFactory.ISelectionModel>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.static Predicate<SelectionListenerFactory.ISelectionModel>SelectionListenerFactory.Predicates. selectionSize(int size)Creates a predicate that will test true if the selection is anIStructuredSelectionand number of elements matches the passed size.static Predicate<SelectionListenerFactory.ISelectionModel>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.ISelectionModel Modifier and Type Method Description static 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.
-