You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2026/03/24 17:10:52 UTC
(sis) 01/03: Fix wrong tooltip associated to button for switching between grid coverage visual and table of values. Opportunistic documentation fixes.
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 e99ccc798adf70692253b1411840ea467e122032
Author: Martin Desruisseaux <ma...@geomatys.com>
AuthorDate: Thu Mar 19 20:46:02 2026 +0100
Fix wrong tooltip associated to button for switching between grid coverage visual and table of values.
Opportunistic documentation fixes.
---
.../main/org/apache/sis/portrayal/Observable.java | 2 --
.../main/org/apache/sis/gui/coverage/CoverageExplorer.java | 6 +++---
.../main/org/apache/sis/gui/metadata/IdentificationInfo.java | 2 +-
.../main/org/apache/sis/gui/referencing/RecentReferenceSystems.java | 2 +-
4 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/portrayal/Observable.java b/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/portrayal/Observable.java
index 2baf9b6c9e..8554517c21 100644
--- a/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/portrayal/Observable.java
+++ b/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/portrayal/Observable.java
@@ -28,8 +28,6 @@ import org.apache.sis.util.ArraysExt;
/**
* Parent class of all objects for which it is possible to register listeners.
- * This base class does not need to be public; its methods will appear as if
- * they were defined directly in sub-classes.
*
* @author Martin Desruisseaux (Geomatys)
* @version 1.5
diff --git a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/coverage/CoverageExplorer.java b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/coverage/CoverageExplorer.java
index 427ff26992..17909fe1c0 100644
--- a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/coverage/CoverageExplorer.java
+++ b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/coverage/CoverageExplorer.java
@@ -93,12 +93,12 @@ public class CoverageExplorer extends Widget {
/**
* Shows the coverage visual as an image. This view uses {@link CoverageCanvas}.
*/
- IMAGE(FontGIS.Code.WORLD_MAP_ALT, "\uD83D\uDDFA\uFE0F", Resources.Keys.TabularData), // 🗺 — World map.
+ IMAGE(FontGIS.Code.WORLD_MAP_ALT, "\uD83D\uDDFA\uFE0F", Resources.Keys.Visualize), // 🗺 — World map.
/**
* Shows the coverage numerical value in a table. This view uses {@link GridView}.
*/
- TABLE(FontGIS.Code.GRID, "\uD83D\uDD22\uFE0F", Resources.Keys.Visualize); // 🔢 — Input symbol for numbers.
+ TABLE(FontGIS.Code.GRID, "\uD83D\uDD22\uFE0F", Resources.Keys.TabularData); // 🔢 — Input symbol for numbers.
/**
* Number of enumeration values.
@@ -208,7 +208,7 @@ public class CoverageExplorer extends Widget {
* @see #getDataView(View)
* @see #getControls(View)
*/
- private final EnumMap<View,ViewAndControls> views;
+ private final EnumMap<View, ViewAndControls> views;
/**
* The control that put everything together, created when first requested.
diff --git a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/metadata/IdentificationInfo.java b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/metadata/IdentificationInfo.java
index 62ba73d87c..9000a8f122 100644
--- a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/metadata/IdentificationInfo.java
+++ b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/metadata/IdentificationInfo.java
@@ -105,7 +105,7 @@ final class IdentificationInfo extends Section<Identification> {
private static final double MIN_RECT_SIZE = 6;
/**
- * The resource title, or if non the identifier as a fallback.
+ * The resource title, or if none the identifier as a fallback.
*/
private final Label title;
diff --git a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/referencing/RecentReferenceSystems.java b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/referencing/RecentReferenceSystems.java
index ebec5681bd..c80476dc0e 100644
--- a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/referencing/RecentReferenceSystems.java
+++ b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/referencing/RecentReferenceSystems.java
@@ -323,7 +323,7 @@ public class RecentReferenceSystems {
* @since 1.3
*/
public void setGridReferencing(final boolean replaceByAuthoritativeDefinition,
- final Map<String,GridGeometry> geometries)
+ final Map<String, GridGeometry> geometries)
{
/*
* Fetch or compute information needed, but without modifying the state of this object yet.