01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.dialogs;
11:
12: import org.eclipse.jface.wizard.IWizard;
13: import org.eclipse.ui.IWorkingSet;
14:
15: /**
16: * A working set new wizard allows creating new working sets using
17: * a plug-in specific working set page.
18: * <p>
19: * Use org.eclipse.ui.IWorkingSetManager#createWorkingSetNewWizard(String[] workingSetIds)
20: * to create an instance of this wizard.
21: * </p>
22: * <p>
23: * This interface is not intended to be implemented by clients.
24: * </p>
25: * @see org.eclipse.ui.IWorkingSetManager
26: * @see org.eclipse.ui.dialogs.IWorkingSetPage
27: *
28: * @since 3.1
29: */
30: public interface IWorkingSetNewWizard extends IWizard {
31:
32: /**
33: * Returns the new working set. Returns <code>null</code> if the wizard has
34: * been cancelled.
35: *
36: * @return the new working set or <code>null</code> if the wizard has been
37: * cancelled.
38: */
39: public IWorkingSet getSelection();
40: }
|