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

De GENIUS
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 21 : Ligne 21 :
== GArithmeticException  ==
== GArithmeticException  ==


A new exception has been introduced: [{{PathCurrentJavaDoc}}/fr/cnes/genius/exceptions/GArithmeticException.html GArithmeticException]). It is raised every time we try to put an <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 the textfield but getting it inside a context file and read it, or via the setValue(), setDefaultValue(), setSavedValue() methods.
A new exception has been introduced: [{{PathCurrentJavaDoc}}/fr/cnes/genius/exceptions/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 the 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 NaN as well as ArithmeticException returned by some PATRIUS objects in [http://10.120.3.225/index.php/WELCOME_TO_THE_GENOPUS_WIKI GENOPUS] widgets.  
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.  


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

Version du 13 octobre 2017 à 09:07

Some interesting evolutions and corrections have been implemented in this version but no incompatibility 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 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.

Status notion for GComboBox(WithLabel) widget

It is now possible to associate an error/warning status to some values proposed in a GComboBox or 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 the 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.

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.