sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 02/03: Minor renaming and UI adjustment.
Date Thu, 14 Nov 2019 15:50:03 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 d35821273310693a577933fed790b6fe4f90ee75
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Thu Nov 14 10:12:03 2019 +0100

    Minor renaming and UI adjustment.
---
 .../main/java/org/apache/sis/gui/referencing/AuthorityCodes.java  | 8 ++++----
 .../src/main/java/org/apache/sis/gui/referencing/CRSChooser.java  | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/AuthorityCodes.java
b/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/AuthorityCodes.java
index 2909596..266da64 100644
--- a/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/AuthorityCodes.java
+++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/AuthorityCodes.java
@@ -72,7 +72,7 @@ final class AuthorityCodes extends ObservableListBase<Code>
 
     /**
      * The table view which use this list, or {@code null} if we don't need this information
anymore.
-     * See {@link #describedCodes} for an explanation about its purpose.
+     * See {@link #describedCount} for an explanation about its purpose.
      */
     TableView<Code> owner;
 
@@ -94,7 +94,7 @@ final class AuthorityCodes extends ObservableListBase<Code>
      * This is used for notifying the {@linkplain #owner} when we do not expect more information
to be loaded.
      * This notification is only indicative and may not be fully accurate. Effect should
be only visual.
      */
-    private int describedCodes;
+    private int describedCount;
 
     /**
      * The preferred locale of CRS descriptions.
@@ -220,14 +220,14 @@ final class AuthorityCodes extends ObservableListBase<Code>
                 final String name = updated.remove(value);
                 if (name != null) {
                     ((Code) value).name().set(name);            // The name needs to be set
in JavaFX thread.
-                    describedCodes++;
+                    describedCount++;
                     nextUpdate(i);
                 }
             }
         }
         nextAdd(s, n);
         endChange();
-        if (describedCodes >= n) {
+        if (describedCount >= n) {
             removeHourglass();
         }
     }
diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/CRSChooser.java
b/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/CRSChooser.java
index bdb4e92..c21c3c4 100644
--- a/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/CRSChooser.java
+++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/CRSChooser.java
@@ -121,7 +121,7 @@ public class CRSChooser extends Dialog<CoordinateReferenceSystem>
{
         table.getColumns().setAll(codes, names);
         table.setColumnResizePolicy(TableView.CONSTRAINED_RESIZE_POLICY);
         final Label clock = new Label("\u23F3");      // Unicode U+23F3: Hourglass With Flowing
Sand.
-        clock.setFont(Font.font(40));
+        clock.setFont(Font.font(30));
         table.setPlaceholder(clock);
         /*
          * Text field for filtering the list of CRS codes using keywords.


Mime
View raw message