Package org.eclipse.jface.dialogs
Class PageChangingEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.eclipse.jface.dialogs.PageChangingEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class PageChangingEvent extends java.util.EventObjectEvent object describing anIDialogPagein the midst of changing.- Since:
- 3.3
- See Also:
IPageChangingListener, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description booleandoitPublic field that dictates if the page change will successfully change.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetCurrentPage()Returns the current page from which the page change originates.java.lang.ObjectgetTargetPage()Returns the target page to change to.
-
-
-
Constructor Detail
-
PageChangingEvent
public 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.- Parameters:
source- the page changing provider (the source of this event)currentPage- the current page. In the JFace provided dialogs this will be anIDialogPage.targetPage- the target page. In the JFace provided dialogs this will be anIDialogPage.
-
-
Method Detail
-
getCurrentPage
public java.lang.Object getCurrentPage()
Returns the current page from which the page change originates.- Returns:
- the current page. In dialogs implemented by JFace,
this will be an
IDialogPage.
-
getTargetPage
public java.lang.Object getTargetPage()
Returns the target page to change to.- Returns:
- the target page. In dialogs implemented by JFace,
this will be an
IDialogPage.
-
-