Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Change lock description in file

 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.

0 votes


Accepted answer

Permanent link
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

0 votes

Comments

 Does this apply for the Project Explorer view also?

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


One other answer

Permanent link
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. 

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Nov 20 '15, 6:10 p.m.

Question was seen: 2,470 times

Last updated: Nov 27 '15, 11:09 a.m.

Confirmation Cancel Confirm