Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
index dc1c90aa2e4..8908be4ec17 100644
--- a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
+++ b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java
@@ -823,7 +823,8 @@ public class PartServiceImpl implements EPartService {
}
} else {
List<MElementContainer> containers = modelService.findElements(getContainer(),
- null, MElementContainer.class, Collections.singletonList(category));
+ null, MElementContainer.class, Collections.singletonList(category),
+ EModelService.PRESENTATION);
if (containers.isEmpty()) {
// couldn't find any containers with the specified tag, just add it to the
// end

Back to the top