From: lehtonen Date: Fri, 11 May 2012 05:31:17 +0000 (+0000) Subject: Fixed some deprecation warnings. X-Git-Tag: simantics-1.6~6^2~10 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=d1441b26771a274381a9c3ad006c1553db7dbc38;p=simantics%2Fsysdyn.git Fixed some deprecation warnings. refs #3431 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24937 ac1ea38d-2e2b-0410-8846-a27921b304fc --- 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;