00001 package edu.rice.cs.hpc.viewer.graph; 00002 00003 public class GraphType { 00004 public enum PlotType {PLOT, SORTED, HISTO}; 00005 00006 static public String toString(PlotType type) { 00007 00008 switch (type) { 00009 case PLOT: 00010 return "Plot graph"; 00011 case SORTED: 00012 return "Sorted plot graph"; 00013 case HISTO: 00014 return "Histogram graph"; 00015 } 00016 00017 return null; 00018 } 00019 }