Hello all

I have been slowed down recently by non-SIS work (I will probably still slow until the end of the week). Nevertheless there is a summary of recent additions:

TreeTable interfaces
-----------------
After some though, I think that we don't need Tree interfaces. All usage examples that come to my mind are actually TreeTable. So in order to keep the API simpler, I propose to provide only TreeTable interface (it can be viewed as a table where the first column contains the tree). If someone really needs a plain Tree, this can be handled as a TreeTable having only one column.

https://builds.apache.org/job/sis-jdk7/site/apidocs/org/apache/sis/util/collection/TreeTable.Node.html


TreeTableFormat
--------------
A java.text.Format implementation is provided for parsing and formatting string representations of TreeTable. This is intended to be used quite extensively in many places: string representation of ISO 19115 metadata, of ISO 19111 parameters, of features, etc. Basically, the "toString()" implementations of many SIS objects are planed to use TreeTableFormat.

https://builds.apache.org/job/sis-jdk7/site/apidocs/org/apache/sis/util/collection/TreeTableFormat.html

On a very minor topic, is there any preferences for the default placement of the vertical lines in in the tree? This is configurable, but the default would be used by Many toString() implementations. Some possibilities are:

   Node #1........................... Value #1
   ????Node #2............... Value #2
   ?   ????Node #4... Value #4
   ????Node #3............... Value #3

   Node #1........................... Value #1
     ???Node #2............... Value #2
     ?   ???Node #4... Value #4
     ???Node #3............... Value #3

   Node #1........................... Value #1
      ??Node #2............... Value #2
      ?   ??Node #4... Value #4
      ??Node #3............... Value #3


    Martin

Reply via email to