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

java.lang.Object
  extended by org.embl.ebi.escience.scufl.Port
      extended by org.embl.ebi.escience.scufl.OutputPort
          extended by org.embl.ebi.escience.scuflworkers.java.XMLSplittableOutputPort
All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.io.Serializable, ScuflContextMenuAware

public class XMLSplittableOutputPort
extends OutputPort
implements ScuflContextMenuAware

Specialised OutputPort that is able to generate ScuflContextMenu JMenu items to allow the user to add XMLSplitters to that port

Author:
Stuart Owen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.embl.ebi.escience.scufl.OutputPort
FLAVOR
 
Constructor Summary
XMLSplittableOutputPort(Processor processor, java.lang.String name)
           
 
Method Summary
 java.util.List<javax.swing.JMenuItem> contextMenuItems()
          Generates the menu items for the port if applicable, otherwise returns an empty List
 
Methods inherited from class org.embl.ebi.escience.scufl.OutputPort
getTransferData, getTransferDataFlavors, isDataFlavorSupported
 
Methods inherited from class org.embl.ebi.escience.scufl.Port
getMetadata, getName, getProcessor, getSyntacticType, isNameEditable, isSink, isSource, setName, setSyntacticType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLSplittableOutputPort

public XMLSplittableOutputPort(Processor processor,
                               java.lang.String name)
                        throws DuplicatePortNameException,
                               PortCreationException
Throws:
DuplicatePortNameException
PortCreationException
Method Detail

contextMenuItems

public java.util.List<javax.swing.JMenuItem> contextMenuItems()
Generates the menu items for the port if applicable, otherwise returns an empty List

Specified by:
contextMenuItems in interface ScuflContextMenuAware
Returns: