diff options
author | ddunne | 2011-01-26 16:35:21 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2011-01-26 16:35:21 +0000 |
commit | 02cb6bb581002f53a36d8930e54f769687dd2ede (patch) | |
tree | ec763509ba655d48c2fdfaf0ba88e6ab5725ac6b | |
parent | aa53524bcd4b5ff3d31ec5a71a235bbe9a3d3253 (diff) | |
download | org.eclipse.osee-02cb6bb581002f53a36d8930e54f769687dd2ede.tar.gz org.eclipse.osee-02cb6bb581002f53a36d8930e54f769687dd2ede.tar.xz org.eclipse.osee-02cb6bb581002f53a36d8930e54f769687dd2ede.zip |
feature: Add Artifact Type column to Advanced Keyword Search results
-rw-r--r-- | plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/operation/AdvancedKeywordSearchBlam.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/operation/AdvancedKeywordSearchBlam.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/operation/AdvancedKeywordSearchBlam.java index 07d20b8ec9b..0c4f13cc33c 100644 --- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/operation/AdvancedKeywordSearchBlam.java +++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/blam/operation/AdvancedKeywordSearchBlam.java @@ -71,7 +71,7 @@ public class AdvancedKeywordSearchBlam extends AbstractBlam { resultData.log(String.format("[%s] on branch [%s] (keyword groups listed below results)", getName(), branch)); resultData.addRaw(AHTML.beginMultiColumnTable(100, 1)); List<String> headerList = new ArrayList<String>(); - headerList.addAll(Arrays.asList("Artifact", "Keywords matched", "Guid", "Link")); + headerList.addAll(Arrays.asList("Artifact", "Keywords matched", "Guid", "Link", "Artifact Type")); for (AttributeType attrType : attrTypes) { headerList.add(attrType.getName()); } @@ -79,7 +79,8 @@ public class AdvancedKeywordSearchBlam extends AbstractBlam { for (Entry<Artifact, Collection<String>> entry : artifactToMatch.entrySet()) { List<String> valueList = new ArrayList<String>(); valueList.addAll(Arrays.asList(entry.getKey().getName(), Collections.toString(";", entry.getValue()), - entry.getKey().getGuid(), XResultData.getHyperlink("open", entry.getKey()))); + entry.getKey().getGuid(), XResultData.getHyperlink("open", entry.getKey()), + entry.getKey().getArtifactTypeName())); for (AttributeType attrType : attrTypes) { valueList.add(entry.getKey().getAttributesToString(attrType)); } |