Class OpenEvent

  • All Implemented Interfaces:

    public class OpenEvent
    extends EventObject
    Event object describing an open which may be generated from a selection or default selection event. The source of these events is a viewer.
    See Also:
    IOpenListener, Serialized Form
    • Field Detail

      • selection

        protected ISelection selection
        The selection.
    • Constructor Detail

      • OpenEvent

        public OpenEvent​(Viewer source,
                         ISelection selection)
        Creates a new event for the given source and selection.
        source - the viewer
        selection - the selection
    • Method Detail

      • getSelection

        public ISelection getSelection()
        Returns the selection.
        the selection
      • getViewer

        public Viewer getViewer()
        Returns the viewer that is the source of this event.
        the originating viewer