|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChangePackage
A representation of the model object ' Change Package'.
VersioningPackage.getChangePackage()
Method Summary | |
---|---|
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. |
Methods inherited from interface org.eclipse.emf.emfstore.internal.server.model.versioning.AbstractChangePackage |
---|
add, addAll, attachToProjectSpace, clear, get, getLogMessage, isEmpty, leafSize, operations, removeAtEnd, reversedOperations, save, setLogMessage, size, toAPI |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.emfstore.internal.common.api.APIDelegate |
---|
createAPI, toAPI |
Method Detail |
---|
org.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 AbstractChangePackage
project
- the projectvoid apply(Project project, boolean force)
apply
in interface AbstractChangePackage
project
- the projectforce
- if true, illegal Operations won't stop the other to be appliedvoid cannonize()
ChangePackage reverse()
reverse
in interface AbstractChangePackage
List<AbstractOperation> getCopyOfOperations()
List<AbstractOperation> getLeafOperations()
Set<ModelElementId> getAllInvolvedModelElements()
List<AbstractOperation> getTouchingOperations(ModelElementId modelElementId)
int getSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |