@Override public void undo() { if (compoundEdit!=null) { compoundEdit.end(); } super.undo(); compoundEdit = null; }
@Override public void undo() throws CannotUndoException { endCurrentCompoundEdit(); super.undo(); } };
/** * Undoes a change. * * @exception CannotUndoException * if the change cannot be undone */ public void undo() throws CannotUndoException { super.undo(); execute(); }
@Override public void undo() { // End the edit so future edits don't get absorbed by this edit if (compoundEdit != null) compoundEdit.end(); super.undo(); // Always start a new compound edit after an undo compoundEdit = null; }
/** * Performs undo on all compound sub edits */ public void undo() { super.undo(); undoDone(); }
private void undoSaveActions() { if (onSaveTasksEdit != null) { checkLogOp(" saveActionsEdit.undo()", onSaveTasksEdit); // NOI18N onSaveTasksEdit.undo(); } }
@Override public void undo() throws CannotUndoException { // End the edit so future edits don't get absorbed by this edit if (compoundEdit != null) { compoundEdit.end(); } super.undo(); // Always start a new compound edit after an undo compoundEdit = null; } }
@Override public void undo() throws CannotUndoException { // End the edit so future edits don't get absorbed by this edit if (compoundEdit != null) { compoundEdit.end(); } super.undo(); // Always start a new compound edit after an undo compoundEdit = null; } }
/** * Undoes a change. * * @exception CannotUndoException * if the change cannot be undone */ public void undo() throws CannotUndoException { super.undo(); execute(); }
@Override public void undo() throws CannotUndoException { // End the edit so future edits don't get absorbed by this edit if (compoundEdit != null) { compoundEdit.end(); } super.undo(); // Always start a new compound edit after an undo compoundEdit = null; } }
@Override public void undo() { if (compoundEdit!=null) { compoundEdit.end(); } super.undo(); compoundEdit = null; }
public void undo() throws CannotUndoException { if (compoundEdit!=null) compoundEdit.end(); super.undo(); compoundEdit = null; }
@Override public void undo() throws CannotUndoException { if (edit != null) { edit.end(); } super.undo(); edit = null; } }
public void undo() throws CannotUndoException { if (compoundEdit!=null) compoundEdit.end(); super.undo(); compoundEdit = null; }
@Override public void undo() { // End the edit so future edits don't get absorbed by this edit if (compoundEdit != null) compoundEdit.end(); super.undo(); // Always start a new compound edit after an undo compoundEdit = null; }
public void undo() throws CannotUndoException { atomicLock(); try { super.undo(); } finally { atomicUnlockImpl(true); } }
@Override public void undo() throws CannotUndoException { super.undo(); ResolveDbRelationshipDialog dialog = new ResolveDbRelationshipDialog( relationship, false); dialog.setVisible(true); }
private void undoPending() { synchronized( pendingEdits ) { if( pendingEditCount > 0 ) { pendingEdits.end(); pendingEdits.undo(); pendingEdits = new CompoundEdit(); pendingEditCount = 0; } } }
public void undo() throws CannotUndoException { extWriteLock(); try { super.undo(); } finally { extWriteUnlock(); } }
public void undo() throws CannotUndoException { restoreSelections(); listener.finishCurrentEdit(); if (canUndo()) { super.undo(); } else { die(); } if (adapter != null) { adapter.updateModel(); } editor.requestFocusInWindow(); editor.selectAll(); }