]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.selectionview/src/org/simantics/selectionview/SelectionViewUtils.java
Removed unnecessary getPossibleRepresents invocation
[simantics/platform.git] / bundles / org.simantics.selectionview / src / org / simantics / selectionview / SelectionViewUtils.java
index ce80c9f827f41bfb9e2045432d1ea0e8c514efe2..14d73f20532ac2622146d9f4bcb98bd18c7df5d7 100644 (file)
@@ -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;