- All Implemented Interfaces:
- Direct Known Subclasses:
A simple, lightweight undo context that can be used to tag any operation. It does not provided a specialized label. This class may be instantiated by clients. This class may also be subclassed.
getLabelpublic String getLabel()
Get the label that describes the undo context. The default implementation returns the empty String. Subclasses may override.
matchespublic boolean matches
Return whether the specified context is considered a match for the receiving context. When a context matches another context, operations that have the context are considered to also have the matching context. The default implementation checks whether the supplied context is identical to this context. Subclasses may override.