[Previous] [Up] [Next]

NSUndoManager

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSUndoManager

NSUndoManager

Declared in: Foundation/NSUndoManager.h

Inherits from: NSObject

Conforms to: NSObject


Instance Variables

Methods


Instances Methods

beginUndoGrouping

- (void) beginUndoGrouping;

canRedo

- (BOOL) canRedo;

canUndo

- (BOOL) canUndo;

disableUndoRegistration

- (void) disableUndoRegistration;

enableUndoRegistration

- (void) enableUndoRegistration;

endUndoGrouping

- (void) endUndoGrouping;

forwardInvocation:

- (void) forwardInvocation: (NSInvocation*)anInvocation;

groupingLevel

- (int) groupingLevel;

groupsByEvent

- (BOOL) groupsByEvent;

isRedoing

- (BOOL) isRedoing;

isUndoing

- (BOOL) isUndoing;

isUndoRegisgrationEnabled

- (BOOL) isUndoRegisgrationEnabled;

levelsOfUndo

- (unsigned int) levelsOfUndo;

prepareWithInvocationTarget:

- (id) prepareWithInvocationTarget: (id)target;

redo

- (void) redo;

redoActionName

- (NSString*) redoActionName;

redoMenuItemTitle

- (NSString*) redoMenuItemTitle;

redoMenuTitleForUndoActionName:

- (NSString*) redoMenuTitleForUndoActionName: (NSString*)actionName;

registerUndoWithTarget:selector:

- (void) registerUndoWithTarget: (id)target selector: (SEL)aSelector;

removeAllActions

- (void) removeAllActions;

removeAllActionsWithTarget:

- (void) removeAllActionsWithTarget: (id)target;

runLoopModes

- (NSArray*) runLoopModes;

setActionName:

- (void) setActionName: (NSString*)actionName;

setGroupsByEvent:

- (void) setGroupsByEvent: (BOOL)flag;

setLevelsOfUndo:

- (void) setLevelsOfUndo: (unsigned int)anInt;

setRunLoopModes:

- (void) setRunLoopModes: (NSArray*)modes;

undo

- (void) undo;

undoActionName

- (NSString*) undoActionName;

undoMenuItemTitle

- (NSString*) undoMenuItemTitle;

undoMenuTitleForUndoActionName:

- (NSString*) undoMenuTitleForUndoActionName: (NSString*)actionName;

undoNestedGroup

- (void) undoNestedGroup;