| java.lang.Object java.util.EventObject org.eclipse.jface.dialogs.PageChangingEvent
Field Summary | |
public boolean | doit Public field that dictates if the page change will successfully change. |
Constructor Summary | |
public | PageChangingEvent(Object source, Object currentPage, Object targetPage) Creates a new event for the given source, selected (current) page and
direction.
Parameters: source - the page changing provider (the source of this event) Parameters: currentPage - the current page. |
Method Summary | |
public Object | getCurrentPage() Returns the current page from which the page change originates.
the current page. | public Object | getTargetPage() Returns the target page to change to.
the target page. |
doit | public boolean doit(Code) | | Public field that dictates if the page change will successfully change.
Set this field to false to prevent the page from changing.
Default value is true .
|
PageChangingEvent | public PageChangingEvent(Object source, Object currentPage, Object targetPage)(Code) | | Creates a new event for the given source, selected (current) page and
direction.
Parameters: source - the page changing provider (the source of this event) Parameters: currentPage - the current page. In the JFace provided dialogs this will bean IDialogPage . Parameters: targetPage - the target page. In the JFace provided dialogs this will be anIDialogPage . |
getCurrentPage | public Object getCurrentPage()(Code) | | Returns the current page from which the page change originates.
the current page. In dialogs implemented by JFace, this will be an IDialogPage . |
getTargetPage | public Object getTargetPage()(Code) | | Returns the target page to change to.
the target page. In dialogs implemented by JFace, this will be an IDialogPage . |
|
|