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/IStepperService.java')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepperService.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepperService.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepperService.java
index 186ae3f4e..e33c4d547 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepperService.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepperService.java
@@ -9,6 +9,7 @@
*******************************************************************************/
package org.eclipse.tcf.te.runtime.stepper.interfaces;
+import org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer;
import org.eclipse.tcf.te.runtime.services.interfaces.IService;
/**
@@ -17,6 +18,14 @@ import org.eclipse.tcf.te.runtime.services.interfaces.IService;
public interface IStepperService extends IService {
/**
+ * Checks if this service can handle the given operation.
+ * @param context The context. Must not be <code>null</code>.
+ * @param operation The operation. Must not be <code>null</code>.
+ * @return <code>true</code> if this service handles the given operation.
+ */
+ public boolean isHandledOperation(Object context, String operation);
+
+ /**
* Get the step group id for the given context and operation
* or <code>null</code> if this operation is not available.
*
@@ -48,6 +57,15 @@ public interface IStepperService extends IService {
public IStepContext getStepContext(Object context, String operation);
/**
+ * Get the step data for the given context and operation.
+ *
+ * @param context The context. Must not be <code>null</code>.
+ * @param operation The operation. Must not be <code>null</code>.
+ * @return The step data or an empty properties container.
+ */
+ public IPropertiesContainer getStepData(Object context, String operation);
+
+ /**
* Get the enabled state for the given operation.
*
* @param context The context. Must not be <code>null</code>.

Back to the top