Bug 470060 - Have IPermissionAuthority.notifyLock() with a LockStatus parameter.
Summary: Have IPermissionAuthority.notifyLock() with a LockStatus parameter.
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-06-12 08:18 EDT by Esteban DUGUEPEROUX CLA
Modified: 2015-06-22 04:48 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Esteban DUGUEPEROUX CLA 2015-06-12 08:18:27 EDT
In our Sirius based application, we provide our own IPermissionAuthority implementation to manage our own lock.
But when being notified of object locked by IPermissionAuthority.notifyLock() call we cannot distinguish if it is a local or a remote lock, i.e. the LockStatus.
Same issue with IAuthorityListener.
We could add a :

IPermissionAuthority.notifyLock(Collection<EObject>, LockStatus)

and

IAuthorityListener.notifyIsLocked(Collection<EObject>, LockStatus)
Comment 1 Eclipse Genie CLA 2015-06-22 04:48:56 EDT
New Gerrit change created: https://git.eclipse.org/r/50605