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.
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.
One answer
On Fri, 23 May 2008 18:01:47 -0400, Hung wrote:
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
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