org.embl.ebi.escience.scuflui.results
Class SaveAsDataThingDocument

java.lang.Object
  extended by org.embl.ebi.escience.scuflui.results.SaveAsDataThingDocument
All Implemented Interfaces:
ResultMapSaveSPI

public class SaveAsDataThingDocument
extends java.lang.Object
implements ResultMapSaveSPI

Store the entire Map of DataThing objects to disk as a single XML data document.

Author:
Tom Oinn

Constructor Summary
SaveAsDataThingDocument()
           
 
Method Summary
 java.lang.String getDescription()
          Get the description for this plugin
 javax.swing.Icon getIcon()
          Return the standard looking save to disk icon
 java.awt.event.ActionListener getListener(java.util.Map results, javax.swing.JComponent parent)
          Show a standard save dialog and dump the entire result set to the specified XML file
 java.lang.String getName()
          Get the short name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveAsDataThingDocument

public SaveAsDataThingDocument()
Method Detail

getIcon

public javax.swing.Icon getIcon()
Return the standard looking save to disk icon

Specified by:
getIcon in interface ResultMapSaveSPI

getDescription

public java.lang.String getDescription()
Get the description for this plugin

Specified by:
getDescription in interface ResultMapSaveSPI

getName

public java.lang.String getName()
Get the short name

Specified by:
getName in interface ResultMapSaveSPI

getListener

public java.awt.event.ActionListener getListener(java.util.Map results,
                                                 javax.swing.JComponent parent)
Show a standard save dialog and dump the entire result set to the specified XML file

Specified by:
getListener in interface ResultMapSaveSPI