From 93619b2b98512acf92518be832c5a8bb23c9aed5 Mon Sep 17 00:00:00 2001 From: villberg Date: Wed, 16 Jul 2014 09:34:59 +0000 Subject: [PATCH] refs #5110 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29906 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../simantics/sysdyn/ui/browser/contributions/Project.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/contributions/Project.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/contributions/Project.java index 73725ccb..0d381be5 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/contributions/Project.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/contributions/Project.java @@ -48,7 +48,10 @@ public class Project extends ViewpointContributor { ProjectResource PROJ = ProjectResource.getInstance(graph); if(!graph.isInstanceOf(project, PROJ.Project)) return Collections.emptyList(); Collection ontologies = Simantics.applySCL("Simantics/SharedOntologies", "traverseSharedOntologies", graph, graph.getRootLibrary()); - for(Resource o : ontologies) result.add(new SharedOntologyNode(o)); + for(Resource o : ontologies) { + if(!graph.isImmutable(o)) + result.add(new SharedOntologyNode(o)); + } return result; -- 2.47.1