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

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

public class SaveToFileSystemMappingLSIDs
extends java.lang.Object
implements ResultMapSaveSPI

Store the Map of DataThing objects to disk, using the collection structure to drive the directory structure and storing each leaf DataThing item as a single file. But try to replace LSIDs of outputs in "s with relative file names.

Author:
Chris Greenhalgh

Constructor Summary
SaveToFileSystemMappingLSIDs()
           
 
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 results to disk
 java.lang.String getName()
          Return the name for this plugin
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveToFileSystemMappingLSIDs

public SaveToFileSystemMappingLSIDs()
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()
Return the name for this plugin

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 results to disk

Specified by:
getListener in interface ResultMapSaveSPI