Search in sources :

Example 1 with PageChangingEvent

use of org.eclipse.jface.dialogs.PageChangingEvent in project translationstudio8 by heartsome.

the class TSWizardDialog method doPageChanging.

/**
	 * Notifies page changing listeners and returns result of page changing
	 * processing to the sender.
	 * 
	 * @param eventType
	 * @return <code>true</code> if page changing listener completes
	 *         successfully, <code>false</code> otherwise
	 */
private boolean doPageChanging(IWizardPage targetPage) {
    PageChangingEvent e = new PageChangingEvent(this, getCurrentPage(), targetPage);
    firePageChanging(e);
    // Prevent navigation if necessary
    return e.doit;
}
Also used : PageChangingEvent(org.eclipse.jface.dialogs.PageChangingEvent)

Aggregations

PageChangingEvent (org.eclipse.jface.dialogs.PageChangingEvent)1