|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.emfstore.internal.common.model.impl.IdentifiableElementImpl
org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase
public abstract class ProjectSpaceBase
Project space base class that contains custom user methods.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
org.eclipse.emf.ecore.InternalEObject.EStore |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
ELAST_EOBJECT_FLAG |
| Fields inherited from interface org.eclipse.emf.emfstore.internal.client.model.ProjectSpace |
|---|
RUNNABLE_CONTEXT_ID |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
ProjectSpaceBase()
Constructor. |
|
| Method Summary | |
|---|---|
FileIdentifier |
addFile(File file)
Adds a file to this project space. |
FileIdentifier |
addFile(File file,
String fileIdentifier)
Adds a file to this project space. |
void |
addOperations(List<? extends AbstractOperation> operations)
Adds a list of operations to this project space. |
void |
addTag(PrimaryVersionSpec versionSpec,
TagVersionSpec tag)
Adds a tag to the specified version of this project. |
void |
applyChanges(PrimaryVersionSpec baseSpec,
List<ChangePackage> incoming,
ChangePackage myChanges,
org.eclipse.core.runtime.IProgressMonitor progressMonitor,
boolean runChecksumTestOnBaseSpec)
Helper method which applies merged changes on the ProjectSpace. |
void |
applyOperations(List<AbstractOperation> operations,
boolean addOperations)
Applies a list of operations to the project. |
void |
applyOperationsWithRerecording(List<AbstractOperation> operations)
Applies a list of operations to the project. |
CompositeOperationHandle |
beginCompositeOperation()
Begin a composite operation on the projectSpace. |
void |
cleanCutElements()
Removes the elements that are marked as cutted from the project. |
PrimaryVersionSpec |
commit(org.eclipse.core.runtime.IProgressMonitor monitor)
Commits all pending changes of the project space. |
PrimaryVersionSpec |
commit(String logMessage,
ESCommitCallback callback,
org.eclipse.core.runtime.IProgressMonitor monitor)
Commits all pending changes of the project space. |
PrimaryVersionSpec |
commitToBranch(BranchVersionSpec branch,
String logMessage,
ESCommitCallback callback,
org.eclipse.core.runtime.IProgressMonitor monitor)
This method allows to commit changes to a new branch. |
ESLocalProjectImpl |
createAPI()
Creates the API interface for this class. |
void |
delete(org.eclipse.core.runtime.IProgressMonitor monitor)
Deletes the project space. |
void |
dispose()
Marker method for classes that need to perform clean-up tasks. |
void |
executeRunnable(Runnable runnable)
Executes a given Runnable in the context of this ProjectSpace.The Runnable usually modifies the Project contained in the ProjectSpace. |
void |
exportLocalChanges(File file)
Export all local changes to a file. |
void |
exportLocalChanges(File file,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Export all local changes to a file. |
void |
exportProject(File file)
Export a project to the given file. |
void |
exportProject(File file,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Export a project to the given file. |
Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting> |
findInverseCrossReferences(org.eclipse.emf.ecore.EObject modelElement)
Returns the ECrossReferenceAdapter, if available. |
List<BranchInfo> |
getBranches()
Returns a list of branches of the current project. |
List<ChangePackage> |
getChanges(VersionSpec sourceVersion,
VersionSpec targetVersion)
|
FileDownloadStatus |
getFile(FileIdentifier fileIdentifier)
Gets a file with a specific identifier. |
FileInformation |
getFileInfo(FileIdentifier fileIdentifier)
Gets the file information for a specific file identifier. |
FileTransferManager |
getFileTransferManager()
Returns the file transfer manager. |
ChangePackage |
getLocalChangePackage(boolean canonize)
Gathers all local operations and canonizes them. |
NotificationRecorder |
getNotificationRecorder()
Get the current notification recorder. |
OperationManager |
getOperationManager()
Get the OperationManager for this ProjectSpace. |
List<AbstractOperation> |
getOperations()
Return the list of operations that have already been performed on the project space. |
ProjectInfo |
getProjectInfo()
Get a project info for the project space. |
PropertyManager |
getPropertyManager()
Get the PropertyManager for this ProjectSpace. |
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet()
Returns the resource set of the ProjectSpace. |
ESRunnableContext |
getRunnableContext()
Returns the ESRunnableContext operations are applied in. |
boolean |
hasUnsavedChanges()
Determine if the project space has unsaved changes to any element in the project. |
void |
importLocalChanges(String fileName)
Import changes from a file. |
void |
init()
Initialize the project space and its resources. |
void |
initResources(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Initialize the resources of the project space. |
boolean |
isShared()
Whether this project space has been shared. |
boolean |
isTransient()
Shows whether projectSpace is transient. |
boolean |
isUpdated()
Determines whether the project is up to date, that is, whether the base revision and the head revision are equal. |
void |
loginCompleted(ESUsersession session)
To be called when login is completed. |
void |
makeTransient()
Will make the projectSpace transient, it will not make its content or changes persistent. |
void |
mergeBranch(PrimaryVersionSpec branchSpec,
ConflictResolver conflictResolver,
org.eclipse.core.runtime.IProgressMonitor monitor)
Allows to merge a version from another branch into the current project space. |
ChangePackage |
mergeResolvedConflicts(ChangeConflictSet conflictSet,
List<ChangePackage> myChangePackages,
List<ChangePackage> theirChangePackages)
Merges the resolved conflict sets. |
void |
removeTag(PrimaryVersionSpec versionSpec,
TagVersionSpec tag)
Removes a tag to the specified version of this project. |
org.eclipse.emf.ecore.EObject |
resolve(ModelElementUrlFragment modelElementUrlFragment)
Resolve the url to a model element. |
PrimaryVersionSpec |
resolveVersionSpec(VersionSpec versionSpec,
org.eclipse.core.runtime.IProgressMonitor monitor)
Resolve a version spec to a primary version spec. |
void |
revert()
Revert all local changes in the project space. |
void |
save()
Saves the project space. |
void |
saveProjectSpaceOnly()
Saves the project space itself only, no containment children. |
void |
saveResource(org.eclipse.emf.ecore.resource.Resource resource)
Save the given resource that is part of the project space resource set. |
void |
setProperty(OrgUnitProperty property)
Sets a new OrgUnitProperty for the current user. |
void |
setResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Sets the resource set of the project space. |
void |
setRunnableContext(ESRunnableContext runnableContext)
Provides a context in which a Runnable is executed. |
ProjectInfo |
shareProject(org.eclipse.core.runtime.IProgressMonitor monitor)
Shares this project space. |
ProjectInfo |
shareProject(Usersession session,
org.eclipse.core.runtime.IProgressMonitor monitor)
Shares this project space. |
void |
startChangeRecording()
Starts change recording on this workspace, resumes previous recordings if there are any. |
void |
stopChangeRecording()
Stops current recording of changes and adds recorded changes to this project spaces changes. |
ESLocalProjectImpl |
toAPI()
Returns the API interface of this class. |
void |
transmitProperties()
Transmit the OrgUnitproperties to the server. |
void |
undoLastOperation()
Undo the last operation of the projectSpace. |
void |
undoLastOperations(int numberOfOperations)
Undo the last operation n operations of the projectSpace. |
PrimaryVersionSpec |
update(org.eclipse.core.runtime.IProgressMonitor monitor)
Update the project to the head version. |
PrimaryVersionSpec |
update(VersionSpec version)
Update the project to the given version. |
PrimaryVersionSpec |
update(VersionSpec version,
ESUpdateCallback callback,
org.eclipse.core.runtime.IProgressMonitor progress)
Update the workspace to the given revision. |
void |
updateDirtyState()
Updates the dirty state of the project space. |
| Methods inherited from class org.eclipse.emf.emfstore.internal.common.model.impl.IdentifiableElementImpl |
|---|
eGet, eIsSet, eSet, eUnset, getIdentifier, setIdentifier, toString |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.emfstore.internal.client.model.ProjectSpace |
|---|
getBaseVersion, getChangedSharedProperties, getLastUpdated, getLocalChangePackage, getMergedVersion, getOldLogMessages, getProject, getProjectDescription, getProjectId, getProjectName, getProperties, getResourceCount, getUsersession, getWaitingUploads, getWorkspace, isDirty, setBaseVersion, setDirty, setLastUpdated, setLocalChangePackage, setMergedVersion, setProject, setProjectDescription, setProjectId, setProjectName, setResourceCount, setUsersession, setWorkspace |
| Methods inherited from interface org.eclipse.emf.emfstore.internal.common.model.IdentifiableElement |
|---|
getIdentifier, setIdentifier |
| 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.ecore.InternalEObject |
|---|
eNotificationRequired |
| Constructor Detail |
|---|
public ProjectSpaceBase()
| Method Detail |
|---|
public void setRunnableContext(ESRunnableContext runnableContext)
Provides a context in which a Runnable is executed.
This may be used to provide a context while applying operations on a
ESLocalProject.
setRunnableContext in interface ProjectSpacerunnableContext - the runnable context to be set
public FileIdentifier addFile(File file)
throws FileTransferException
FileInformation via ProjectSpace.getFileInfo(FileIdentifier) and then
remove it via FileInformation.cancelPendingUpload().
addFile in interface ProjectSpacefile - to be added to the project space
FileTransferException - if any error occursProjectSpace.addFile(java.io.File)
public FileIdentifier addFile(File file,
String fileIdentifier)
throws FileTransferException
FileInformation via ProjectSpace.getFileInfo(FileIdentifier) and then
remove it via FileInformation.cancelPendingUpload().
addFile in interface ProjectSpacefile - to be added to the project spacefileIdentifier - the file identifier to be used for the given file
FileTransferException - if any error occursProjectSpace.addFile(java.io.File, java.lang.String)public void addOperations(List<? extends AbstractOperation> operations)
addOperations in interface ProjectSpaceoperations - the list of operations to be addedProjectSpace.addOperations(java.util.List)
public void addTag(PrimaryVersionSpec versionSpec,
TagVersionSpec tag)
throws ESException
addTag in interface ProjectSpaceversionSpec - the versionSpectag - the tag
ESException - if exception occurs on the serverProjectSpace.addTag(org.eclipse.emf.emfstore.internal.server.model.versioning.PrimaryVersionSpec,
org.eclipse.emf.emfstore.internal.server.model.versioning.TagVersionSpec)
public void applyChanges(PrimaryVersionSpec baseSpec,
List<ChangePackage> incoming,
ChangePackage myChanges,
org.eclipse.core.runtime.IProgressMonitor progressMonitor,
boolean runChecksumTestOnBaseSpec)
throws ESException
baseSpec - new base versionincoming - changes from the current branchmyChanges - merged changesprogressMonitor - an IProgressMonitor to inform about the progress of the UpdateCallback in case it is calledrunChecksumTestOnBaseSpec - whether the checksum check is performed while applying the changes
ESException - in case the checksum comparison failed and the activated IChecksumErrorHandler
also failed
public void applyOperations(List<AbstractOperation> operations,
boolean addOperations)
operations - the list of operations to be applied upon the project spaceaddOperations - whether the operations should be saved in project spacepublic void applyOperationsWithRerecording(List<AbstractOperation> operations)
operations - the list of operations to be applied upon the project spacepublic void executeRunnable(Runnable runnable)
Runnable in the context of this ProjectSpace.Runnable usually modifies the Project contained in the ProjectSpace.
runnable - the Runnable to be executed in the context of this ProjectSpacepublic CompositeOperationHandle beginCompositeOperation()
beginCompositeOperation in interface ProjectSpaceProjectSpace.beginCompositeOperation()public void cleanCutElements()
public PrimaryVersionSpec commit(org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
commit in interface ProjectSpacemonitor - a progress monitor that may be used during the commit to indicate the progress
ESException - in case the commit went wrongProjectSpace.commit(org.eclipse.core.runtime.IProgressMonitor)
public PrimaryVersionSpec commit(String logMessage,
ESCommitCallback callback,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
commit in interface ProjectSpacelogMessage - a log message describing the changes to be committedcallback - an optional callback method to be performed while the commit
is in progress, may be nullmonitor - an optional progress monitor to be used while the commit is in
progress, may be null
ESException - in case the commit went wrongProjectSpace.commit(java.lang.String,
org.eclipse.emf.emfstore.client.callbacks.ESCommitCallback, org.eclipse.core.runtime.IProgressMonitor)
public PrimaryVersionSpec commitToBranch(BranchVersionSpec branch,
String logMessage,
ESCommitCallback callback,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
ProjectSpace.commit(IProgressMonitor) with the addition of a Branch specifier.
Once the branch is created use ProjectSpace.commit(IProgressMonitor) for further commits.
commitToBranch in interface ProjectSpacebranch - branch specifierlogMessage - optional log messagecallback - optional callback, passing an implementation is recommendedmonitor - optional progress monitor
ESException - in case of an exception
public void exportLocalChanges(File file,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
throws IOException
exportLocalChanges in interface ProjectSpacefile - the file being exported toprogressMonitor - the progress monitor that should be used while exporting
IOException - if writing to the given file failsProjectSpace.exportLocalChanges(java.io.File,
org.eclipse.core.runtime.IProgressMonitor)
public void exportLocalChanges(File file)
throws IOException
exportLocalChanges in interface ProjectSpacefile - the file being exported to
IOException - if writing to the given file failsProjectSpace.exportLocalChanges(java.io.File)
public void exportProject(File file,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
throws IOException
exportProject in interface ProjectSpacefile - the file being exported toprogressMonitor - the progress monitor that should be used during the export
IOException - if writing to the given file failsProjectSpace.exportProject(java.io.File,
org.eclipse.core.runtime.IProgressMonitor)
public void exportProject(File file)
throws IOException
exportProject in interface ProjectSpacefile - the file being exported to
IOException - if writing to the given file failsProjectSpace.exportProject(java.io.File)
public List<ChangePackage> getChanges(VersionSpec sourceVersion,
VersionSpec targetVersion)
throws InvalidVersionSpecException,
ESException
getChanges in interface ProjectSpacesourceVersion - the source version spectargetVersion - the target version spec
ESException - if any error in the EmfStore occurs
InvalidVersionSpecExceptionProjectSpace.getChanges(org.eclipse.emf.emfstore.internal.server.model.versioning.VersionSpec,
org.eclipse.emf.emfstore.internal.server.model.versioning.VersionSpec)
public FileDownloadStatus getFile(FileIdentifier fileIdentifier)
throws FileTransferException
getFile in interface ProjectSpacefileIdentifier - file identifier string.
FileTransferException - if any error occurs retrieving the filesProjectSpace.getFile(org.eclipse.emf.emfstore.internal.server.model.FileIdentifier)public FileInformation getFileInfo(FileIdentifier fileIdentifier)
getFileInfo in interface ProjectSpacefileIdentifier - the file identifier for which to get the information
ProjectSpace.getFileInfo(org.eclipse.emf.emfstore.internal.server.model.FileIdentifier)public ChangePackage getLocalChangePackage(boolean canonize)
getLocalChangePackage in interface ProjectSpacecanonize - true if the operations should be canonized
ProjectSpace.getLocalChangePackage()public NotificationRecorder getNotificationRecorder()
public OperationManager getOperationManager()
OperationManager for this ProjectSpace.
getOperationManager in interface ProjectSpaceProjectSpace.getOperationManager()public List<AbstractOperation> getOperations()
getOperations in interface ProjectSpaceProjectSpace.getOperations()public ProjectInfo getProjectInfo()
getProjectInfo in interface ProjectSpaceProjectSpace.getProjectInfo()public PropertyManager getPropertyManager()
PropertyManager for this ProjectSpace.
getPropertyManager in interface ProjectSpaceProjectSpace.getPropertyManager()
public void importLocalChanges(String fileName)
throws IOException
importLocalChanges in interface ProjectSpacefileName - the file name to import from
IOException - if file access failsProjectSpace.importLocalChanges(java.lang.String)public void init()
init in interface ProjectSpaceProjectSpace.init()public FileTransferManager getFileTransferManager()
public void initResources(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
initResources in interface ProjectSpaceresourceSet - the resource set the project space should useProjectSpace.initResources(org.eclipse.emf.ecore.resource.ResourceSet)
public void delete(org.eclipse.core.runtime.IProgressMonitor monitor)
throws IOException
delete in interface ProjectSpacemonitor - a progress monitor that may be used during the delete to indicate the progress
IOException - in case the project space could not be deletedProjectSpace.delete(org.eclipse.core.runtime.IProgressMonitor)public Collection<org.eclipse.emf.ecore.EStructuralFeature.Setting> findInverseCrossReferences(org.eclipse.emf.ecore.EObject modelElement)
ECrossReferenceAdapter, if available.
modelElement - the model element for which to find inverse cross references
ECrossReferenceAdapterpublic org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
getResourceSet in interface ProjectSpaceProjectSpace.getResourceSet()public void setResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
setResourceSet in interface ProjectSpaceresourceSet - the resource set to be used by this project spaceProjectSpace.setResourceSet(org.eclipse.emf.ecore.resource.ResourceSet)public boolean isTransient()
isTransient in interface ProjectSpaceProjectSpace.isTransient()
public boolean isUpdated()
throws ESException
isUpdated in interface ProjectSpaceESException - if the head revision can not be resolvedProjectSpace.isUpdated()public void loginCompleted(ESUsersession session)
loginCompleted in interface ESLoginObserversession - the ESUsersession which has been logged inpublic void makeTransient()
makeTransient in interface ProjectSpaceProjectSpace.makeTransient()
public void mergeBranch(PrimaryVersionSpec branchSpec,
ConflictResolver conflictResolver,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
mergeBranch in interface ProjectSpacebranchSpec - the version which is supposed to be mergedconflictResolver - a ConflictResolver for conflict resolvingmonitor - a progress monitor that may be used during the merge to indicate the progress
ESException - in case of an exception
public ChangePackage mergeResolvedConflicts(ChangeConflictSet conflictSet,
List<ChangePackage> myChangePackages,
List<ChangePackage> theirChangePackages)
throws ChangeConflictException
mergeResolvedConflicts in interface ProjectSpaceconflictSet - a set containing the conflictsmyChangePackages - a list of local change packagestheirChangePackages - a list of containing the incoming change packages
ChangeConflictException - in case the conflicts can not be resolvedProjectSpace.mergeResolvedConflicts(org.eclipse.emf.emfstore.internal.server.conflictDetection.ChangeConflictSet,
java.util.List, java.util.List)
public List<BranchInfo> getBranches()
throws ESException
getBranches in interface ProjectSpaceBranchInfo
ESException - in case of an exceptionProjectSpace.getBranches()
public void removeTag(PrimaryVersionSpec versionSpec,
TagVersionSpec tag)
throws ESException
removeTag in interface ProjectSpaceversionSpec - the versionSpectag - the tag
ESException - if exception occurs on the serverProjectSpace.removeTag(org.eclipse.emf.emfstore.internal.server.model.versioning.PrimaryVersionSpec,
org.eclipse.emf.emfstore.internal.server.model.versioning.TagVersionSpec)
public org.eclipse.emf.ecore.EObject resolve(ModelElementUrlFragment modelElementUrlFragment)
throws MEUrlResolutionException
resolve in interface ProjectSpacemodelElementUrlFragment - the url
MEUrlResolutionException - if model element does not exist in project.ProjectSpace.resolve(org.eclipse.emf.emfstore.internal.server.model.url.ModelElementUrlFragment)
public PrimaryVersionSpec resolveVersionSpec(VersionSpec versionSpec,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws InvalidVersionSpecException,
ESException
resolveVersionSpec in interface ProjectSpaceversionSpec - the spec to resolvemonitor - a progress monitor that may be used during resolving the version to indicate the progress
ESException - if resolving fails
InvalidVersionSpecExceptionProjectSpace.resolveVersionSpec(org.eclipse.emf.emfstore.internal.server.model.versioning.VersionSpec,
org.eclipse.core.runtime.IProgressMonitor)public void revert()
revert in interface ProjectSpaceProjectSpace.revert()public void saveProjectSpaceOnly()
public void save()
save in interface ProjectSpacepublic boolean hasUnsavedChanges()
hasUnsavedChanges in interface ProjectSpaceProjectSpace.hasUnsavedChanges()public void saveResource(org.eclipse.emf.ecore.resource.Resource resource)
resource - the resourcepublic void setProperty(OrgUnitProperty property)
setProperty in interface ProjectSpaceproperty - the new propertyProjectSpace.setProperty(org.eclipse.emf.emfstore.internal.server.model.accesscontrol.OrgUnitProperty)
public ProjectInfo shareProject(org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
shareProject in interface ProjectSpaceESException - if an error occurs during the sharing of the projectProjectSpace.shareProject(org.eclipse.core.runtime.IProgressMonitor)
public ProjectInfo shareProject(Usersession session,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
shareProject in interface ProjectSpacesession - the Usersession that should be used for sharing the
projectmonitor - an instance of an IProgressMonitor
ESException - if an error occurs during the sharing of the projectProjectSpace.shareProject(org.eclipse.emf.emfstore.internal.client.model.Usersession,
org.eclipse.core.runtime.IProgressMonitor)public void startChangeRecording()
public void stopChangeRecording()
public void transmitProperties()
transmitProperties in interface ProjectSpaceProjectSpace.transmitProperties()public void undoLastOperation()
undoLastOperation in interface ProjectSpaceProjectSpace.undoLastOperation()public void undoLastOperations(int numberOfOperations)
undoLastOperations in interface ProjectSpacenumberOfOperations - the number of operations to be undoneProjectSpace.undoLastOperation()
public PrimaryVersionSpec update(org.eclipse.core.runtime.IProgressMonitor monitor)
throws ESException
update in interface ProjectSpacemonitor - a progress monitor that may be used during update to indicate progress
ESException - if update fails ProjectSpace.update(org.eclipse.core.runtime.IProgressMonitor)
public PrimaryVersionSpec update(VersionSpec version)
throws ESException
update in interface ProjectSpaceversion - the version to update to
ESException - if update fails ProjectSpace.update(org.eclipse.emf.emfstore.internal.server.model.versioning.VersionSpec)
public PrimaryVersionSpec update(VersionSpec version,
ESUpdateCallback callback,
org.eclipse.core.runtime.IProgressMonitor progress)
throws ESException
update in interface ProjectSpaceversion - the VersionSpec to update tocallback - the ESUpdateCallback that will be called when the update
has been performedprogress - an IProgressMonitor instance
ESException - in case the update went wrongProjectSpace.update(org.eclipse.emf.emfstore.internal.server.model.versioning.VersionSpec,
org.eclipse.emf.emfstore.client.callbacks.ESUpdateCallback, org.eclipse.core.runtime.IProgressMonitor)public void updateDirtyState()
public void dispose()
dispose in interface ESDisposableESDisposable.dispose()public boolean isShared()
isShared in interface ProjectSpaceProjectSpace.isShared()public ESLocalProjectImpl toAPI()
toAPI in interface APIDelegate<ESLocalProjectImpl>APIDelegate.toAPI()public ESLocalProjectImpl createAPI()
createAPI in interface APIDelegate<ESLocalProjectImpl>APIDelegate.createAPI()public ESRunnableContext getRunnableContext()
ESRunnableContext operations are applied in.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||