Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2013-05-14 08:22:34 -0400
committerTobias Schwarz2013-05-14 08:23:13 -0400
commit7f8cebfdf922e75e88f5b254d4020e7822950afc (patch)
tree6dd36b3482b17ff99913b2f57b07c668464334eb /target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src
parentd3a39f85ad83f2a18ad33b47941f5c97405613ec (diff)
downloadorg.eclipse.tcf-7f8cebfdf922e75e88f5b254d4020e7822950afc.tar.gz
org.eclipse.tcf-7f8cebfdf922e75e88f5b254d4020e7822950afc.tar.xz
org.eclipse.tcf-7f8cebfdf922e75e88f5b254d4020e7822950afc.zip
Target Explorer: fix validation
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ISimulatorService.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ISimulatorService.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ISimulatorService.java
index b10388c12..f5e85ee0e 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ISimulatorService.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.services/src/org/eclipse/tcf/te/runtime/services/interfaces/ISimulatorService.java
@@ -84,4 +84,14 @@ public interface ISimulatorService extends IService {
* @return <code>true</code> if the configuration is valid.
*/
public boolean isValidConfig(Object context, String config);
+
+ /**
+ * Validate a simulator context
+ * .
+ * @param context The context. Must not be <code>null</code>.
+ * @param config The configuration to validate.
+ *
+ * @return <code>true</code> if the context is valid.
+ */
+ public boolean isValidContext(Object context, String config);
}

Back to the top