Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2010-01-07 20:01:17 +0000
committerChris Goldthorpe2010-01-07 20:01:17 +0000
commit04d48e65e383124d2009902256d0a623b8710ea2 (patch)
tree4b6f196d8484a653ed26166db32f469c8771fa59 /org.eclipse.ui.intro
parent63b7537ecfefa9018a5971141eca7b23fdb529ab (diff)
downloadeclipse.platform.ua-04d48e65e383124d2009902256d0a623b8710ea2.tar.gz
eclipse.platform.ua-04d48e65e383124d2009902256d0a623b8710ea2.tar.xz
eclipse.platform.ua-04d48e65e383124d2009902256d0a623b8710ea2.zip
Group labels were not added to search index
Diffstat (limited to 'org.eclipse.ui.intro')
-rw-r--r--org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java
index 8ea83f3d5..f851e4e4d 100644
--- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java
+++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2007 IBM Corporation and others.
+ * Copyright (c) 2005, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -195,6 +195,9 @@ public class IntroSearchParticipant extends LuceneSearchParticipant {
if (child instanceof IntroLink) {
String text = ((IntroLink)child).getLabel();
appendNewText(buf, text);
+ } else if (child instanceof IntroGroup) {
+ String text = ((IntroGroup)child).getLabel();
+ appendNewText(buf, text);
} else if (child instanceof IntroText) {
IntroText childIntroText = (IntroText) child;
appendNewText(buf, childIntroText.getText());

Back to the top