Issue #2799 fixed double click chat not working for roster entries
Former-commit-id:2a687e7ac5
[formerly1e19c8d62c
] [formerly1bf3a09056
] [formerly9d7490a158
[formerly1bf3a09056
[formerly 06cfbcccff89fd79efd3188c45653dce160fc90a]]] Former-commit-id:9d7490a158
Former-commit-id: 4759fd1ad623c2d68120a23d29513e3f9b15ecd5 [formerlyf22268295e
] Former-commit-id:667a1450cf
This commit is contained in:
parent
9709f881bf
commit
0145571fe4
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