public void actionPerformed(ActionEvent e) {
String stream = model.getStream(row);
String rate = model.getStreamRate(row);
StreamSourceNode node = new StreamSourceComponent(stream, rate)
.createNode(engine.getWorkflow().getGraph());
engine.getGUI().getGraphCanvas().repaint();
node.setStreamName(stream);
engine.getWorkflow().getGraph().setStreamModel(model);
}
});
popupMenu.add(addMenuItem);