« Main differences between V1.11.4 and V1.12.1 » : différence entre les versions
Aller à la navigation
Aller à la recherche
Ligne 9 : | Ligne 9 : | ||
In the previous versions, if we added a new tab in our application, it was not possible to read an old context with only (n-1) tabs. Now, as for any other basic input widgets, this functionnality is available using "by default" values. | In the previous versions, if we added a new tab in our application, it was not possible to read an old context with only (n-1) tabs. Now, as for any other basic input widgets, this functionnality is available using "by default" values. | ||
== Buffered console | == Buffered console in the standard application GUI == | ||
There is the possibility to use a [{{PathCurrentJavaDoc}}/fr/cnes/genius/unit/GBufferedTextArea.html GBufferedTextArea ] widget as the console of a standard application. Nevertheless, it will be mandatory to add the "exit" line of code at the end of the batch computation: | |||
<syntaxhighlight lang="java"> | |||
batch = new BatchSW(nomFicData, nomFicEphem); | |||
batch.compute(); | |||
System.exit(0); // Useful when GBufferedTextArea is used | |||
</syntaxhighlight> | |||
== Possibility to save a GPlot configuration == | == Possibility to save a GPlot configuration == |
Version du 31 mars 2023 à 08:14
Several interesting evolutions in this new version:
GCalculator with SQlite file
Now the GCalculator widget used inside the GPlotPanel widget is able to manage SQLite files.
Possibility to read a file where a tab is missing
In the previous versions, if we added a new tab in our application, it was not possible to read an old context with only (n-1) tabs. Now, as for any other basic input widgets, this functionnality is available using "by default" values.
Buffered console in the standard application GUI
There is the possibility to use a GBufferedTextArea widget as the console of a standard application. Nevertheless, it will be mandatory to add the "exit" line of code at the end of the batch computation:
batch = new BatchSW(nomFicData, nomFicEphem);
batch.compute();
System.exit(0); // Useful when GBufferedTextArea is used
Possibility to save a GPlot configuration
New display formats for GTime
There are new possibility for duration display:
- as in the previous version (calendar format),
- as a double value with units "s", "m", "h", "d", etc.
- using ISO-8601 format (for example PT6H for6h00)
Change (and conversion) of the format is done using a right click on the input field.
Anomaly corrections
- GTime:
- The unit used for a day is "d" and no more "j" (even if this unit is maintained).
- Method update() is now public
- The name of the method to add an interval of validity is now addGInterval() rather than addInterval()
- The text used for the interval of validity tooltip is corrected and more explicit.
- GTabbedPane: increasing robustness when tabs are created when reading a context file.
- GComponentList: now the "Duplicate" option only appears if Cloneable interface is available.