Package org.eclipse.jface.dialogs
Class ScopeChangedEvent
java.lang.Object
java.util.EventObject
org.eclipse.jface.dialogs.ScopeChangedEvent
- All Implemented Interfaces:
Serializable
Event object describing a page selection change. The source of these events
is a page change provider.
- Since:
- 3.38
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionScopeChangedEvent
(IPageChangeProvider source, int scope) Creates a new event for the given source and new scope. -
Method Summary
Modifier and TypeMethodDescriptionReturns the scope change provider that is the source of this event.int
getScope()
Returns the new scope.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ScopeChangedEvent
Creates a new event for the given source and new scope.- Parameters:
source
- the page change providerscope
- the new scope. In the JFace provided dialogs this will be anISearchPageContainer
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
Returns the scope change provider that is the source of this event.- Returns:
- the originating scope change provider
-