blob: f6efb45c79202dbe0013c42114cbb58fb1d0b6cf (
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
|
/*******************************************************************************
* Copyright (c) 2011 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.runtime.stepper.interfaces;
import org.eclipse.tcf.te.runtime.interfaces.extensions.IExecutableExtension;
import org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer;
/**
* The variant delegate is providing variants to the main modes. Variants can influence the executed
* steps or step groups.
*/
public interface IVariantDelegate extends IExecutableExtension {
/**
* Returns the valid mode variants for the current context The returned list of variants is
* probed in the returned order.
*
* @param context The context. Must not be <code>null</code>.
* @param data The data. Must not be <code>null</code>.
*
* @return The valid variants or an empty array.
*/
public String[] getValidVariants(IContext context, IPropertiesContainer data);
}
|