public class ESCompositeOperationHandleImpl extends AbstractAPIImpl<ESCompositeOperationHandleImpl,CompositeOperationHandle> implements ESCompositeOperationHandle
ESCompositeOperationHandle.| Constructor and Description |
|---|
ESCompositeOperationHandleImpl(CompositeOperationHandle internal) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Aborts the composite operation.
|
void |
end(String name,
String description,
ESModelElementId modelElementId)
Completes a composite operation.
|
boolean |
isValid()
Returns whether the handle is still valid.
|
equals, hashCode, toInternalAPIpublic ESCompositeOperationHandleImpl(CompositeOperationHandle internal)
internal - the non-API instancepublic boolean isValid()
isValid in interface ESCompositeOperationHandlefalse if the composite operation has completed or was aborted, true otherwise.ESCompositeOperationHandle.isValid()public void abort()
throws ESInvalidCompositeOperationException
abort in interface ESCompositeOperationHandleESInvalidCompositeOperationException - if the handle is invalidESCompositeOperationHandle.abort()public void end(String name, String description, ESModelElementId modelElementId) throws ESInvalidCompositeOperationException
end in interface ESCompositeOperationHandlename - the name for the operationdescription - the description of the operationmodelElementId - the id of the model element that is most important for the
operationESInvalidCompositeOperationException - if the handle is invalidESCompositeOperationHandle.end(java.lang.String, java.lang.String,
org.eclipse.emf.emfstore.common.model.ESModelElementId)Copyright © 2017. All rights reserved.