diff options
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IContextStepGroup.java')
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IContextStepGroup.java | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IContextStepGroup.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IContextStepGroup.java new file mode 100644 index 000000000..8e1aca910 --- /dev/null +++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IContextStepGroup.java @@ -0,0 +1,48 @@ +/******************************************************************************* + * 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.core.runtime.CoreException; +import org.eclipse.tcf.te.runtime.interfaces.extensions.IExecutableExtension; + + +/** + * A step group. + * <p> + * A step group is a set of single steps or other step groups. + */ +public interface IContextStepGroup extends IExecutableExtension { + + /** + * Returns if or if not the step group is locked for user modifications. + * + * @return <code>True</code> if locked for user modifications, <code>false</code> otherwise. + */ + public boolean isLocked(); + + /** + * Returns the list of steps or step groups enlisted in the group for the specified stepper, + * type and sub type. + * + * @param type The type id. Must be not <code>null</code>. + * @param subType The sub type Must be not <code>null</code>. + * + * @return The list of steps and step groups or an empty array. + * + * @throws CoreException If the steps cannot be determined. + */ + public IContextStepGroupable[] getSteps(String type, String subType) throws CoreException; + + /** + * Return the step group iterator or <code>null</code>. The step group iterator can be used to + * generate loops and conditions for a step group. + */ + public IContextStepGroupIterator getStepGroupIterator(); +} |