Examples of openTab()


Examples of org.eclipse.ecf.presence.ui.MessagesView.openTab()

    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) {
View Full Code Here

Examples of org.eclipse.ecf.presence.ui.MessagesView.openTab()

    for (int i = 0; i < windows.length; i++) {
      IWorkbenchPage page = windows[i].getActivePage();
      if (page != null) {
        try {
          MessagesView view = (MessagesView) page.showView(MessagesView.VIEW_ID);
          view.openTab(chatMessageSender, typingMessageSender, containerID, message.getFromID());
          view.showMessage(message);
        } catch (PartInitException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
        }
View Full Code Here

Examples of org.eclipse.ecf.presence.ui.MessagesView.openTab()

            .findView(MessagesView.VIEW_ID);
        if (view != null) {
          final IWorkbenchSiteProgressService service = (IWorkbenchSiteProgressService) view
              .getSite().getAdapter(
                  IWorkbenchSiteProgressService.class);
          view.openTab(icms, itms, targetID, message.getFromID());
          view.showMessage(message);
          service.warnOfContentChange();
        } else {
          try {
View Full Code Here

Examples of org.eclipse.ecf.presence.ui.MessagesView.openTab()

                  .getSite()
                  .getAdapter(
                      IWorkbenchSiteProgressService.class);
              service.warnOfContentChange();
            }
            view.openTab(icms, itms, targetID, message.getFromID());
            view.showMessage(message);
          } catch (final PartInitException e) {
            e.printStackTrace();
          }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.