org.dawb.gda.extensions.plot
Class DoNothingPlotService

java.lang.Object
  extended by org.dawb.gda.extensions.plot.DoNothingPlotService
All Implemented Interfaces:
gda.observable.IObservable, uk.ac.diamond.scisoft.analysis.PlotServer, uk.ac.diamond.scisoft.analysis.PlotService

public class DoNothingPlotService
extends java.lang.Object
implements uk.ac.diamond.scisoft.analysis.PlotServer

Class to disable silly diamond plot server stuff

Author:
gerring

Field Summary
 
Fields inherited from interface uk.ac.diamond.scisoft.analysis.PlotServer
GRIDVIEWDIR
 
Method Summary
 void addIObserver(gda.observable.IObserver observer)
           
 void deleteIObserver(gda.observable.IObserver observer)
           
 void deleteIObservers()
           
 uk.ac.diamond.scisoft.analysis.plotserver.DataBean getData(java.lang.String guiName)
           
 uk.ac.diamond.scisoft.analysis.plotserver.GuiBean getGuiState(java.lang.String guiName)
           
static DoNothingPlotService getInstance()
           
 boolean isServerLocal()
           
static void setAlternativePlotServer()
           
 void setData(java.lang.String guiName, uk.ac.diamond.scisoft.analysis.plotserver.DataBean plotData)
           
 void updateData(java.lang.String guiName)
           
 void updateGui(java.lang.String guiName, uk.ac.diamond.scisoft.analysis.plotserver.GuiBean guiData)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setAlternativePlotServer

public static void setAlternativePlotServer()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getInstance

public static DoNothingPlotService getInstance()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

addIObserver

public void addIObserver(gda.observable.IObserver observer)
Specified by:
addIObserver in interface gda.observable.IObservable

deleteIObserver

public void deleteIObserver(gda.observable.IObserver observer)
Specified by:
deleteIObserver in interface gda.observable.IObservable

deleteIObservers

public void deleteIObservers()
Specified by:
deleteIObservers in interface gda.observable.IObservable

updateGui

public void updateGui(java.lang.String guiName,
                      uk.ac.diamond.scisoft.analysis.plotserver.GuiBean guiData)
               throws java.lang.Exception
Specified by:
updateGui in interface uk.ac.diamond.scisoft.analysis.PlotService
Throws:
java.lang.Exception

setData

public void setData(java.lang.String guiName,
                    uk.ac.diamond.scisoft.analysis.plotserver.DataBean plotData)
             throws java.lang.Exception
Specified by:
setData in interface uk.ac.diamond.scisoft.analysis.PlotService
Throws:
java.lang.Exception

updateData

public void updateData(java.lang.String guiName)
                throws java.lang.Exception
Specified by:
updateData in interface uk.ac.diamond.scisoft.analysis.PlotService
Throws:
java.lang.Exception

getGuiState

public uk.ac.diamond.scisoft.analysis.plotserver.GuiBean getGuiState(java.lang.String guiName)
                                                              throws java.lang.Exception
Specified by:
getGuiState in interface uk.ac.diamond.scisoft.analysis.PlotService
Throws:
java.lang.Exception

isServerLocal

public boolean isServerLocal()
                      throws java.lang.Exception
Specified by:
isServerLocal in interface uk.ac.diamond.scisoft.analysis.PlotService
Throws:
java.lang.Exception

getData

public uk.ac.diamond.scisoft.analysis.plotserver.DataBean getData(java.lang.String guiName)
                                                           throws java.lang.Exception
Specified by:
getData in interface uk.ac.diamond.scisoft.analysis.PlotServer
Throws:
java.lang.Exception