sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 01/02: Add some notes about further work that needs to be done.
Date Sat, 09 Nov 2019 17:10:41 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit bc605ab94b91ca114d8de282497c8f3fb45a8a16
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Sat Nov 9 16:01:57 2019 +0100

    Add some notes about further work that needs to be done.
---
 .../src/main/java/org/apache/sis/gui/dataset/FeatureTable.java   | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/dataset/FeatureTable.java
b/application/sis-javafx/src/main/java/org/apache/sis/gui/dataset/FeatureTable.java
index 4ddb483..e55ca3c 100644
--- a/application/sis-javafx/src/main/java/org/apache/sis/gui/dataset/FeatureTable.java
+++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/dataset/FeatureTable.java
@@ -321,6 +321,15 @@ public class FeatureTable extends TableView<Feature> {
          * Invoked when a new value needs to be show.
          *
          * @todo Needs to check for object type (number, date, etc.).
+         *       Should share with {@link org.apache.sis.gui.metadata.MetadataTree}.
+         *
+         * @todo For points, use {@link TableColumn#getColumns() nested columns} (one per
dimension)
+         *       with labels fetched from the CRS. For geometries, consider expanding points
as we do
+         *       for collections.
+         *
+         * @todo For {@link ValueCell} only (not {@link ElementCell}), if the feature is
{@link ExpandedFeature}
+         *       with {@code index != 0}, write text in gray. We could also use the value
formatted at index 0
+         *       for avoiding to format the same thing many times.
          */
         @Override
         protected void updateItem(final Object value, final boolean empty) {


Mime
View raw message