com.sun.electric.tool.user.ui
Class ErrorLoggerTree

java.lang.Object
  extended by com.sun.electric.tool.user.ui.ErrorLoggerTree

public class ErrorLoggerTree
extends java.lang.Object

Class to define a collection of highlighted errors in the Explorer tree.


Nested Class Summary
static class ErrorLoggerTree.ErrorLoggerDefaultMutableTreeNode
           
static class ErrorLoggerTree.ErrorLoggerTreeNode
           
 
Constructor Summary
ErrorLoggerTree()
           
 
Method Summary
static void addLogger(ErrorLogger logger, boolean explain, boolean terminate)
           
static void deleteAllLoggers()
           
static javax.swing.tree.DefaultMutableTreeNode getExplorerTree()
           
static javax.swing.JPopupMenu getPopupMenu(ErrorLoggerTree.ErrorLoggerTreeNode log)
          A static object is used so that its open/closed tree state can be maintained.
static boolean hasLogger(ErrorLogger logger)
           
static void importLogger()
           
static java.lang.String reportNextMessage()
          Method to advance to the next error and report it.
static java.lang.String reportPrevMessage()
          Method to back up to the previous error and report it.
static void showCurrentErrors()
          Method to show the current collection of errors.
static void updateDrcErrors(Cell cell, java.util.List<ErrorLogger.MessageLog> newErrors, java.util.List<ErrorLogger.MessageLog> delErrors)
           
static void updateNetworkErrors(Cell cell, java.util.List<ErrorLogger.MessageLog> errors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorLoggerTree

public ErrorLoggerTree()
Method Detail

hasLogger

public static boolean hasLogger(ErrorLogger logger)

addLogger

public static void addLogger(ErrorLogger logger,
                             boolean explain,
                             boolean terminate)

updateNetworkErrors

public static void updateNetworkErrors(Cell cell,
                                       java.util.List<ErrorLogger.MessageLog> errors)

updateDrcErrors

public static void updateDrcErrors(Cell cell,
                                   java.util.List<ErrorLogger.MessageLog> newErrors,
                                   java.util.List<ErrorLogger.MessageLog> delErrors)

getExplorerTree

public static javax.swing.tree.DefaultMutableTreeNode getExplorerTree()

reportNextMessage

public static java.lang.String reportNextMessage()
Method to advance to the next error and report it.


reportPrevMessage

public static java.lang.String reportPrevMessage()
Method to back up to the previous error and report it.


showCurrentErrors

public static void showCurrentErrors()
Method to show the current collection of errors.


getPopupMenu

public static javax.swing.JPopupMenu getPopupMenu(ErrorLoggerTree.ErrorLoggerTreeNode log)
A static object is used so that its open/closed tree state can be maintained.


importLogger

public static void importLogger()

deleteAllLoggers

public static void deleteAllLoggers()