Class ScopeChangedEvent

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

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

    • ScopeChangedEvent

      public ScopeChangedEvent(IPageChangeProvider source, int scope)
      Creates a new event for the given source and new scope.
      Parameters:
      source - the page change provider
      scope - the new scope. In the JFace provided dialogs this will be an ISearchPageContainer constant.
  • Method Details

    • getScope

      public int getScope()
      Returns the new scope.
      Returns:
      the new scope. In dialogs implemented by JFace, this will be an ISearchPageContainer constant.
    • getPageChangeProvider

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