Package org.eclipse.egit.ui.internal.repository.tree

Examples of org.eclipse.egit.ui.internal.repository.tree.ErrorNode


  private Object[] handleException(Exception e, RepositoryTreeNode parentNode) {
    Activator.handleError(e.getMessage(), e, false);
    // add a node indicating that there was an Exception
    String message = e.getMessage();
    if (message == null)
      return new Object[] { new ErrorNode(parentNode, parentNode
          .getRepository(),
          UIText.RepositoriesViewContentProvider_ExceptionNodeText) };
    else
      return new Object[] { new ErrorNode(parentNode, parentNode
          .getRepository(), message) };
  }
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.repository.tree.ErrorNode

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.