Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepContext.java')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepContext.java43
1 files changed, 43 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepContext.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepContext.java
new file mode 100644
index 000000000..fb8b1a712
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepContext.java
@@ -0,0 +1,43 @@
+/*******************************************************************************
+ * 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.properties.IPropertiesContainer;
+import org.eclipse.tcf.te.runtime.model.interfaces.IModelNodeProvider;
+
+/**
+ * Interface to be implemented by objects representing a context for a step.
+ */
+public interface IStepContext extends IModelNodeProvider {
+
+ /**
+ * Returns the context id.
+ *
+ * @return The context id or <code>null</code>.
+ */
+ public String getId();
+
+ /**
+ * Returns a name/label to be used within the UI to represent this context
+ * to the user.
+ *
+ * @return The name or <code>null</code>.
+ */
+ public String getName();
+
+ /**
+ * Returns a possible multi-line string providing detail information
+ * about the context which shall be included in failure messages.
+ *
+ * @param data The step data. Must not be <code>null</code>.
+ * @return The context information or <code>null</code>.
+ */
+ public String getInfo(IPropertiesContainer data);
+}

Back to the top