|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IResourceUndoContextPolicy
A rule determining the resources for which an IUndoableOperation
should be tagged with ResourceUndoContext
s. In general, these are the
resources that
Clients may implement this interface, but it is recommended to extend the
AbstractResourceUndoContextPolicy
class whenever possible.
AbstractResourceUndoContextPolicy
Field Summary | |
---|---|
static IResourceUndoContextPolicy |
DEFAULT
The default undo-context policy used by editing domains for which none is assigned by the client application. |
Method Summary | |
---|---|
Set<Resource> |
getContextResources(IUndoableOperation operation,
List<? extends Notification> notifications)
Determines the resources in the undo context of the specified operation, during which execution the changes indicated by the given notifications occurred. |
Field Detail |
---|
static final IResourceUndoContextPolicy DEFAULT
Method Detail |
---|
Set<Resource> getContextResources(IUndoableOperation operation, List<? extends Notification> notifications)
operation
- the operation. It may or may not have finished executing. Must
not be null
notifications
- a list of notifications of changes caused by the operation
during its execution, in the order in which they occurred.
This may be an empty list, but never null
null
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |