Issue #244 Fix bug in handleInvitationEvent

Change-Id: Ic47628203707a8238b1d3c0982d177641bba53a9

Former-commit-id: a39475e04d [formerly 12e29dfb9e3a77e44b7b946f138c84e082e0990a]
Former-commit-id: 46ddf008b8
This commit is contained in:
Roger Ferrel 2012-04-03 17:28:09 -05:00
parent f496523681
commit 5145bb9e7e

View file

@ -464,13 +464,18 @@ public class CollaborationDataManager {
.joinCollaborationVenue(invitation);
String sessionId = session.getSessionId();
sessionsMap.put(sessionId, session);
ISharedDisplaySession displaySession = session
.spawnSharedDisplaySession();
ParticipantEventController pec = new ParticipantEventController(
displaySession);
pec.startup();
roleEventControllersMap.put(sessionId, pec);
PlatformUI
.getWorkbench()
.getActiveWorkbenchWindow()
.getActivePage()
.showView(CollaborationSessionView.ID, sessionId,
IWorkbenchPage.VIEW_ACTIVATE);
} catch (CollaborationException e) {
// TODO Auto-generated catch block. Please revise as
// appropriate.
@ -529,6 +534,7 @@ public class CollaborationDataManager {
});
}
@Deprecated
public String joinCollaborationSession(String venueName, String sessionId) {
String result = sessionId;
if (sessionsMap.get(sessionId) == null) {