tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tsvete...@apache.org
Subject cvs commit: jakarta-tapestry/examples/Workbench/src/org/apache/tapestry/workbench/tree/examples/fsmodel harddrive.gif NodeRenderFactory.java FileSystem.java
Date Thu, 17 Jun 2004 14:39:46 GMT
tsvetelin    2004/06/17 07:39:46

  Modified:    examples/Workbench/src/org/apache/tapestry/workbench/tree/examples/fsmodel
                        harddrive.gif NodeRenderFactory.java
                        FileSystem.java
  Log:
  Tree compoment UI improvements
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-tapestry/examples/Workbench/src/org/apache/tapestry/workbench/tree/examples/fsmodel/harddrive.gif
  
  	<<Binary file>>
  
  
  1.5       +1 -1      jakarta-tapestry/examples/Workbench/src/org/apache/tapestry/workbench/tree/examples/fsmodel/NodeRenderFactory.java
  
  Index: NodeRenderFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Workbench/src/org/apache/tapestry/workbench/tree/examples/fsmodel/NodeRenderFactory.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- NodeRenderFactory.java	19 Feb 2004 17:38:05 -0000	1.4
  +++ NodeRenderFactory.java	17 Jun 2004 14:39:46 -0000	1.5
  @@ -82,7 +82,7 @@
               objWriter.begin("img");
               objWriter.attribute("border", "0");
               objWriter.attribute("src", objAsset.buildURL(objCycle));
  -            objWriter.attribute("align", "bottom");
  +            objWriter.attribute("valign", "middle");
               objWriter.end();
               objWriter.print(" ");
               objWriter.begin("span");
  
  
  
  1.4       +4 -1      jakarta-tapestry/examples/Workbench/src/org/apache/tapestry/workbench/tree/examples/fsmodel/FileSystem.java
  
  Index: FileSystem.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Workbench/src/org/apache/tapestry/workbench/tree/examples/fsmodel/FileSystem.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FileSystem.java	19 Feb 2004 17:38:05 -0000	1.3
  +++ FileSystem.java	17 Jun 2004 14:39:46 -0000	1.4
  @@ -44,7 +44,10 @@
       if (arrFile != null)
         for(int i=0; i<arrFile.length; i++)
         {
  -        m_vDrives.addElement(new Drive(this, arrFile[i]));
  +        File objFile = arrFile[i];
  +        boolean bFloppy = objFile.getAbsolutePath().startsWith("A:") || objFile.getAbsolutePath().startsWith("B:");
  +        if(!bFloppy)
  +            m_vDrives.addElement(new Drive(this, objFile));
         }
     }
   
  
  
  

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


Mime
View raw message