Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2013-09-25 03:52:19 -0400
committerTobias Schwarz2013-09-25 03:52:19 -0400
commitda300dd2f5c3e92a0fbd255a1faed7ca57bd231f (patch)
treedcdd3a4f8ead71fbb344d30ccbc7c3e1381afd31 /target_explorer/plugins
parent8d7ce65414a6a84bbd553ab4411e6970746bdd85 (diff)
downloadorg.eclipse.tcf-da300dd2f5c3e92a0fbd255a1faed7ca57bd231f.tar.gz
org.eclipse.tcf-da300dd2f5c3e92a0fbd255a1faed7ca57bd231f.tar.xz
org.eclipse.tcf-da300dd2f5c3e92a0fbd255a1faed7ca57bd231f.zip
Target Explorer: remove unneeded refresh
Diffstat (limited to 'target_explorer/plugins')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/services/DefaultContextService.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/services/DefaultContextService.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/services/DefaultContextService.java
index 545268c8f..8b22e38a3 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/services/DefaultContextService.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/internal/services/DefaultContextService.java
@@ -31,10 +31,8 @@ import org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModelProperties;
import org.eclipse.tcf.te.tcf.locator.interfaces.services.IDefaultContextService;
import org.eclipse.tcf.te.tcf.locator.interfaces.services.ILocatorModelLookupService;
import org.eclipse.tcf.te.tcf.locator.model.Model;
-import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.navigator.CommonNavigator;
/**
* Default context service implementation.
@@ -85,14 +83,6 @@ public class DefaultContextService extends AbstractService implements IDefaultCo
HistoryManager.getInstance().add(getClass().getName(), peerModel.getPeerId());
EventManager.getInstance().fireEvent(new ChangeEvent(this, ChangeEvent.ID_ADDED, peerModel, peerModel));
- IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
- if (window != null && window.getActivePage() != null) {
- IViewPart view = window.getActivePage().findView(PART_ID_TE_VIEW);
- if (view instanceof CommonNavigator) {
- ((CommonNavigator)view).getCommonViewer().refresh();
- }
- }
-
final AtomicReference<String> type = new AtomicReference<String>();
Protocol.invokeAndWait(new Runnable() {
@Override

Back to the top