org.embl.ebi.escience.scuflworkers.java
Class XMLSplitterScuflContextMenuFactory

java.lang.Object
  extended by org.embl.ebi.escience.scuflworkers.java.XMLSplitterScuflContextMenuFactory

public class XMLSplitterScuflContextMenuFactory
extends java.lang.Object

A factory that generates scufl context menu items for input and output ports that are based upon an XML schema.

Author:
Stuart Owen

Constructor Summary
XMLSplitterScuflContextMenuFactory()
           
 
Method Summary
 java.util.List<javax.swing.JMenuItem> contextItemsForPort(Port port)
          Generates a List of JMenuItems, if appropriate, for the given port
static XMLSplitterScuflContextMenuFactory instance()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSplitterScuflContextMenuFactory

public XMLSplitterScuflContextMenuFactory()
Method Detail

instance

public static XMLSplitterScuflContextMenuFactory instance()
Returns:
an instance of the XMLSplitterScuflContextMenuFactory

contextItemsForPort

public java.util.List<javax.swing.JMenuItem> contextItemsForPort(Port port)
Generates a List of JMenuItems, if appropriate, for the given port

Parameters:
port -
Returns: