« Main differences between V1.4.1 and V1.5 » : différence entre les versions

De GENIUS
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
 
(5 versions intermédiaires par le même utilisateur non affichées)
Ligne 21 : Ligne 21 :
== GPlotDataReader interface creation and possibility to read dates with GPlotPanel ==
== GPlotDataReader interface creation and possibility to read dates with GPlotPanel ==


It is now possible to interprete dates with [{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GPlotPanel.html GPlotPanel] (see specific [[GPlotPanel|GPlotPanel]] topic). Moreover, it is possible to create our own way to read files via the <font color=#4169E1>GPlotDataReader</font> interface.
It is now possible to interprete dates with [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotPanel.html GPlotPanel] (see specific [[GPlotPanel|GPlotPanel]] topic). Moreover, it is possible to create our own way to read files via the [{{PathCurrentJavaDoc}}/fr/cnes/genius/plots/GPlotDataReaderInterface.html GPlotDataReaderInterface].


== Global variables management ==
== Global variables management ==
Ligne 37 : Ligne 37 :
== Modification of the stdout management with G[Java]CommandLauncher ==
== Modification of the stdout management with G[Java]CommandLauncher ==


Due to the introduction of the [{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GTextAreaInterface.html GTextAreaInterface] (see V1.4.1) as argument of a [{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GJavaCommandLauncher.html GJavaCommandLauncher] object, a side effect occured for stdout management. So, if we want to duplicate output in a console (or to get this output in a console when no [{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GTextAreaInterface.html GTextAreaInterface] has been passed [null argument]), we need to use <font color=#4169E1>setCopyOutputToStdout()</font> method.
Due to the introduction of the [{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GTextAreaInterface.html GTextAreaInterface] (see V1.4.1) as argument of a [{{PathCurrentJavaDoc}}/fr/cnes/genius/threads/GJavaCommandLauncher.html GJavaCommandLauncher] object, a side effect occured for stdout management. So, if we want to duplicate output in a console (or to get this output in a console when no [{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GTextAreaInterface.html GTextAreaInterface] has been passed [null argument]), we need to use <font color=#4169E1>setCopyOutputToStdout()</font> method.


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


* <font color=#4169E1>GComboBox</font> and [{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GComboBoxWithLabel.html GComboBoxWithLabel] before management.
* [{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GComboBox.html GComboBox]  and [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GComboBoxWithLabel.html GComboBoxWithLabel] before management.
* <font color=#4169E1>GEntryInt</font> and [{{PathCurrentJavaDoc}}/fr/cnes/genius/lowLevel/GEntryDate.html GEntryDate] tooltip management.
* [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GEntryInt.html GEnryInt] and [{{PathCurrentJavaDoc}}/fr/cnes/genius/highLevel/GEntryDate.html GEntryDate] tooltip management.
* Amount of digits in the tooltip not consistent with the one chosen for the input area.
* Amount of digits in the tooltip not consistent with the one chosen for the input area.
 
 
[[WELCOME_TO_THE_GENIUS_WIKI|Return to the introduction ↑]]

Dernière version du 5 mai 2017 à 15:09

Some minor changes and corrections have been implemented in this version. Moreover, only one incompatibility exists on the code source but is very easy to correct.

Better management of the "*" sign when read/write and copy/paste actions

There are both aspects covered by this change :

  • first, the apparition (or not) of the "*" character after a copy/paste action is more intuitive
  • then it is possible now to customize the way these "*" characters will appear after reading or writing a configuration file (see specific GReadWrite interface and data files management and Modified data topic).


=> incompatibility in the code (due to the add of a boolean flag for GFileManipulation.readConfig(), GFileManipulation.writeConfig(), GContextFileManagement.selectLoadFile() and GContextFileManagement.selectSaveFile() methods).

Data status for GtabbedPane

Now, the data status management is automatically taken into account by the GTabbedPane widget. Moreover, each tab can be configured individually to display the status of the contained panel or not.

Exit Event test on GFrame

We can customize the behaviour of a GFrame after clicling on the "x" case. For example, it is then possible to manage this behaviour by displaying a GFrame window asking if we actually want to quit or not (using the fact that this "click" event is now managed as a GENIUS event).

GPlotDataReader interface creation and possibility to read dates with GPlotPanel

It is now possible to interprete dates with GPlotPanel (see specific GPlotPanel topic). Moreover, it is possible to create our own way to read files via the GPlotDataReaderInterface.

Global variables management

This version proposes an easy solution to manage the update of the content of a widget depending on the modification done on another one when both widgets are not included in the same higher level widget. It is explained in the following Update data topic

Some improvements for GBufferedTextArea

The behaviour of a GBufferedTextArea is more intuitive (for example, the number of the first page is no more 0 but 1 !).

No log file creation by default

By default, in the previous versions, a Genius.log file was automatically created. Now it is no more created and if we want to do it, we have to use the GEnvironment.setLogFileName() method.

Modification of the stdout management with G[Java]CommandLauncher

Due to the introduction of the GTextAreaInterface (see V1.4.1) as argument of a GJavaCommandLauncher object, a side effect occured for stdout management. So, if we want to duplicate output in a console (or to get this output in a console when no GTextAreaInterface has been passed [null argument]), we need to use setCopyOutputToStdout() method.

Anomaly corrections


Return to the introduction ↑