WorkshopDemo
Class WorkshopPluginPanelProvider

java.lang.Object
  extended by WorkshopDemo.WorkshopPluginPanelProvider
All Implemented Interfaces:
DisplayPanelProvider

public class WorkshopPluginPanelProvider
extends java.lang.Object
implements DisplayPanelProvider

Provide a graphics planel, or panels that can be added to the bottom of spectrogram displays. The implementation of DisplayPanelProvider is only there to let Pamguard know that panels can be created. On request, this will create any number of WorkshopPluginPanels which will get added to the displays. There are two basic ways that these things can update thier data. One is to follow cue of the redrawing of the spectrogram, the other is to subscribe to the some data block coming out of the detector. In this instance, we subscribe to the backgroundDataBlock in the WorkshopProcess. Note that we're handling several channels of data here !

Author:
Doug

Nested Class Summary
 class WorkshopPluginPanelProvider.WorkshopPluginPanel
          The class that actually does the display work.
 
Field Summary
private  WorkshopController workshopController
           
 
Constructor Summary
WorkshopPluginPanelProvider(WorkshopController workshopController)
           
 
Method Summary
 DisplayPanel createDisplayPanel(DisplayPanelContainer displayPanelContainer)
           
 java.lang.String getDisplayPanelName()
          Get a name for the panel which may be used in options dialogs, etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workshopController

private WorkshopController workshopController
Constructor Detail

WorkshopPluginPanelProvider

public WorkshopPluginPanelProvider(WorkshopController workshopController)
Method Detail

createDisplayPanel

public DisplayPanel createDisplayPanel(DisplayPanelContainer displayPanelContainer)
Specified by:
createDisplayPanel in interface DisplayPanelProvider
Returns:
create the panel to be included in the display

getDisplayPanelName

public java.lang.String getDisplayPanelName()
Description copied from interface: DisplayPanelProvider
Get a name for the panel which may be used in options dialogs, etc.

Specified by:
getDisplayPanelName in interface DisplayPanelProvider
Returns:
a character string