From 9589848f55b83f1a7a09090177303b1dec311e04 Mon Sep 17 00:00:00 2001 From: lempinen Date: Fri, 29 Apr 2011 10:57:51 +0000 Subject: [PATCH] added getPossibleChild -method that is used by operating interface trend element git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20681 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/sysdyn/adapter/HistoryVariable.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/HistoryVariable.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/HistoryVariable.java index fdde1806..1b0dfe75 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/HistoryVariable.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/HistoryVariable.java @@ -93,6 +93,14 @@ public class HistoryVariable extends ChildVariable { return super.getInterface(graph, clazz); } + @Override + public Variable getPossibleChild(ReadGraph graph, String name) throws DatabaseException { + try { + return getChild(graph, name); + } catch (DatabaseException e) { + return null; + } + } @Override public Variable getChild(ReadGraph graph, String name) throws DatabaseException { -- 2.47.1