1 /******************************************************************************* 2 * Copyright (c) 2000, 2006 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.ui; 13 14 import org.eclipse.jface.viewers.IStructuredSelection; 15 import org.eclipse.jface.wizard.IWizard; 16 17 /** 18 * Implementors represent creation wizards that are to be 19 * contributed to the workbench's creation wizard extension point. 20 * 21 * @see org.eclipse.jface.wizard.IWizard 22 */ 23 public interface IWorkbenchWizard extends IWizard { 24 /** 25 * Initializes this creation wizard using the passed workbench and 26 * object selection. 27 * <p> 28 * This method is called after the no argument constructor and 29 * before other methods are called. 30 * </p> 31 * 32 * @param workbench the current workbench 33 * @param selection the current object selection 34 */ 35 void init(IWorkbench workbench, IStructuredSelection selection); 36 } 37