From: luukkainen Date: Wed, 29 Sep 2010 08:50:42 +0000 (+0000) Subject: Layer0 + Apros changes X-Git-Tag: v1.31.0~132 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=eeac6a1f1968b474b24aea1759fcaeca46ec801e;p=simantics%2Finterop.git Layer0 + Apros changes git-svn-id: https://www.simantics.org/svn/simantics/interoperability/trunk@18131 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.interop/graph.tg b/org.simantics.interop/graph.tg index 03d4ec1..cb77177 100644 Binary files a/org.simantics.interop/graph.tg and b/org.simantics.interop/graph.tg differ diff --git a/org.simantics.interop/graph/Interop.pgraph b/org.simantics.interop/graph/Interop.pgraph index 074ac7a..8342860 100644 --- a/org.simantics.interop/graph/Interop.pgraph +++ b/org.simantics.interop/graph/Interop.pgraph @@ -6,8 +6,8 @@ INTEROP = : L0.Ontology L0.HasResourceClass "org.simantics.interop.stubs.InteropResource" @L0.new -INTEROP.InteropFeature : PROJ.Feature - L0.HasDescription "Interop feature." +//INTEROP.InteropFeature : PROJ.Feature +// L0.HasDescription "Interop feature." INTEROP.ImportLibrary + browseContext="http://www.apros.fi/Apros-6.0/AprosModelBrowser"> @@ -18,7 +18,7 @@ + browseContext="http://www.apros.fi/Apros-6.0/AprosModelBrowser"> diff --git a/org.simantics.interop/src/org/simantics/interop/stubs/InteropResource.java b/org.simantics.interop/src/org/simantics/interop/stubs/InteropResource.java index c88629f..ffa281f 100644 --- a/org.simantics.interop/src/org/simantics/interop/stubs/InteropResource.java +++ b/org.simantics.interop/src/org/simantics/interop/stubs/InteropResource.java @@ -20,11 +20,9 @@ import org.simantics.db.exception.DatabaseException; public class InteropResource { public final Resource ImportLibrary; - public final Resource InteropFeature; public static class URIs { public static final String ImportLibrary = "http://www.simantics.org/Interop-1.0/ImportLibrary"; - public static final String InteropFeature = "http://www.simantics.org/Interop-1.0/InteropFeature"; } public static Resource getResourceOrNull(ReadGraph graph, String uri) { @@ -38,7 +36,6 @@ public class InteropResource { public InteropResource(ReadGraph graph) { ImportLibrary = getResourceOrNull(graph, URIs.ImportLibrary); - InteropFeature = getResourceOrNull(graph, URIs.InteropFeature); } public static InteropResource getInstance(ReadGraph graph) {