X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.charts%2Fsrc%2Forg%2Fsimantics%2Fcharts%2Feditor%2FPropertiesAction.java;fp=bundles%2Forg.simantics.charts%2Fsrc%2Forg%2Fsimantics%2Fcharts%2Feditor%2FPropertiesAction.java;h=ec63767298574b03167214534ec66be9b85b5d8a;hp=2ec342f369748e635ac5e83dca551f395d87ca37;hb=e88be95edf1f80781646cfdf717ec1b663264179;hpb=a22c5a8681859b6518017f3ad2be7e9319a6695e diff --git a/bundles/org.simantics.charts/src/org/simantics/charts/editor/PropertiesAction.java b/bundles/org.simantics.charts/src/org/simantics/charts/editor/PropertiesAction.java index 2ec342f36..ec6376729 100644 --- a/bundles/org.simantics.charts/src/org/simantics/charts/editor/PropertiesAction.java +++ b/bundles/org.simantics.charts/src/org/simantics/charts/editor/PropertiesAction.java @@ -3,13 +3,13 @@ package org.simantics.charts.editor; import org.eclipse.jface.action.Action; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Shell; +import org.simantics.Simantics; import org.simantics.charts.ontology.ChartResource; import org.simantics.charts.ui.ChartDoubleClickHandler; import org.simantics.db.ReadGraph; import org.simantics.db.Resource; import org.simantics.db.exception.DatabaseException; import org.simantics.db.request.Read; -import org.simantics.ui.SimanticsUI; /** * @author Tuukka Lehtonen @@ -28,7 +28,7 @@ public class PropertiesAction extends Action { @Override public void run() { final Shell shell = control.getShell(); - SimanticsUI.getSession().asyncRequest(new Read() { + Simantics.getSession().asyncRequest(new Read() { @Override public Object perform(ReadGraph graph) throws DatabaseException { ChartResource CHART = ChartResource.getInstance(graph);