Class PageChangedEvent

java.lang.Object
java.util.EventObject
org.eclipse.jface.dialogs.PageChangedEvent
All Implemented Interfaces:
Serializable

public class PageChangedEvent extends EventObject
Event object describing a page selection change. The source of these events is a page change provider.
Since:
3.1
See Also:
  • Field Details

    • selectedPage

      protected Object selectedPage
      The selected page.
  • Constructor Details

    • PageChangedEvent

      public PageChangedEvent(IPageChangeProvider source, Object selectedPage)
      Creates a new event for the given source and selected page.
      Parameters:
      source - the page change provider
      selectedPage - the selected page. In the JFace provided dialogs this will be an IDialogPage.
  • Method Details

    • getSelectedPage

      public Object getSelectedPage()
      Returns the selected page.
      Returns:
      the selected page. In dialogs implemented by JFace, this will be an IDialogPage.
    • getPageChangeProvider

      public IPageChangeProvider getPageChangeProvider()
      Returns the page change provider that is the source of this event.
      Returns:
      the originating page change provider