[jboss-cvs] JBossCache/src/org/jboss/cache ...

Ben Wang bwang at jboss.com
Fri Sep 29 00:03:26 EDT 2006


  User: bwang   
  Date: 06/09/29 00:03:26

  Modified:    src/org/jboss/cache  TreeCacheView2.java
  Log:
  upd
  
  Revision  Changes    Path
  1.16      +6 -8      JBossCache/src/org/jboss/cache/TreeCacheView2.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TreeCacheView2.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCacheView2.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -b -r1.15 -r1.16
  --- TreeCacheView2.java	26 Sep 2006 08:48:04 -0000	1.15
  +++ TreeCacheView2.java	29 Sep 2006 04:03:26 -0000	1.16
  @@ -53,7 +53,7 @@
    * The view itself caches only the nodes, but doesn't cache any of the data (HashMap) associated with it. When
    * data needs to be displayed, the underlying tree will be accessed directly.
    *
  - * @version $Revision: 1.15 $
  + * @version $Revision: 1.16 $
    */
   public class TreeCacheView2
   {
  @@ -77,6 +77,7 @@
         if (gui_ == null)
         {
            log_.info("start(): creating the GUI");
  +         System.out.println("start(): creating the GUI");
            gui_ = new TreeCacheGui2(cache_);
         }
      }
  @@ -158,7 +159,7 @@
               tree.setConfiguration(new XmlConfigurationParser().parseFile(resource));
   
               tree.start();
  -            tree.getNotifier().addCacheListener(new TreeCacheView.MyListener());
  +//            tree.getNotifier().addCacheListener(new TreeCacheView.MyListener());
               demo = new TreeCacheView2(tree);
               demo.start();
               if (start_directory != null && start_directory.length() > 0)
  @@ -474,12 +475,9 @@
   
      public void nodeModified(Fqn fqn, boolean pre, boolean isLocal, Map data)
      {
  -      // Map data;
  -      //data=getData(fqn);
  -      //populateTable(data); REVISIT
  -      /*
  -        poulateTable is the current table being shown is the info of the node. that is modified.
  -      */
  +//      data=getData(fqn.toString());
  +//      System.out.println("Data modified: fqn: " +fqn + " data: " +data);
  +      populateTable(data);
      }
   
      public void nodeRemoved(Fqn fqn, boolean pre, boolean isLocal, Map data)
  
  
  



More information about the jboss-cvs-commits mailing list