[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ChangeLog

From: Roman Kennke
Subject: [commit-cp] classpath ChangeLog
Date: Wed, 07 Jun 2006 14:46:51 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 06/06/07 14:46:50

Modified files:
        .              : ChangeLog 

Log message:
        Checking in the missing ChangeLog.


Index: ChangeLog
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.7696
retrieving revision 1.7697
diff -u -b -r1.7696 -r1.7697
--- ChangeLog   7 Jun 2006 13:56:51 -0000       1.7696
+++ ChangeLog   7 Jun 2006 14:46:49 -0000       1.7697
@@ -1,3 +1,54 @@
+2006-06-06  Roman Kennke  <address@hidden>
+       PR 27920
+       * javax/swing/
+       (JTree()): Initialize with default model.
+       (JTree(TreeModel)): Clear expanded state hashtable. Added comment
+       on the updateUI() / setModel() order.
+       (setModel): Correctly (un-)setup the listeners. Clear the expanded
+       paths.
+       * javax/swing/plaf/basic/
+       (BasicTreeUI()): Initialize listeners in installListeners().
+       (setModel): Complete editing on model change. Correctly resetup
+       the listeners. Update the layout cache accordingly.
+       (setShowRootHandles): Complete editing and update layout. Do not
+       call back into the JTree, this could cause cycles.
+       (prepareForUIInstall): Implemented. Moved some init code from
+       installUI() to this method.
+       (completeUIInstall): Implemented. Moved some init code from
+       installUI() to this method.
+       (createDefaultCellEditor): Check for type of renderer, and install
+       with null renderer when not DefaultTreeCellRenderer.
+       (updateLayoutCacheExpandedNodes): Added null check for tree root
+       to avoid NPE.
+       (updateRenderer): Call updateEditor().
+       (installListeners): Initialize the listeners here. Added some null
+       checks to avoid NPEs.
+       (installUI): Moved some init code to prepareForUIInstall() and
+       completeUIInstall().
+       (completeEditing): Return immediately if editing component is null
+       or if the setting is to not stop editing on complete editing.
+       (checkForClickInExpandControl): Call handleExpandControlClick()
+       instead of toggleExpandState() directly.
+       (isLocationInExpandControl): Rewritten to correctly determine the
+       expand click location.
+       (MouseHandler.mousePressed): Rewritten to make better use of the
+       instance methods of BasicTreeUI to handle the click.
+       (PropertyHandler.propertyChange): Handle model and cell renderer
+       updates.
+       * javax/swing/tree/
+       (DefaultTreeCellEditor): Removed initialization of the icon. This
+       is done so that the constructor can deal with null renderer as the
+       RI does. Maybe this needs more fixing.
+       * javax/swing/tree/
+       (isDescendant): Fixed this method. The previous version did too
+       much and compared the wrong things, which lead to a ClassCastException
+       in equals().
+       * javax/swing/tree/
+       (update): Do nothing when model is null.
+       (setModel): Clear the tables and update the layout. Added null
+       check to prevent NPE.
 2006-06-05  Sven de Marothy  <address@hidden>
        * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]