Issue #244 Fix bug in handleInvitationEvent

Change-Id: Ic47628203707a8238b1d3c0982d177641bba53a9

Former-commit-id: c2b5a62e38 [formerly 7aa926028e] [formerly a39475e04d] [formerly c2b5a62e38 [formerly 7aa926028e] [formerly a39475e04d] [formerly 46ddf008b8 [formerly a39475e04d [formerly 12e29dfb9e3a77e44b7b946f138c84e082e0990a]]]]
Former-commit-id: 46ddf008b8
Former-commit-id: c3b0f8dc27 [formerly d1ce0844e3] [formerly 17eff5c7bcf326f80da2ab7de13763602e79ffb9 [formerly 5145bb9e7e]]
Former-commit-id: 6bd56e8fcad54690a5ba52cabdd9e8c39e21329c [formerly 3afe426ae1]
Former-commit-id: d5bf79f20d
This commit is contained in:
Roger Ferrel 2012-04-03 17:28:09 -05:00
parent 49ef4ddae2
commit a3113066c8

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) {