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

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

public class XMLSplittableInputPort
extends InputPort
implements ScuflContextMenuAware

Specialised InputPort 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.InputPort
FLAVOR, MERGE, NDSELECT
 
Constructor Summary
XMLSplittableInputPort(Processor processor, java.lang.String name)
           
 
Method Summary
 java.util.List<javax.swing.JMenuItem> contextMenuItems()
          Creates a list, in order, of the JMenuItems to be added to the ScuflContextMenu
 
Methods inherited from class org.embl.ebi.escience.scufl.InputPort
getControlledVocabulary, getDefaultValue, getMergeMode, getTransferData, getTransferDataFlavors, getWrappedDefaultValue, hasControlledVocabulary, hasDefaultValue, isBound, isDataFlavorSupported, isOptional, setControlledVocabulary, setDefaultValue, setMergeMode, setOptional
 
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

XMLSplittableInputPort

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

contextMenuItems

public java.util.List<javax.swing.JMenuItem> contextMenuItems()
Description copied from interface: ScuflContextMenuAware
Creates a list, in order, of the JMenuItems to be added to the ScuflContextMenu

Specified by:
contextMenuItems in interface ScuflContextMenuAware
Returns: