Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2dcaf1656d36d13ec54e453db4073ea17e009c97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*******************************************************************************
 * Copyright (c) 2012 Wind River Systems, 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 http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Wind River Systems - initial API and implementation
 *******************************************************************************/
package org.eclipse.tcf.te.ui.wizards.interfaces;

import org.eclipse.core.runtime.IExecutableExtension;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.wizards.IWizardCategory;
import org.eclipse.ui.wizards.IWizardDescriptor;

/**
 * INewWizardProvider
 */
public interface INewWizardProvider extends IExecutableExtension {

	/**
	 * Get the dynamic list of new wizard categories including the wizards.
	 * @return The list of new wizard categories.
	 */
	public IWizardCategory[] getCategories();

	/**
	 * Get the list if common wizards for the given selection.
	 * @param selection The current selection.
	 * @return A list of wizards or <code>null</code>.
	 */
	public IWizardDescriptor[] getCommonWizards(ISelection selection);
}

Back to the top