diff options
author | rsuen | 2009-04-28 13:07:23 +0000 |
---|---|---|
committer | rsuen | 2009-04-28 13:07:23 +0000 |
commit | 9b121466804ccd48eeef46a92f9f783a66f9d9cc (patch) | |
tree | 4fbfe2d6adfc5ecefb0e059f3df8fba6614ff6a8 /framework/bundles | |
parent | fb8dc6b46c64a61676c5231f6adf024b42e8c764 (diff) | |
download | org.eclipse.ecf-9b121466804ccd48eeef46a92f9f783a66f9d9cc.tar.gz org.eclipse.ecf-9b121466804ccd48eeef46a92f9f783a66f9d9cc.tar.xz org.eclipse.ecf-9b121466804ccd48eeef46a92f9f783a66f9d9cc.zip |
Note that containers should be disposd of in performCancel().
Diffstat (limited to 'framework/bundles')
-rw-r--r-- | framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/IConnectWizard.java | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/IConnectWizard.java b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/IConnectWizard.java index 2ebae3b28..24b2eee55 100644 --- a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/IConnectWizard.java +++ b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/IConnectWizard.java @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2004 Composent, Inc. and others. + * Copyright (c) 2004, 2009 Composent, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -32,4 +32,15 @@ public interface IConnectWizard extends IWizard { * the container that is to be connected. Will not be null. */ public void init(IWorkbench workbench, IContainer container); + + /** + * Performs actions in response to the user canceling the wizard and returns + * <code>true</code> if it was allowed, <code>false</code> if refused. + * Implementations should dispose of the container provided via + * {@link #init(IWorkbench, IContainer)} in this method if the cancelation + * is allowed. + * + * @return <code>true</code> if the cancel request was allowed, <code>false</code> otherwise + */ + public boolean performCancel(); } |