예제 #1
0
 /**
  * A convenience method to hide a previous source port if necessary, to set the source port the
  * the one specified, and then to make the source port visible.
  *
  * @param portView
  */
 private void doMouseMovedOverPortProcessing(PortView portView) {
   sourcePort = portView;
   showPort(sourcePort);
   matchCursorTo(CursorFactory.FLOW_RELATION);
   YAWLEditor.getStatusBar()
       .setText(
           "Click on this connection point, drag the flow to another "
               + "valid connection point and release the mouse button to create a flow.");
 }
예제 #2
0
 public NetMarqueeHandler(NetGraph net) {
   this.net = net;
   paletteBar = YAWLEditor.getPalette();
   potentialFlowOverlay = registerPotentialFlowOverlay();
 }