X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.selectionview%2Fsrc%2Forg%2Fsimantics%2Fselectionview%2FSelectionViewUtils.java;h=14d73f20532ac2622146d9f4bcb98bd18c7df5d7;hb=158d6269660a3b415504f1da5a0b8341e761a5be;hp=ce80c9f827f41bfb9e2045432d1ea0e8c514efe2;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionViewUtils.java b/bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionViewUtils.java index ce80c9f82..14d73f205 100644 --- a/bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionViewUtils.java +++ b/bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionViewUtils.java @@ -16,9 +16,9 @@ public class SelectionViewUtils { public static Variable getSpecialCategory(ReadGraph graph, Resource rule, Variable info) throws DatabaseException { SelectionViewResources SEL = SelectionViewResources.getInstance(graph); - Resource categoryResource = info.getPossibleRepresents(graph); + //Resource categoryResource = info.getPossibleRepresents(graph); - if(SEL.CategoryHidden.equals(categoryResource)) { + //if(SEL.CategoryHidden.equals(categoryResource)) { Variable property = info.getParent(graph); Variable parent = property.getParent(graph); @@ -41,7 +41,7 @@ public class SelectionViewUtils { } finally { sclContext.put("graph", oldGraph); } - } + //} return null;