It's all about the answers!

Ask a question

Change lock description in file


Francisco Rodriguez (561528) | asked Nov 20 '15, 6:10 p.m.
 Hi,

Currently, when someone locks a file the description contains something like:

"Locked by me in Stream1"

So my question is how can I change this description by using the client Java API?

Regards,
Francisco R.

Accepted answer


permanent link
Chris McGee (50511117) | answered Nov 27 '15, 10:09 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
There is currently no way to customize the lock label text in the pending changes view.
Geoffrey Clemm selected this answer as the correct answer

Comments
Francisco Rodriguez commented Nov 27 '15, 10:37 a.m.

 Does this apply for the Project Explorer view also?


Chris McGee commented Nov 27 '15, 11:09 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Yes, it applies there too. The label is not currently customizable.

One other answer



permanent link
Kohji Ohsawa (5951310) | answered Nov 23 '15, 3:21 a.m.
JAZZ DEVELOPER
Hi Francisco, 

I am not sure you can modify an existing lock description. As far as I know, a lock is created by using IWorkspaceManger#applyLockOperations. I think you can start digging from here. 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.