« Main differences between V1.9.1 and V1.10 » : différence entre les versions
(18 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 3 : | Ligne 3 : | ||
== New Reset functionnality == | == New Reset functionnality == | ||
By using the [[Copy_%26_paste|Copy & Paste]] functionnality, it is also possible to reset the data. | By using the [[Copy_%26_paste#More_than_Copy_.26_Paste_.21|Copy & Paste]] functionnality, it is also possible to reset the data. | ||
== Blank characters in GContextFileManagement widget == | == Blank characters in GContextFileManagement widget == | ||
Now, when using [{{PathCurrentJavaDoc}}/fr/cnes/genius/utils/GContextFileManagement.html GContextFileManagement] widget setting directly a file name with blank characters before or after the name, it will correctly take into account it. | Now, when using [{{PathCurrentJavaDoc}}/fr/cnes/genius/utils/GContextFileManagement.html GContextFileManagement] widget setting directly a file name with blank characters before or after the name, it will correctly take into account it. | ||
== Possibility to plot EVENTS files == | |||
It is now possible to plot "'''EVENT'''" files coming, for example, from the [http://psimu.cnes.fr PSIMU] software. | |||
== Mouse efficiency for scrolling == | |||
The mouse is now more efficient when we want to scroll. | |||
== GList widget improvements == | |||
The following methods have been added to the [{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GList.html GList] class: | |||
* <font color=#4169E1>removeAllElements()</font> | |||
* <font color=#4169E1>getSize()</font> | |||
* <font color=#4169E1>getJList()</font> for getting the original <font color=#FF8C00>swing JList</font> object | |||
* <font color=#4169E1>setVisibleRowCount()</font> calling the method of the <font color=#FF8C00>swing JList</font> object. | |||
At last, command '''Ctrl-a''' works better. | |||
== GFreeChartXY widget improvements == | |||
The [{{PathCurrentJavaDoc}}/fr/cnes/genius/chart/GFreeChartXY.html GFreeChartXY] widget has now the possibility, after selecting a point on a plot (or anywhere on the (x,y) plane), to get the coordinates of this point. This can be be very useful if we want to execute some process using these coordinates. This functionnality has also been implemented in the two higher level widgets [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotPanel.html GPlotPanel] and [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GGroundPlotPanel.html GGroundPlotPanel]. | |||
Moreover, some changes have been done: | |||
* by adding a constructor with a secondary axis but without the ''widgetId'' argument | |||
* by adding a setter (<font color=#4169E1>setForcedDrawLine()</font> method) to get the possibility to plot both with plain line and symbols. | |||
* by adding the possibility to modify the automatic legend with <font color=#4169E1>removeLegend()</font> et <font color=#4169E1>addLegend()</font> methods. | |||
* by changing how to call the <font color=#4169E1>addSerie()</font> method, removing ''serieName'' and ''shape'' redundant arguments | |||
== Writing MADONA column files improvements == | |||
A new constructor of the [{{PathCurrentJavaDoc}}/fr/cnes/genius/sqlite/MadonaWriter.html MadonaWriter] class is available, allowing to precise how many digits we want | |||
<syntaxhighlight lang="java"> | |||
public MadonaWriter(final List<String> headerInfoLines, final int colPrec) | |||
</syntaxhighlight> | |||
Moreover it is now possible to specify the amount of blank characters (4 by default) between two columns with the <font color=#4169E1>writeColumns()</font> method of the [{{PathCurrentJavaDoc}}/fr/cnes/genius/sqlite/FileColumnWriter.html FileColumnWriter] class: | |||
<syntaxhighlight lang="java"> | |||
public void writeColumns(final String spaceCol) | |||
</syntaxhighlight> | |||
== Anomaly corrections == | == Anomaly corrections == | ||
* The information about discontinuities between two points to be plotted (thanks to a threshold value given in a [[ResultsFileManagement#Madona_files|Madona file]]) is now correctly managed. | * The information about discontinuities between two points to be plotted (thanks to a threshold value given in a [[ResultsFileManagement#Madona_files|Madona file]]) is now correctly managed. | ||
* Using [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotPanel.html GPlotPanel]] widget: | |||
** when we use a [https://www.sqlite.org/ SQLite] file, we can now display data together from the ephemeris table data but also from the events table. | |||
** calendar date axis display is done when the unit is ''~cal'' and no more only if the name of the variable is "''DATE''". | |||
* Using [[How_to_build_a_standard_application|Standard application]] widget, when the pre-processing inhibited the process launch (for example due to an error in the data), the message is now "''start computation aborted …''" rather than "''start computation …''" |
Dernière version du 17 décembre 2020 à 17:23
Some interesting evolutions and corrections have been implemented in this version. No incompatibilities has been identified versus V1.9.1 source code.
New Reset functionnality
By using the Copy & Paste functionnality, it is also possible to reset the data.
Blank characters in GContextFileManagement widget
Now, when using GContextFileManagement widget setting directly a file name with blank characters before or after the name, it will correctly take into account it.
Possibility to plot EVENTS files
It is now possible to plot "EVENT" files coming, for example, from the PSIMU software.
Mouse efficiency for scrolling
The mouse is now more efficient when we want to scroll.
GList widget improvements
The following methods have been added to the GList class:
- removeAllElements()
- getSize()
- getJList() for getting the original swing JList object
- setVisibleRowCount() calling the method of the swing JList object.
At last, command Ctrl-a works better.
GFreeChartXY widget improvements
The GFreeChartXY widget has now the possibility, after selecting a point on a plot (or anywhere on the (x,y) plane), to get the coordinates of this point. This can be be very useful if we want to execute some process using these coordinates. This functionnality has also been implemented in the two higher level widgets GPlotPanel and GGroundPlotPanel.
Moreover, some changes have been done:
- by adding a constructor with a secondary axis but without the widgetId argument
- by adding a setter (setForcedDrawLine() method) to get the possibility to plot both with plain line and symbols.
- by adding the possibility to modify the automatic legend with removeLegend() et addLegend() methods.
- by changing how to call the addSerie() method, removing serieName and shape redundant arguments
Writing MADONA column files improvements
A new constructor of the MadonaWriter class is available, allowing to precise how many digits we want
public MadonaWriter(final List<String> headerInfoLines, final int colPrec)
Moreover it is now possible to specify the amount of blank characters (4 by default) between two columns with the writeColumns() method of the FileColumnWriter class:
public void writeColumns(final String spaceCol)
Anomaly corrections
- The information about discontinuities between two points to be plotted (thanks to a threshold value given in a Madona file) is now correctly managed.
- Using GPlotPanel] widget:
- when we use a SQLite file, we can now display data together from the ephemeris table data but also from the events table.
- calendar date axis display is done when the unit is ~cal and no more only if the name of the variable is "DATE".
- Using Standard application widget, when the pre-processing inhibited the process launch (for example due to an error in the data), the message is now "start computation aborted …" rather than "start computation …"