Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/CategoryElementWrapper.java')
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/CategoryElementWrapper.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/CategoryElementWrapper.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/CategoryElementWrapper.java
index 0b8248f7b..a5e3e1cb9 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/CategoryElementWrapper.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/CategoryElementWrapper.java
@@ -35,6 +35,7 @@ public class CategoryElementWrapper extends QueriedElementWrapper {
super(queryable, parent);
}
+ @Override
protected boolean shouldWrap(Object match) {
if (match instanceof IInstallableUnit) {
IInstallableUnit iu = (IInstallableUnit) match;
@@ -62,6 +63,7 @@ public class CategoryElementWrapper extends QueriedElementWrapper {
return false;
}
+ @Override
public Collection<?> getElements(Collector<?> collector) {
if (collector.isEmpty())
return super.getElements(collector);
@@ -70,6 +72,7 @@ public class CategoryElementWrapper extends QueriedElementWrapper {
return results;
}
+ @Override
protected Object wrap(Object item) {
IInstallableUnit iu = (IInstallableUnit) item;
return super.wrap(new CategoryElement(parent, iu));

Back to the top