org.eclipse.jface.dialogs
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:
-
IPageChangeProvider
,
IPageChangedListener
,
Serialized Form
selectedPage
protected
Object selectedPage
- The selected page.
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
.
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
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.