Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.dialogs
Class PageChangingEvent

java.lang.Object
  extended by 

java.util.EventObject
      extended by 
org.eclipse.jface.dialogs.PageChangingEvent
All Implemented Interfaces:
Serializable

public class PageChangingEvent
extends EventObject

Event object describing an IDialogPage in the midst of changing.

Since:
3.3
See Also:
IPageChangingListener, Serialized Form

Field Summary
 boolean doit
          Public field that dictates if the page change will successfully change.
 
Fields inherited from class java.util. EventObject
source
 
Constructor Summary
PageChangingEvent ( Object source, Object currentPage, Object targetPage)
          Creates a new event for the given source, selected (current) page and direction.
 
Method Summary
  Object getCurrentPage ()
          Returns the current page from which the page change originates.
  Object getTargetPage ()
          Returns the target page to change to.
 
Methods inherited from class java.util. EventObject
getSource, toString
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

doit

public boolean doit
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.

Constructor Detail

PageChangingEvent

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)
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.
Method Detail

getCurrentPage

public 
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 
Object getTargetPage()
Returns the target page to change to.

Returns:
the target page. In dialogs implemented by JFace, this will be an IDialogPage.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire