Package org.eclipse.ecf.presence.ui

Examples of org.eclipse.ecf.presence.ui.UserSearchView


   */
  protected void fireEventComplete(final IUserSearchCompleteEvent event) {
    new UIJob(Messages.SearchContactDialog_UserSearchJobName) {
      public IStatus runInUIThread(IProgressMonitor monitor) {
        try {
          final UserSearchView view = (UserSearchView) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(UserSearchView.VIEW_ID);
          view.showMessage(Messages.SearchContactDialog_SearchingMessage);
          view.addMultiRosterAccount(account);
          view.addResult(event.getSearch().getResultList());
        } catch (PartInitException e) {
          Activator.getDefault().getLog().log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, IStatus.ERROR, e.getLocalizedMessage(), e));
          return new Status(IStatus.ERROR, Activator.PLUGIN_ID, IStatus.ERROR, "Exception showing search results view", e); //$NON-NLS-1$
        }
        return Status.OK_STATUS;
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.presence.ui.UserSearchView

Copyright © 2018 www.massapicom. 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.