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