@Override public void undo() throws CannotUndoException { super.undo(); drawing.removeAll(importedFigures); }
@Override public void undo() throws CannotUndoException { super.undo(); drawing.removeAll(importedFigures); }
@Override public void undo() throws CannotUndoException { super.undo(); getDrawing().removeAll(duplicates); }
/** * Deletes the selection. * Depending on the tool, this could be selected figures, selected points * or selected text. */ @Override public void editDelete() { getView().getDrawing().removeAll(getView().getSelectedFigures()); }
getDrawing().removeAll(deletedFigures);