List of usage examples for org.eclipse.jface.dialogs PageChangingEvent PageChangingEvent
public PageChangingEvent(Object source, Object currentPage, Object targetPage)
From source file:com.codesourcery.internal.installer.ui.WizardDialog.java
License:Open Source License
/** * Notifies page changing listeners and returns result of page changing * processing to the sender./*from w ww . j av a 2s. c o m*/ * * @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; }
From source file:org.kalypso.contribs.eclipse.jface.wizard.view.WizardView.java
License:Open Source License
/** * Notifies page changing listeners and returns result of page changing processing to the sender. * * @param eventType//from ww w. java 2 s . co m * @return <code>true</code> if page changing listener completes successfully, <code>false</code> otherwise */ private boolean doPageChanging(final IWizardPage targetPage) { final PageChangingEvent e = new PageChangingEvent(this, getCurrentPage(), targetPage); firePageChanging(e); // Prevent navigation if necessary return e.doit; }
From source file:org.modelio.api.ui.ModelioWizardDialog.java
License:Apache License
/** * Notifies page changing listeners and returns result of page changing * processing to the sender./*from w w w . j av a2 s. co m*/ * @param eventType * @return <code>true</code> if page changing listener completes * successfully, <code>false</code> otherwise */ @objid("bc1f49d4-120f-11e2-b5c6-002564c97630") private boolean doPageChanging(final IWizardPage targetPage) { PageChangingEvent e = new PageChangingEvent(this, getCurrentPage(), targetPage); firePageChanging(e); // Prevent navigation if necessary return e.doit; }