for (final StorableAttribute attr : attributes) {
if (attr.getName().equals(con.attributeName)) {
JMenuItem item = new JMenuItem(con.connectName);
item.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
UIRequestGoToInAIF r = new UIRequestGoToInAIF(con.connectId, attr.getValue(),
JGraphView.this.requestOwner);
JGraphView.this.userInterface.addRequest(r);
}
});
connectorPopup.add(item);