00001 package edu.rice.cs.hpc.traceviewer.painter; 00002 00003 import org.eclipse.swt.widgets.Composite; 00004 00005 import edu.rice.cs.hpc.traceviewer.spaceTimeData.SpaceTimeDataController; 00006 /****************************************************************** 00007 * An abstract class for the two canvases on the viewer to extend. 00008 *****************************************************************/ 00009 public abstract class SpaceTimeCanvas extends BufferedCanvas 00010 { 00012 protected SpaceTimeDataController stData; 00013 00015 public SpaceTimeCanvas(Composite _composite) 00016 { 00017 super(_composite); 00018 } 00019 00021 public abstract double getScalePixelsPerTime(); 00022 00024 public abstract double getScalePixelsPerRank(); 00025 00026 public void setSpaceTimeData(SpaceTimeDataController dataTraces) { 00027 this.stData = dataTraces; 00028 } 00029 }