Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Chen2012-06-27 03:45:04 +0000
committerWilliam Chen2012-06-27 03:45:04 +0000
commit1de05fa0f882902de357daf3186393690216ebed (patch)
tree13d6e5d053396274addd5081b6f3deb7ac7af9dd /target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui
parent93a858487739e0e684f8753ff4253879be51d97c (diff)
downloadorg.eclipse.tcf-1de05fa0f882902de357daf3186393690216ebed.tar.gz
org.eclipse.tcf-1de05fa0f882902de357daf3186393690216ebed.tar.xz
org.eclipse.tcf-1de05fa0f882902de357daf3186393690216ebed.zip
Target Explorer: Change some label messages.
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/FSTreeNodeSearchable.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/FSTreeNodeSearchable.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/FSTreeNodeSearchable.java
index 06b30de1e..e12ac4f27 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/FSTreeNodeSearchable.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/FSTreeNodeSearchable.java
@@ -45,7 +45,9 @@ public class FSTreeNodeSearchable extends CompositeSearchable {
@Override
public String getSearchMessage(Object rootElement) {
String message = Messages.FSTreeNodeSearchable_FindMessage;
+ FSTreeNode rootNode = (FSTreeNode) rootElement;
String rootName = getElementName(rootElement);
+ if (rootNode != null && !rootNode.isSystemRoot()) rootName = "\"" + rootName + "\""; //$NON-NLS-1$//$NON-NLS-2$
message = NLS.bind(message, rootName);
return message;
}

Back to the top