public interface ChangePackage extends AbstractChangePackage, APIDelegate<ESChangePackage>
VersioningPackage.getChangePackage()| Modifier and Type | Method and Description |
|---|---|
void |
apply(Project project)
Apply all operations in the change package to the given project.
|
void |
apply(Project project,
boolean force)
Apply all operations in the change package to the given project.
|
void |
cannonize()
Remove all operations from the change package that are masked by later
operations in the same package.
|
Set<ModelElementId> |
getAllInvolvedModelElements()
Returns all model elements that are involved in this change package.
|
List<AbstractOperation> |
getCopyOfOperations()
Retrieve a copy of all operations in the change package.
|
org.eclipse.emf.common.util.EList<Event> |
getEvents()
Returns the value of the 'Events' containment reference list.
|
List<AbstractOperation> |
getLeafOperations()
Get all leaf operations of a change package, decomposing all composite
operations.
|
org.eclipse.emf.common.util.EList<AbstractOperation> |
getOperations()
Returns the value of the 'Operations' containment reference list.
|
int |
getSize()
Counts the number of Leaf Operations within this change package.
|
List<AbstractOperation> |
getTouchingOperations(ModelElementId modelElementId)
Get all operations of a change package, that are touching the given model
element id
|
org.eclipse.emf.common.util.EList<VersionProperty> |
getVersionProperties()
Returns the value of the 'Version Properties' containment reference list.
|
ChangePackage |
reverse()
Reverse the change package.
|
add, addAll, attachToProjectSpace, clear, get, getLogMessage, isEmpty, leafSize, operations, removeAtEnd, reversedOperations, save, setLogMessage, size, toAPIeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivercreateAPI, toAPIorg.eclipse.emf.common.util.EList<AbstractOperation> getOperations()
AbstractOperation.
VersioningPackage.getChangePackage_Operations()org.eclipse.emf.common.util.EList<Event> getEvents()
Event.
If the meaning of the 'Events' containment reference list isn't clear, there really should be more of a description here...
VersioningPackage.getChangePackage_Events()org.eclipse.emf.common.util.EList<VersionProperty> getVersionProperties()
VersionProperty.
If the meaning of the 'Version Properties' containment reference list isn't clear, there really should be more of a description here...
VersioningPackage.getChangePackage_VersionProperties()void apply(Project project)
apply in interface AbstractChangePackageproject - the projectvoid apply(Project project, boolean force)
apply in interface AbstractChangePackageproject - the projectforce - if true, illegal Operations won't stop the other to be appliedvoid cannonize()
ChangePackage reverse()
reverse in interface AbstractChangePackageList<AbstractOperation> getCopyOfOperations()
List<AbstractOperation> getLeafOperations()
Set<ModelElementId> getAllInvolvedModelElements()
List<AbstractOperation> getTouchingOperations(ModelElementId modelElementId)
int getSize()
Copyright © 2017. All rights reserved.