1 /******************************************************************************* 2 * Copyright (c) 2000, 2005 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 package org.eclipse.ui.dialogs; 12 13 import org.eclipse.jface.wizard.IWizard; 14 import org.eclipse.ui.IWorkingSet; 15 16 /** 17 * A working set new wizard allows creating new working sets using 18 * a plug-in specific working set page. 19 * <p> 20 * Use org.eclipse.ui.IWorkingSetManager#createWorkingSetNewWizard(String[] workingSetIds) 21 * to create an instance of this wizard. 22 * </p> 23 * <p> 24 * This interface is not intended to be implemented by clients. 25 * </p> 26 * @see org.eclipse.ui.IWorkingSetManager 27 * @see org.eclipse.ui.dialogs.IWorkingSetPage 28 * 29 * @since 3.1 30 */ 31 public interface IWorkingSetNewWizard extends IWizard { 32 33 /** 34 * Returns the new working set. Returns <code>null</code> if the wizard has 35 * been cancelled. 36 * 37 * @return the new working set or <code>null</code> if the wizard has been 38 * cancelled. 39 */ 40 public IWorkingSet getSelection(); 41 } 42