org.embl.ebi.escience.scufl.shared
Class LinkingMenus

java.lang.Object
  extended by org.embl.ebi.escience.scufl.shared.LinkingMenus

public class LinkingMenus
extends java.lang.Object

A static method to generate appropriate menu items to link from ports in a Scufl model

Author:
Tom Oinn

Constructor Summary
LinkingMenus()
           
 
Method Summary
static javax.swing.JPopupMenu linkFrom(OutputPort sourcePort)
          Return a menu presenting all the possible sink ports that the source port could be linked to.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkingMenus

public LinkingMenus()
Method Detail

linkFrom

public static javax.swing.JPopupMenu linkFrom(OutputPort sourcePort)
Return a menu presenting all the possible sink ports that the source port could be linked to. Currently doesn't pay any heed to the typing and just shows all possible sinks.