sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] branch geoapi-4.0 updated (03392c5 -> 2c3e3be)
Date Tue, 09 Jun 2020 17:38:04 GMT
This is an automated email from the ASF dual-hosted git repository.

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


    from 03392c5  Show the coverage value under mouse cursor position.
     new 5b29ab9  Abandon the possibility to change the `MapCanvas` of a `StatusBar` after
status bar creation. That capability was adding complexity (i.e. tracking the listeners to
unregister on previous canvas and re-register on new canvas). The capability to change StatusBar
canvas does not seem to be needed in practice.
     new cf1fc63  Better calculation of label width needed for showing sample values.
     new 4a90d13  Remove a hack which was not needed. A simple use of `Label.USE_PREF_SIZE`
does the trick.
     new 2c3e3be  Remove GridCoverage.evaluate(…) method, replaced by an `Evaluator` class.
This commit is only a refactoring without changes in functionalities. Future commits will
add more capabilities or optimizations.

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../org/apache/sis/gui/coverage/CellFormat.java    |   7 +-
 .../apache/sis/gui/coverage/CoverageControls.java  |   3 +-
 .../java/org/apache/sis/gui/coverage/GridView.java |   2 +-
 .../org/apache/sis/gui/map/OperationFinder.java    |   5 +-
 .../java/org/apache/sis/gui/map/StatusBar.java     | 328 +++++++++++----------
 .../org/apache/sis/gui/map/ValuesUnderCursor.java  | 191 +++++++-----
 .../java/org/apache/sis/internal/gui/Styles.java   |  25 +-
 .../sis/coverage/grid/ConvertedGridCoverage.java   |  61 +++-
 .../org/apache/sis/coverage/grid/Evaluator.java    | 234 +++++++++++++++
 .../coverage/grid/FractionalGridCoordinates.java   |  33 +--
 .../org/apache/sis/coverage/grid/GridCoverage.java | 123 +-------
 .../apache/sis/coverage/grid/GridCoverage2D.java   |  67 +++--
 .../sis/coverage/grid/PointToGridCoordinates.java  |  81 -----
 .../sis/coverage/grid/ResampledGridCoverage.java   |  10 +-
 .../sis/coverage/grid/GridCoverage2DTest.java      |  22 +-
 15 files changed, 652 insertions(+), 540 deletions(-)
 create mode 100644 core/sis-feature/src/main/java/org/apache/sis/coverage/grid/Evaluator.java
 delete mode 100644 core/sis-feature/src/main/java/org/apache/sis/coverage/grid/PointToGridCoordinates.java


Mime
View raw message