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.ErrorLoggerGroupNode
           
static class ErrorLoggerTree.ErrorLoggerTreeNode
           
 
Field Summary
static java.lang.String errorNode
           
 
Constructor Summary
ErrorLoggerTree()
           
 
Method Summary
static void addLogger(ErrorLogger logger, boolean explain, boolean terminate)
           
static void deleteAllLoggers()
           
static void deleteLogger(ExplorerTree ex)
           
static void exportLogger(ErrorLoggerTree.ErrorLoggerTreeNode node)
           
static javax.swing.tree.DefaultMutableTreeNode getExplorerTree()
           
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 reportSingleGeometry()
          Method to advance to the next error and report it.
static void setCurrentLogger(ErrorLoggerTree.ErrorLoggerTreeNode node)
           
static void showAllLogger(ExplorerTree ex)
           
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
 

Field Detail

errorNode

public static final java.lang.String errorNode
See Also:
Constant Field Values
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()

reportSingleGeometry

public static void reportSingleGeometry()
Method to advance to the next error and report it.


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.


importLogger

public static void importLogger()

deleteAllLoggers

public static void deleteAllLoggers()

deleteLogger

public static void deleteLogger(ExplorerTree ex)

exportLogger

public static void exportLogger(ErrorLoggerTree.ErrorLoggerTreeNode node)

showAllLogger

public static void showAllLogger(ExplorerTree ex)

setCurrentLogger

public static void setCurrentLogger(ErrorLoggerTree.ErrorLoggerTreeNode node)