From d1441b26771a274381a9c3ad006c1553db7dbc38 Mon Sep 17 00:00:00 2001 From: lehtonen Date: Fri, 11 May 2012 05:31:17 +0000 Subject: [PATCH] Fixed some deprecation warnings. refs #3431 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24937 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/sysdyn/ui/trend/chart/ChartComposite.java | 2 +- .../src/org/simantics/sysdyn/representation/Sheet.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/trend/chart/ChartComposite.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/trend/chart/ChartComposite.java index 5db0e809..13c25220 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/trend/chart/ChartComposite.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/trend/chart/ChartComposite.java @@ -20,11 +20,11 @@ import org.eclipse.swt.awt.SWT_AWT; import org.eclipse.swt.widgets.Composite; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; +import org.simantics.Simantics; import org.simantics.db.AsyncReadGraph; import org.simantics.db.ReadGraph; import org.simantics.db.Resource; import org.simantics.db.exception.DatabaseException; -import org.simantics.db.layer0.util.Simantics; import org.simantics.db.procedure.AsyncListener; import org.simantics.db.request.Read; import org.simantics.sysdyn.JFreeChartResource; diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/representation/Sheet.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/representation/Sheet.java index e88081eb..24106097 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/representation/Sheet.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/representation/Sheet.java @@ -3,6 +3,7 @@ package org.simantics.sysdyn.representation; import java.util.HashMap; import java.util.HashSet; +import org.simantics.Simantics; import org.simantics.databoard.Bindings; import org.simantics.databoard.binding.mutable.Variant; import org.simantics.databoard.primitives.MutableString; @@ -11,7 +12,6 @@ import org.simantics.db.Resource; import org.simantics.db.common.request.ReadRequest; import org.simantics.db.exception.DatabaseException; import org.simantics.db.layer0.exception.MissingVariableException; -import org.simantics.db.layer0.util.Simantics; import org.simantics.db.layer0.variable.Variable; import org.simantics.db.layer0.variable.Variables; import org.simantics.layer0.Layer0; -- 2.47.1