Пример #1
0
 @Override
 public String getPresentationName() {
   return "Remove edge '" + edge.getID() + "'";
 }
Пример #2
0
 @Override
 public void undo() throws CannotUndoException {
   graph.removeEdge(edge.getID());
 }