« Main differences between V1.6.2 and V1.7 » : différence entre les versions

De GENIUS
Aller à la navigation Aller à la recherche
(Page créée avec « TBW »)
 
 
(33 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
TBW
Some interesting evolutions and corrections have been implemented in this version but just two incompatibilities has been identified versus V1.6.x code source.
 
== SQLite files ==
 
<font color=#556B2F>'''GENIUS'''</font> proposes now possibilities to store data in [https://www.sqlite.org/ SQLite] formatted files. It is particularly interesting for computation results as ephemeris or any kind of numerical results.
 
== GPlotPanel evolutions ==
 
* Now, GPlotPanel may interpret [https://www.sqlite.org/ SQLite] data files.
* It is possible to initialize the starting directory when the widget is created (or via a setter method).
* It is also possible to deactivate the possibility to choose the file to plot (considering the name of the file has been initialized previously inside the code) : it allows to use [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotPanel.html GPlotPanel] for fixed configurations with the <font color=#4169E1>setSelectedFile()</font> method.
* Plots properties are available via the <font color=#4169E1>setDatasetPlotProperties()</font> method (continuous plots, point by point, etc ...).
* At last, it is now possible to manage plots discontinuities.
 
=> <font color=#990099>incompatibility in the code due to a different argument in the constructor. </font>
 
== GFreeChartXY evolutions ==
 
It is now possible to define the kind of shape for plots drawn point by point and to add tooltips for such points.
 
And as for GPlotPanel, it is now possible to manage plots discontinuities.
 
=> <font color=#990099>incompatibility in the code due additional arguments for the addSeries() method. </font>
 
==  Status notion for GComboBoxWithLabel widget ==
 
It is now possible to associate an '''error/warning''' status to some values proposed in a [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GComboBoxWithLabel.html GComboBoxWithLabel] widget.
 
== Copy/Paste/Import/Export functionality for a component of a widget list ==
 
<font color=#556B2F>'''GENIUS'''</font> gives now the possibility to activate '''Copy/Paste/Import/Export''' functionality for elements of a widget list for example in [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GComponentList.html GComponentList] (useful for some [http://10.120.3.225/index.php/WELCOME_TO_THE_GENOPUS_WIKI GENOPUS] widgets).
 
== GArithmeticException  ==
A new exception has been introduced: [{{PathCurrentJavaDoc}}/fr/cnes/genius/exception/GArithmeticException.html GArithmeticException]). It is raised every time we try to put a <font color=#FF8C00 title="Not a Number">NaN</font> value in a real number widget ([{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GEntryReal.html GEntryReal], [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GEntryRealVector.html GEntryRealVector], [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GSliderReal.html GSliderReal] and [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GSliderRealWithLabel.html GSliderRealWithLabel]). Indeed, we can't have <font color=#FF8C00 title="Not a Number">NaN</font> inside a textfield but getting it inside a context file and read it, or via the <font color=#4169E1>setValue()</font>, <font color=#4169E1>setDefaultValue()</font> and <font color=#4169E1>setSavedValue()</font> methods.
This exception is important to protect <font color=#556B2F>'''GENIUS'''</font> low levels widget against <font color=#FF8C00 title="Not a Number">NaN</font> as well as <font color=#4169E1>ArithmeticException</font> returned by some '''PATRIUS''' objects in [http://10.120.3.225/index.php/WELCOME_TO_THE_GENOPUS_WIKI GENOPUS] widgets.
 
== GUnitFactory ==
 
The static <font color=#4169E1>GUnitFactory.getGUnitArray()</font> method is now available to simplify the creation of table of units.
 
== Anomaly corrections ==
 
* Copy Paste on [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GTable1D.html GTable1D] widget: after executing a "copy/paste" action on a [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GTable1D.html GTable1D] widget and if the result is only one modified vector (one value inside the vector but no size changing), the " '''*''' " character indicating a modification occured now appears.
* Update of the title for [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotPanel.html GPlotPanel] widget: in previous versions, after loading the firs plot from a file, the title was "calculated" thanks to abscissa and ordinate which was required. On the contrary, after a "Clear" and even if a new file is loaded, the title wa no more updated. It is no more the case: after activating the "Clear" button or if a new file ,is loaded, the title is set to a void character string.

Dernière version du 12 décembre 2017 à 10:31

Some interesting evolutions and corrections have been implemented in this version but just two incompatibilities has been identified versus V1.6.x code source.

SQLite files

GENIUS proposes now possibilities to store data in SQLite formatted files. It is particularly interesting for computation results as ephemeris or any kind of numerical results.

GPlotPanel evolutions

  • Now, GPlotPanel may interpret SQLite data files.
  • It is possible to initialize the starting directory when the widget is created (or via a setter method).
  • It is also possible to deactivate the possibility to choose the file to plot (considering the name of the file has been initialized previously inside the code) : it allows to use GPlotPanel for fixed configurations with the setSelectedFile() method.
  • Plots properties are available via the setDatasetPlotProperties() method (continuous plots, point by point, etc ...).
  • At last, it is now possible to manage plots discontinuities.

=> incompatibility in the code due to a different argument in the constructor.

GFreeChartXY evolutions

It is now possible to define the kind of shape for plots drawn point by point and to add tooltips for such points.

And as for GPlotPanel, it is now possible to manage plots discontinuities.

=> incompatibility in the code due additional arguments for the addSeries() method.

Status notion for GComboBoxWithLabel widget

It is now possible to associate an error/warning status to some values proposed in a GComboBoxWithLabel widget.

Copy/Paste/Import/Export functionality for a component of a widget list

GENIUS gives now the possibility to activate Copy/Paste/Import/Export functionality for elements of a widget list for example in GComponentList (useful for some GENOPUS widgets).

GArithmeticException

A new exception has been introduced: GArithmeticException). It is raised every time we try to put a NaN value in a real number widget (GEntryReal, GEntryRealVector, GSliderReal and GSliderRealWithLabel). Indeed, we can't have NaN inside a textfield but getting it inside a context file and read it, or via the setValue(), setDefaultValue() and setSavedValue() methods. This exception is important to protect GENIUS low levels widget against NaN as well as ArithmeticException returned by some PATRIUS objects in GENOPUS widgets.

GUnitFactory

The static GUnitFactory.getGUnitArray() method is now available to simplify the creation of table of units.

Anomaly corrections

  • Copy Paste on GTable1D widget: after executing a "copy/paste" action on a GTable1D widget and if the result is only one modified vector (one value inside the vector but no size changing), the " * " character indicating a modification occured now appears.
  • Update of the title for GPlotPanel widget: in previous versions, after loading the firs plot from a file, the title was "calculated" thanks to abscissa and ordinate which was required. On the contrary, after a "Clear" and even if a new file is loaded, the title wa no more updated. It is no more the case: after activating the "Clear" button or if a new file ,is loaded, the title is set to a void character string.