@Override public void undo() throws CannotUndoException { super.undo(); if (redoState == null) redoState = saveState(); restoreState(undoState); }
@Override public void undo() throws CannotUndoException { super.undo(); loader.accept(previous); }
public void undo() throws CannotUndoException { super.undo(); select(start,end); }
@Override public void undo() throws CannotUndoException { super.undo(); drawing.remove(c); }
public void undo() throws CannotUndoException { super.undo(); select(start,end); }
/** * Sets the arc's token id weight to the old functional weight */ @Override public void undo() { super.undo(); arc.setWeight(token, oldWeight); }
/** * Sets annotation text to previous value */ @Override public void undo() { super.undo(); annotation.setText(oldText); }
@Override public void undo() throws CannotUndoException { for (int i = 0; i < oldItems.size(); i++) { model.setElementAt(oldItems.get(i), indicies.get(i)); } itemsWindow.setSelectedIndex(indicies.get(indicies.size() - 1)); super.undo(); }
/** * Sets the components location to its initial location */ @Override public void undo() { super.undo(); component.setX((int) starting.getX()); component.setY((int) starting.getY()); }
@Override public void undo() throws CannotUndoException { model.setElementAt(oldItem, index); itemsWindow.setSelectedIndex(index); super.undo(); }
public void undo() throws CannotUndoException { super.undo(); PropertyValue tilesPropertyValue = tiledLayer.readProperty(TiledLayerCD.PROPERTY_TILES); int[][] tiles = GameTypes.getTiles(tilesPropertyValue); tiles[y][x] = oldValue; // TODO - invoke repaint of particular area at TiledLayerEditor }
@Override public void undo() throws CannotRedoException { super.undo(); Iterator<Object> di = editUndoData.iterator(); for (Figure f : editedFigures) { f.willChange(); f.restoreAttributesTo(di.next()); f.changed(); } }
@Override public void undo() { super.undo(); Iterator<Object> iRestore = restoreData.iterator(); drawing.willChange(); drawing.restoreAttributesTo(iRestore.next()); drawing.changed(); }
@Override public void undo() { super.undo(); Iterator<Object> iRestore = restoreData.iterator(); for (Figure figure : selectedFigures) { figure.willChange(); figure.restoreAttributesTo(iRestore.next()); figure.changed(); } }
@Override public void undo() throws CannotUndoException { super.undo(); owner.willChange(); owner.setBounds(oldAnchor, oldLead); owner.changed(); } }
@Override public void undo() throws CannotUndoException { super.undo(); owner.willChange(); owner.setNode(index, oldValue); owner.changed(); }
@Override public void undo() throws CannotUndoException { super.undo(); willChange(); removeNode(index); changed(); } });
@Override public void undo() { super.undo(); drawing.willChange(); drawing.restoreAttributesTo(restoreData); drawing.changed(); }
/** * To undo, send the drawable id to the server's <code>undoDraw</code> command. * * @see javax.swing.undo.UndoableEdit#undo() */ @Override public void undo() throws CannotUndoException { super.undo(); // Tell the server to undo the drawable. MapTool.serverCommand().undoDraw(zone.getId(), drawable.getId()); }
@Override public void undo() throws CannotUndoException { super.undo(); view.removeFromSelection(f); f.willChange(); f.addNode(index, removedNode); f.changed(); view.addToSelection(f); } });