Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler/src/org/eclipse/tcf/te/runtime/statushandler/internal/StatusHandlerBindingExtensionPointManager.java19
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler/src/org/eclipse/tcf/te/runtime/statushandler/status/QuestionStatus.java1
2 files changed, 1 insertions, 19 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler/src/org/eclipse/tcf/te/runtime/statushandler/internal/StatusHandlerBindingExtensionPointManager.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler/src/org/eclipse/tcf/te/runtime/statushandler/internal/StatusHandlerBindingExtensionPointManager.java
index 8d80604ab..9ecc6c6c4 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler/src/org/eclipse/tcf/te/runtime/statushandler/internal/StatusHandlerBindingExtensionPointManager.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler/src/org/eclipse/tcf/te/runtime/statushandler/internal/StatusHandlerBindingExtensionPointManager.java
@@ -154,23 +154,4 @@ public class StatusHandlerBindingExtensionPointManager extends AbstractExtension
return contributions.toArray(new StatusHandlerBinding[contributions.size()]);
}
-
- /**
- * Returns the status handler binding identified by its unique id. If no status
- * handler binding with the specified id is registered, <code>null</code> is returned.
- *
- * @param id The unique id of the status handler binding or <code>null</code>
- *
- * @return The status handler binding instance or <code>null</code>.
- */
- public StatusHandlerBinding getBinding(String id) {
- StatusHandlerBinding contribution = null;
- if (getExtensions().containsKey(id)) {
- ExecutableExtensionProxy<StatusHandlerBinding> proxy = getExtensions().get(id);
- // Get the extension instance
- contribution = proxy.getInstance();
- }
-
- return contribution;
- }
}
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler/src/org/eclipse/tcf/te/runtime/statushandler/status/QuestionStatus.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler/src/org/eclipse/tcf/te/runtime/statushandler/status/QuestionStatus.java
index c9f03416e..9bd1acd49 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler/src/org/eclipse/tcf/te/runtime/statushandler/status/QuestionStatus.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.statushandler/src/org/eclipse/tcf/te/runtime/statushandler/status/QuestionStatus.java
@@ -72,5 +72,6 @@ public class QuestionStatus extends Status {
*/
@Override
protected final void setSeverity(int severity) {
+ if (IStatus.OK == severity) super.setSeverity(severity);
}
}

Back to the top