A list of memo notes about particular things and problems that may arise from time to time in the various projects in Capsis, and a list of people involved in the co-development community.
fc-16.2.2021 Problems in DRGraph
If a DataExtractor based on DFCurves does not provide labels for its curves (Introgression, Mediterranea), the rendering in DRGraph may not show all the curves at opening time and a zoom out action may be needed.
A fix has been added in GraphConverter to add (1), (2), etc. if the labels are 'equals' to help the autoRange feature in the vertical (range) axis of the JFreeChart XYPlot.
fc-15.12.2020 Add Plotting features to a table
See CsvFileViewer. Warning: this feature relies on cells selection and may work badly in tables where row selection is allowed, e.g. SVController)
// fc-15.12.2020 Add the plotting features on Right-click PlottingPopup.addPlottingFeaturesToTable(table, false); // fc-15.12.2020 Add the standard popup menu on the header StandardTableHeaderPopup.addPopup(table);
fc-14.12.2020 Mac OS X problems
Problems were reported when using Capsis or AMAPstudio under Mac OS X.
fc-8.12.2020 SVN checkout problems
Lisa Grell (X. Morin) has repeated problems during a checkout:
This seems to be due to timeouts related connections problems or a slow machine. Repetitive cleanup and update actions could finally solve the problem.
fc-1.12.2020 Phenofit
fc-24.11.2020 CapsisExtensionManager, clarified isExport(className) Returned true if instanceof OFormat OR isExport () found by reflection and returned true OR in case of exception during the checking returned true
Now: returns true if className is subclass of OFormat
→ an extension is an export if it implements OFormat
→ StandRecordSet is a superclass for inventory file loaders, it was implementing OFormat so all subclasses 'could also be' exports, but only some of them actually implemented the export methods. Changed StandRecordSet, it does not implement OFormat any more and changed subclasses to add OFormat only when needed.
→ Deprecated all 'isImport ()' and 'isExport ()' methods, now unused
fc+jb-18.11.2020 Changed species typologies in RReShar and capsis.lib.regeneration
RGVegetationLayer (for vegetationLayers, match classes in regeneration lib)
RGSaplings (for saplings, match classes in regeneration lib)
RRSSpecies (for trees and cohorts, RReShar level, closed typology, see RRSSpecies.getCrownBaseHeight(), can be changed)
fc-18.11.2020 Viewer3D does not like large values of coordinates When data come from GIS, the coordinates may be very large, e.g. x=850000. They must be shifted back in the sketchLinker to have a correct drawing. A possible approach is to remove stand.origin to all x and y. See Samsa2SketchLinker
fc-17.11.2020 Popup does not open on Windows isPopupTrigger () must be checked on mousePressed() and mouseReleased (), see method comment in MouseEvent.isPopupTrigger (). See PlottingPopup (jeeb-util, CsvFileViewer)
fc-16.11.2020 Ubuntu: open a given file with a given Editor. Right click on the file in the file manager > Properties > Open with > e.g. sublime text
Excel files contain “. Adapt the file loader' correctLine () method to replace them by empty strings
// e.g. Samsa2Inventory protected String correctLine(String line) { // fc+bc-16.11.2020 Remove extra " written by Excel at export time line = line.replace("\"", ""); return line; }