public class PageChangingEvent
extends java.util.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.
|
| Constructor and Description |
|---|
PageChangingEvent(java.lang.Object source,
java.lang.Object currentPage,
java.lang.Object targetPage)
Creates a new event for the given source, selected (current) page and
direction.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCurrentPage()
Returns the current page from which the page change originates.
|
java.lang.Object |
getTargetPage()
Returns the target page to change to.
|
public boolean doit
false to prevent the page from changing.
Default value is true.public PageChangingEvent(java.lang.Object source,
java.lang.Object currentPage,
java.lang.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 java.lang.Object getCurrentPage()
IDialogPage.public java.lang.Object getTargetPage()
IDialogPage.
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.