public class PageChangingEvent extends EventObject
IDialogPage in the midst of changing.IPageChangingListener,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
boolean |
doit
Public field that dictates if the page change will successfully change.
|
source| Constructor and Description |
|---|
PageChangingEvent(Object source,
Object currentPage,
Object targetPage)
Creates a new event for the given source, selected (current) page and
direction.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCurrentPage()
Returns the current page from which the page change originates.
|
Object |
getTargetPage()
Returns the target page to change to.
|
getSource, toStringpublic boolean doit
false to prevent the page from changing.
Default value is true.public PageChangingEvent(Object source, Object currentPage, Object targetPage)
source - the page changing provider (the source of this event)currentPage - the current page. In the JFace provided dialogs this will be
an IDialogPage.targetPage - the target page. In the JFace provided dialogs this will be an
IDialogPage.public Object getCurrentPage()
IDialogPage.public Object getTargetPage()
IDialogPage.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.