for (int i = 0; i < windows.length; i++) {
IWorkbenchPage page = windows[i].getActivePage();
if (page != null) {
MessagesView view = (MessagesView) page.findView(MessagesView.VIEW_ID);
if (view != null) {
view.openTab(chatMessageSender, typingMessageSender, containerID, message.getFromID());
view.showMessage(message);
if (!page.isPartVisible(view)) {
IWorkbenchSiteProgressService service = (IWorkbenchSiteProgressService) view.getSite().getService(IWorkbenchSiteProgressService.class);
if (service != null) {