From eeac6a1f1968b474b24aea1759fcaeca46ec801e Mon Sep 17 00:00:00 2001 From: luukkainen Date: Wed, 29 Sep 2010 08:50:42 +0000 Subject: [PATCH] Layer0 + Apros changes git-svn-id: https://www.simantics.org/svn/simantics/interoperability/trunk@18131 ac1ea38d-2e2b-0410-8846-a27921b304fc --- org.simantics.interop/graph.tg | Bin 873 -> 697 bytes org.simantics.interop/graph/Interop.pgraph | 4 ++-- org.simantics.interop/plugin.xml | 4 ++-- .../interop/stubs/InteropResource.java | 3 --- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/org.simantics.interop/graph.tg b/org.simantics.interop/graph.tg index 03d4ec1f4525fd66c7bf40c0ba36b99661fc8288..cb77177e31da05d4c0db4628e43127cc6f24c6ba 100644 GIT binary patch delta 188 zcmaFKwv%-OGb5`Y0|SG=WDZ6vaV{W>nFUDjdgd177nS&ACKV+XRZcEs6cOVC3NtbR z32u+XVwc2{#E{B@RG!I47*&MXU{W0Zc_sNd`RSGXlLeSW7`Z2_GHEjkOb%p{W#pZl w&!pli0945V#H>L49|(AXG{{nJAm#^R9v}wU50eL(4C1o`F-$MxWJzXo0ErPHAOHXW delta 397 zcmZ8d%SyvQ6wM^235`utZIyz8i|)iySAyV9#6Y17{eiLENAMsb`JreO@5CkKaipx#TuV{xuuYA_EvGeM|NYi#botMgz zsr3y>yEYUuF9e6~T()FpXXn$|E;tDJt!%ETS(-}Qs#XW!Att4IA=A*FFU(LVt-Nm| zO@(_CldJu|TB#Z<)si}%Oc%=5PxWIv@=SKO)?{p}X|d|NPjM=S?pqv-fg6XDO@^|F zL$clbh~GH1&p?lYkuqWiMh_Uhe>ptB`nUrca$k=DaLwn~6nVlJBBFWdUc-wqzM_4x Lb@F8OYvuF@;f6jM 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) { -- 2.47.1