Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-08-12 10:21:41 -0400
committerUwe Stieber2013-08-12 10:21:41 -0400
commit944a2ddfbe527b9adceaa47a07de6dde6e9f9d81 (patch)
treefc065ee1045adb6c48ad133da625d4952a7cfb3b /target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui
parent481e54aa370055890b1c1f0bc77be1d4a726c328 (diff)
downloadorg.eclipse.tcf-944a2ddfbe527b9adceaa47a07de6dde6e9f9d81.tar.gz
org.eclipse.tcf-944a2ddfbe527b9adceaa47a07de6dde6e9f9d81.tar.xz
org.eclipse.tcf-944a2ddfbe527b9adceaa47a07de6dde6e9f9d81.zip
Target Explorer: Improve CLI peer filter
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/navigator/ContentProviderDelegate.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/navigator/ContentProviderDelegate.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/navigator/ContentProviderDelegate.java
index 16cd685b8..e9b15b507 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/navigator/ContentProviderDelegate.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/navigator/ContentProviderDelegate.java
@@ -129,7 +129,10 @@ public class ContentProviderDelegate implements ICommonContentProvider, ITreePat
filtered |= !peerModel.isVisible();
}
- filtered |= peerModel.getPeer().getName() != null && peerModel.getPeer().getName().startsWith("Eclipse CLI"); //$NON-NLS-1$
+ filtered |= peerModel.getPeer().getName() != null
+ && (peerModel.getPeer().getName().startsWith("Eclipse CLI") //$NON-NLS-1$
+ || peerModel.getPeer().getName().endsWith("CLI Server") //$NON-NLS-1$
+ || peerModel.getPeer().getName().endsWith("CLI Client")); //$NON-NLS-1$
return filtered;
}

Back to the top