Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-10-31 05:18:11 -0400
committerUwe Stieber2013-11-02 04:18:45 -0400
commitfe4801d772c40bfe3684f487cc67dc41d601c2ef (patch)
tree7e98d488f759ddfb706a4cfe13029e86e7f661d2 /target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf
parent9e0db973ab4f294e5c99f9171670d1176a9b304b (diff)
downloadorg.eclipse.tcf-fe4801d772c40bfe3684f487cc67dc41d601c2ef.tar.gz
org.eclipse.tcf-fe4801d772c40bfe3684f487cc67dc41d601c2ef.tar.xz
org.eclipse.tcf-fe4801d772c40bfe3684f487cc67dc41d601c2ef.zip
Target Explorer: Rework processes runtime model refresh services/RuntimeModelRefreshService.java
- Fix: Refreshed context properties and children not merged reliable into model - Introduced runtime model refresh service delegates. Allows to refresh target specific properties. - Separate non-UI delegates from UI delegates. Introduced IDelegateService for non-UI delegates.
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/handler/StartDebugCommandHandler.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/handler/StartDebugCommandHandler.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/handler/StartDebugCommandHandler.java
index ae58ac288..f7df2c115 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/handler/StartDebugCommandHandler.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/handler/StartDebugCommandHandler.java
@@ -29,7 +29,7 @@ import org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer;
import org.eclipse.tcf.te.runtime.properties.PropertiesContainer;
import org.eclipse.tcf.te.runtime.services.ServiceManager;
import org.eclipse.tcf.te.runtime.services.interfaces.IDebugService;
-import org.eclipse.tcf.te.runtime.services.interfaces.IUIService;
+import org.eclipse.tcf.te.runtime.services.interfaces.IDelegateService;
import org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel;
import org.eclipse.tcf.te.tcf.locator.steps.StartDebuggerStep.IDelegate;
import org.eclipse.tcf.te.ui.async.UICallbackInvocationDelegate;
@@ -108,8 +108,8 @@ public class StartDebugCommandHandler extends AbstractHandler {
@Override
protected void internalDone(Object caller, IStatus status) {
// Check if there is a delegate registered
- IUIService uiService = ServiceManager.getInstance().getService(peerModel, IUIService.class, false);
- IDelegate delegate = uiService != null ? uiService.getDelegate(peerModel, IDelegate.class) : null;
+ IDelegateService service = ServiceManager.getInstance().getService(peerModel, IDelegateService.class, false);
+ IDelegate delegate = service != null ? service.getDelegate(peerModel, IDelegate.class) : null;
if (delegate != null) {
delegate.postAttachDebugger(peerModel, monitor, callback);

Back to the top