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
Answertopia.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
Interface IPageChangeProvider

All Known Implementing Classes:
FormEditor, MultiPageEditorPart, PreferenceDialog, SharedHeaderFormEditor, WizardDialog

public interface IPageChangeProvider

Minimal interface to a page change provider. Used for dialogs which can switch between multiple pages.

Since:
3.1

Method Summary
 void addPageChangedListener ( IPageChangedListener listener)
          Adds a listener for page changes in this page change provider.
  Object getSelectedPage ()
          Returns the currently selected page in the dialog.
 void removePageChangedListener ( IPageChangedListener listener)
          Removes the given page change listener from this page change provider.
 

Method Detail

getSelectedPage


Object getSelectedPage()
Returns the currently selected page in the dialog.

Returns:
the selected page in the dialog or null if none is selected. The type may be domain specific. In the JFace provided dialogs this will be an instance of IDialogPage.

addPageChangedListener

void addPageChangedListener(
IPageChangedListener listener)
Adds a listener for page changes in this page change provider. Has no effect if an identical listener is already registered.

Parameters:
listener - a page changed listener

removePageChangedListener

void removePageChangedListener(
IPageChangedListener listener)
Removes the given page change listener from this page change provider. Has no effect if an identical listener is not registered.

Parameters:
listener - a page changed listener

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