public interface ITransactionalOperation extends IUndoableOperation
ITransactionalOperation interface is an extension to
IUndoableOperation. It specified a isNoOp() method that can
be used to determine if an operation has an effect. If an operation does not
have an effect, there is no need to execute it (on the operation history).| Modifier and Type | Method and Description |
|---|---|
boolean |
isNoOp()
Returns
true if this ITransactionalOperation has no
effect. |
addContext, canExecute, canRedo, canUndo, dispose, execute, getContexts, getLabel, hasContext, redo, removeContext, undoboolean isNoOp()
true if this ITransactionalOperation has no
effect, otherwise false.Copyright (c) 2014 itemis AG and others. All rights reserved.