From: Florian L. <fle...@us...> - 2005-06-21 23:38:27
|
Update of /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/views In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14561/src/net/sf/magicmap/client/views Modified Files: OutlineView.java Log Message: update icon on fixstate change of a node Index: OutlineView.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/views/OutlineView.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** OutlineView.java 2 Jun 2005 00:13:12 -0000 1.2 --- OutlineView.java 21 Jun 2005 23:38:18 -0000 1.3 *************** *** 221,228 **** */ public void nodeUpdatedEvent(Node node, int type, Object data){ ! if (type == NodeModel.UPDATE_LABELCHANGED){ OutlineNode on = findOutlineNode(node); if (on != null){ ! //treemodel.nodeChanged(on); } else{ System.out.println("Node not found in tree view: " + node); --- 221,228 ---- */ public void nodeUpdatedEvent(Node node, int type, Object data){ ! if (type == NodeModel.UPDATE_LABELCHANGED || type == NodeModel.UPDATE_FIXSTATE){ OutlineNode on = findOutlineNode(node); if (on != null){ ! treemodel.nodeChanged(on); } else{ System.out.println("Node not found in tree view: " + node); |