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

SHARING_ADDED event type

Hi,
Is there any listeners/events that I can use to get a notification when a
project is shared?
Right now I am using:
FileSystemCore.getSharingManager().addListener(new
MyCopyFileAreaListener());

When I share my project with Jazz, I receive 2 event types:

SHARING_ADDED and SHARING_STATE_UPDATED.

I guess I can listen to SHARING_ADDED event to figure out if my project is
shared? If this is the right way to do it, is there any other situations
where I can receive the SHARING_ADDED beside when the user selects Team >
Share Project... in the context menu?

Thank you.

0 votes



One answer

Permanent link
On Fri, 23 May 2008 18:01:47 -0400, Hung wrote:

I guess I can listen to SHARING_ADDED event to figure out if my project
is shared? If this is the right way to do it, is there any other
situations where I can receive the SHARING_ADDED beside when the user
selects Team > Share Project... in the context menu?

You can get that event when the user runs Load as well, or if they do any
SCM operation that results in a new project being created.

- Dmitry

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,927

Question asked: May 23 '08, 6:01 p.m.

Question was seen: 6,077 times

Last updated: May 23 '08, 6:01 p.m.

Confirmation Cancel Confirm