Merge "Issue #2799 fixed double click chat not working for roster entries" into development
Former-commit-id:1841c4f7bf
[formerlyed87998c31
] [formerly6093312861
] [formerly1841c4f7bf
[formerlyed87998c31
] [formerly6093312861
] [formerly94b8b7eb04
[formerly6093312861
[formerly 381c3f6c6585f414c27b771168746f6dd838df0c]]]] Former-commit-id:94b8b7eb04
Former-commit-id:906e7f679a
[formerlyf53e9523f3
] [formerly 5a33efafe8dc13c6044be153e57d9a79150c60c2 [formerlyb9e027059f
]] Former-commit-id: f1c22bbd6a9a841cc0f1e2161f7c123c3ecff932 [formerly78f8a9fbe3
] Former-commit-id:5771b557ef
This commit is contained in:
commit
6b059bb502
1 changed files with 4 additions and 2 deletions
|
@ -141,6 +141,7 @@ import com.raytheon.viz.ui.views.CaveFloatingView;
|
|||
* Jan 27, 2014 2700 bclement fixed context menu for roster entries
|
||||
* Jan 30, 2014 2698 bclement fixed alias not working for roster entries
|
||||
* removed unneeded subscription for nickname changed events
|
||||
* Feb 12, 2014 2799 bclement fixed double click chat not working for roster entries
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -483,8 +484,9 @@ public class CollaborationGroupView extends CaveFloatingView implements
|
|||
TreeSelection selection = (TreeSelection) usersTreeViewer
|
||||
.getSelection();
|
||||
Object o = selection.getFirstElement();
|
||||
if (o instanceof UserId) {
|
||||
new PeerToPeerChatAction((UserId) o).run();
|
||||
if (o instanceof RosterEntry) {
|
||||
UserId user = IDConverter.convertFrom((RosterEntry) o);
|
||||
new PeerToPeerChatAction(user).run();
|
||||
} else if (o instanceof IVenueSession) {
|
||||
new ShowVenueAction((IVenueSession) o).run();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue