diff --git a/com.incquerylabs.v4md/src/main/com/incquerylabs/v4md/internal/MagicDrawProjectScope.java b/com.incquerylabs.v4md/src/main/com/incquerylabs/v4md/internal/MagicDrawProjectScope.java index a2ac437..4f16a5a 100644 --- a/com.incquerylabs.v4md/src/main/com/incquerylabs/v4md/internal/MagicDrawProjectScope.java +++ b/com.incquerylabs.v4md/src/main/com/incquerylabs/v4md/internal/MagicDrawProjectScope.java @@ -52,7 +52,7 @@ private static boolean isReferenceToBeFiltered(EReference reference, boolean ena String name = reference.getName(); if (reference.isContainment() && name.contains("_from_")) { return true; - } else if (enableDiagramContentIndexing && !name.equals("_representation")) { + } else if (enableDiagramContentIndexing && name.equals("_representation")) { /* * "_representation" is a special feature of the MagicDraw metamodel that * describes the containment of diagram related representation elements