Main differences between V1.6.2 and V1.7

De GENIUS
Aller à la navigation Aller à la recherche

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.