« Main differences between V1.8 and V1.9 » : différence entre les versions

De GENIUS
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
 
(26 versions intermédiaires par le même utilisateur non affichées)
Ligne 3 : Ligne 3 :
== New GList and GListSelect widgets ==
== New GList and GListSelect widgets ==


TBW ...
[{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GList.html GList] and [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GListWithLabel.html GListWithLabel] widget has been added allowing to display a list of strings (a bit like [{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GComboBox.html GComboBox]) but allowing selecting several elements.
 
Moreover, a higher level [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GListSelect.html GListSelect] widget is also available allowing selecting elements of a list to copy/move them in another one.


== Finding and reading multiple data ==
== Finding and reading multiple data ==


TBW ...
<font color=#556B2F>'''GENIUS'''</font> already owns static methods from class [{{PathCurrentJavaDoc}}/fr/cnes/genius/main/GFileManipulation.html GFileManipulation] allowing reading or writing data. Nevertheless, these methods only work at a single level of the data structures and do not include multiple search.
 
Now, it is possible to search inside a <font color=#FF8C00 title="Extensible Markup Language">XML</font> file (or a <font color=#556B2F>'''GENIUS'''</font> data structure) one or several data "sub-structures" using mainly the [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GMultipleStructureChoice.html GMultipleStructureChoice] class as explained [[GReadWrite_interface#Missing_data|here]].
 
A typical application of such a functionality is to get some data from a "A" application to get it in a "B" application.


== New GTree widget ==
== New GTree widget ==
 
as it is used by the [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GMultipleStructureChoice.html GMultipleStructureChoice] class, a new [{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GTree.html GTree] widget is now available.
TBW ...


==  GplotPanel improvements ==
==  GplotPanel improvements ==
Ligne 17 : Ligne 22 :
=== Symbol choice in GPlotPanel widget ===
=== Symbol choice in GPlotPanel widget ===


TBW ...
It is now possible to select which symbol will be used for a plot (line for a continuous draw or symbols as circle, square ... for dotted lines).


=== Calendar date format in GPlotPanel widget ===
=== Calendar date format in GPlotPanel widget ===


TBW ...
Dates are no more displayed in Julian days but in a calendar format.


=== Possibility to plot several files in GPlotPanel widget ===
=== Possibility to plot several files in GPlotPanel widget ===


TBW ...
Since this version, [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotPanel.html GPlotPanel] allows taking into account several files for plots.
 
* the by default mode is still considering only one file.
* if we need several files, the first one is considered as the "reference" one.
* other files will be taken into account only if they include variables existing in the "reference" file (as read in the file header).
* user could decide to plot directly the values contained in the files or to plot relative values thanks to the "reference" file.


=== Availability of a tool based on GPlotPanel widget ===
=== Availability of a tool based on GPlotPanel widget ===


TBW ...
The [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotPanel.html GPlotPanel] widget is quite complex and powerful, allowing manipulations after reading text or [https://www.sqlite.org/ SQLite] files. Nevertheless, the only way to use it up to now was to develop a <font color=#FF8C00>Java</font> code or to call a higher level tool that uses it (as [http://psimu.cnes.fr PSIMU]).
 
That is why, a compiled tool with its own <font color=#FF8C00 title="Graphical User Interface">GUI</font> is available with this version.


== New units ==
== New units ==


TBW ...
In previous versions, the unit symbol for a day was "'''j'''" (''jour'' in French ...). Now, it is also available as "'''d'''". Moreover, two other units are available with "'''mo'''" for month (or ''mois'' in French ...) and "'''y'''" for a year (or "'''a'''" for ''année'' in French). Conversions are the following ones:
* 1 year = 365.25 days
* 12 months = 1 year
* 1 day = 86400 s


== Indication when loading a configuration ==
== Indication when loading a configuration ==


TBW ...
Some configurations may be very long to be loaded because of the amount of data. In such a case, an indicator (a turning wheel) will show that the application is still running.


== Better file suffix management for the GSaveResults widget ==
== Better file suffix management for the GSaveResults widget ==


TBW ...
In previous versions, it was not possible to manage different suffixes for any kind of results files. Now, it is the case, using an additional <font color=#FF8C00 title="Application Programming Interface">API</font> for the <font color=#4169E1>addSingleResultFile()</font> method.


== Minor improvements for GComponentList widget ==
== Minor improvements for GComponentList widget ==


TBW ...
* adding the <font color=#4169E1>add(final int rank, final GComponent item)</font> method to add a component to the list.
 
* adding the <font color=#4169E1>remove(final int rank)</font> method to remove an element in the list.
== Anomaly corrections ==
* adding the <font color=#4169E1>setCurrentItemRank(final int rank)</font> method to select the current element.
 
* Better management when multiple panels used with [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotPanel.html GPlotPanel] widget.
 
 
 
 
 
 
 
 


== Anomaly corrections ==
== Anomaly corrections ==


* Correction of the management of additional panels for the [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotPanel.html GPlotPanel] widget.
* Correction of the management of additional panels for the [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotPanel.html GPlotPanel] widget.

Dernière version du 23 août 2019 à 09:00

Some interesting evolutions and corrections have been implemented in this version. No incompatibilities has been identified versus V1.8 source code .

New GList and GListSelect widgets

GList and GListWithLabel widget has been added allowing to display a list of strings (a bit like GComboBox) but allowing selecting several elements.

Moreover, a higher level GListSelect widget is also available allowing selecting elements of a list to copy/move them in another one.

Finding and reading multiple data

GENIUS already owns static methods from class GFileManipulation allowing reading or writing data. Nevertheless, these methods only work at a single level of the data structures and do not include multiple search.

Now, it is possible to search inside a XML file (or a GENIUS data structure) one or several data "sub-structures" using mainly the GMultipleStructureChoice class as explained here.

A typical application of such a functionality is to get some data from a "A" application to get it in a "B" application.

New GTree widget

as it is used by the GMultipleStructureChoice class, a new GTree widget is now available.

GplotPanel improvements

Symbol choice in GPlotPanel widget

It is now possible to select which symbol will be used for a plot (line for a continuous draw or symbols as circle, square ... for dotted lines).

Calendar date format in GPlotPanel widget

Dates are no more displayed in Julian days but in a calendar format.

Possibility to plot several files in GPlotPanel widget

Since this version, GPlotPanel allows taking into account several files for plots.

  • the by default mode is still considering only one file.
  • if we need several files, the first one is considered as the "reference" one.
  • other files will be taken into account only if they include variables existing in the "reference" file (as read in the file header).
  • user could decide to plot directly the values contained in the files or to plot relative values thanks to the "reference" file.

Availability of a tool based on GPlotPanel widget

The GPlotPanel widget is quite complex and powerful, allowing manipulations after reading text or SQLite files. Nevertheless, the only way to use it up to now was to develop a Java code or to call a higher level tool that uses it (as PSIMU).

That is why, a compiled tool with its own GUI is available with this version.

New units

In previous versions, the unit symbol for a day was "j" (jour in French ...). Now, it is also available as "d". Moreover, two other units are available with "mo" for month (or mois in French ...) and "y" for a year (or "a" for année in French). Conversions are the following ones:

  • 1 year = 365.25 days
  • 12 months = 1 year
  • 1 day = 86400 s

Indication when loading a configuration

Some configurations may be very long to be loaded because of the amount of data. In such a case, an indicator (a turning wheel) will show that the application is still running.

Better file suffix management for the GSaveResults widget

In previous versions, it was not possible to manage different suffixes for any kind of results files. Now, it is the case, using an additional API for the addSingleResultFile() method.

Minor improvements for GComponentList widget

  • adding the add(final int rank, final GComponent item) method to add a component to the list.
  • adding the remove(final int rank) method to remove an element in the list.
  • adding the setCurrentItemRank(final int rank) method to select the current element.

Anomaly corrections

  • Correction of the management of additional panels for the GPlotPanel widget.