|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IContextReplacingOperation
IContextReplacingOperation defines an interface for undoable operations that can replace one undo context with another undo context. It is used by operations, such as composite operations, where removing and adding an undo context would not have the same semantic as replacing one undo context with another.
Method Summary | |
---|---|
void |
replaceContext(IUndoContext original,
IUndoContext replacement)
Replace the undo context of the receiver with the provided replacement undo context. |
Method Detail |
---|
void replaceContext(IUndoContext original, IUndoContext replacement)
This message has no effect if the original undo context is not present in the receiver.
original
- the undo context which is to be replacedreplacement
- the undo context which is replacing the original
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |