|
Added
Link Here
|
| 1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2009 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
| 6 |
* http://www.eclipse.org/legal/epl-v10.html |
| 7 |
* |
| 8 |
* Contributors: |
| 9 |
* IBM Corporation - initial API and implementation |
| 10 |
******************************************************************************/ |
| 11 |
|
| 12 |
package org.eclipse.jface.wizard; |
| 13 |
|
| 14 |
/** |
| 15 |
* <p> |
| 16 |
* <code>IWizardContainer3</code> is a supplement to |
| 17 |
* <code>IWizardContainer</code> that adds methods for finishing and canceling |
| 18 |
* the contained wizard. |
| 19 |
* </p> |
| 20 |
* |
| 21 |
* <p> |
| 22 |
* The class <code>WizardDialog</code> provides a fully functional |
| 23 |
* implementation of this interface which will meet the needs of most clients. |
| 24 |
* However, clients are also free to implement this interface if |
| 25 |
* <code>WizardDialog</code> does not suit their needs. |
| 26 |
* </p> |
| 27 |
* |
| 28 |
* @see org.eclipse.jface.wizard.IWizardContainer |
| 29 |
* @see org.eclipse.jface.wizard.IWizardContainer2 |
| 30 |
* @since 3.5 |
| 31 |
*/ |
| 32 |
public interface IWizardContainer3 extends IWizardContainer2 { |
| 33 |
|
| 34 |
/** |
| 35 |
* Finishes the contained wizard. |
| 36 |
* <p> |
| 37 |
* This method should be used by clients, which wants to finish the wizard |
| 38 |
* (and execute all complementing actions) in response to some custom action |
| 39 |
* such as double clicking in a list. |
| 40 |
* </p> |
| 41 |
* |
| 42 |
* @see #cancelWizard() |
| 43 |
* |
| 44 |
* @return true if the wizard has finished successfully, false otherwise. |
| 45 |
* After this method returns true, clients should expect that the |
| 46 |
* contained wizard and the wizard container itslef have been |
| 47 |
* disposed and are no longer accessible. |
| 48 |
*/ |
| 49 |
public boolean finishWizard(); |
| 50 |
|
| 51 |
/** |
| 52 |
* Cancels the contained wizard. |
| 53 |
* <p> |
| 54 |
* This method should be used by clients, which wants to cancel the wizard |
| 55 |
* (and execute all complementing actions) in response to some custom action |
| 56 |
* such as double clicking in a list. |
| 57 |
* </p> |
| 58 |
* |
| 59 |
* @see #finishWizard() |
| 60 |
* |
| 61 |
* @return true if the wizard has accepted the cancel request, false |
| 62 |
* otherwise. After this method returns true, clients should expect |
| 63 |
* that the contained wizard and the wizard container itslef have |
| 64 |
* been disposed and are no longer accessible. |
| 65 |
*/ |
| 66 |
public boolean cancelWizard(); |
| 67 |
|
| 68 |
} |