Class SelectionChangedEvent

    • Field Detail

      • selection

        protected ISelection selection
        The selection.
    • Constructor Detail

      • SelectionChangedEvent

        public SelectionChangedEvent​(ISelectionProvider source,
                                     ISelection selection)
        Creates a new event for the given source and selection.
        Parameters:
        source - the selection provider
        selection - the selection
    • Method Detail

      • getSelection

        public ISelection getSelection()
        Returns the selection.
        Returns:
        the selection
      • getSelectionProvider

        public ISelectionProvider getSelectionProvider()
        Returns the selection provider that is the source of this event.
        Returns:
        the originating selection provider