|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.client.model.CompositeOperationHandle
public class CompositeOperationHandle
A handle to control a composite operation during recording.
| Constructor Summary | |
|---|---|
CompositeOperationHandle(OperationRecorder operationRecorder,
CompositeOperation compositeOperation)
Default constructor. |
|
| Method Summary | |
|---|---|
void |
abort()
Aborts a composite operation. |
void |
end(SemanticCompositeOperation semanticCompositeOperation)
Completes a the given semantic composite operation. |
void |
end(String name,
String description,
ModelElementId modelElementId)
Completes a composite operation. |
boolean |
isValid()
Returns whether the handle is still valid. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeOperationHandle(OperationRecorder operationRecorder,
CompositeOperation compositeOperation)
operationRecorder - the change tracker this composite is tracked oncompositeOperation - the composite operation to be handled| Method Detail |
|---|
public boolean isValid()
public void abort()
throws InvalidHandleException
InvalidHandleException - if the handle is invalid
public void end(String name,
String description,
ModelElementId modelElementId)
throws InvalidHandleException
name - the name for the operationdescription - the description of the operationmodelElementId - the id of the model element that is most important for the
operation
InvalidHandleException - if the handle is invalid
public void end(SemanticCompositeOperation semanticCompositeOperation)
throws InvalidHandleException
semanticCompositeOperation - a semanticCompositeOperation that was executed and represents
the composite
InvalidHandleException - if the handle is invalid
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||