logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psm...@apache.org
Subject cvs commit: jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw LogUI.java
Date Mon, 05 May 2003 11:38:27 GMT
psmith      2003/05/05 04:38:27

  Modified:    src/java/org/apache/log4j/chainsaw LogUI.java
  Log:
  very minor code formatting (alignment of tabs).
  
  Revision  Changes    Path
  1.25      +10 -5     jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/LogUI.java
  
  Index: LogUI.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/LogUI.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- LogUI.java	5 May 2003 08:01:04 -0000	1.24
  +++ LogUI.java	5 May 2003 11:38:27 -0000	1.25
  @@ -545,10 +545,11 @@
   	class LogPanel extends DockablePanel {
   		final ColorFilter colorFilter = new ColorFilter();
   		final DisplayFilter displayFilter;
  -    final TableModel tableModel;
  -    final JEditorPane detail;
  -    final JSplitPane lowerPanel;
  -    final DetailThread detailThread;
  +		final TableModel tableModel;
  +		final JEditorPane detail;
  +		final JSplitPane lowerPanel;
  +		final DetailThread detailThread;
  +		private boolean isDetailPaneVisible = true;
   		boolean isDocked = true;
   		String identifier;
   		final Map columnDisplayMap = new HashMap();
  @@ -1306,6 +1307,10 @@
         }
       }
       
  +    boolean isDetailPaneVisible() {
  +    	return isDetailPaneVisible;
  +    }
  +    
       void toggleDetailPanel() {
         int currentPosition = lowerPanel.getDividerLocation();
         int lastPosition = lowerPanel.getLastDividerLocation();
  @@ -1315,8 +1320,8 @@
         } else {
           lowerPanel.setDividerLocation(lowerPanel.getLastDividerLocation());
           lowerPanel.setLastDividerLocation(currentPosition);
  -        
         }
  +      isDetailPaneVisible = !isDetailPaneVisible;
       }
   	}
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message