GDA 8.12 (not externally released)ΒΆ
Removed DataVector and ScanPlot Views using Swing Bridge. Scan plots are handled by the XYScanPlot. Plotting existing data is down using RCPPlotter command which sends data to DataSetPlotter objects.
Add Command Queue to allow Scripts and Commands to be executed in a queue. See commandQueueProcessor.xml in example-config for information on enabling this in a client.
The
FindableNameSetterPostProcessornow always attempts to set aFindable‘s name, even if the name has already been set (i.e. is notnullor an empty string). This is to ensure consistency between the Spring bean ID (set using theid="..."attribute in Spring XML) and the name returned by thegetName()method.- Note that if you do not specify a bean ID, Spring will create one for you.
The
AcquisitionPanelclass (used in Swing GUIs) now has alabelproperty. Panels in the GUI are identified by their label.- Some subclasses of
AcquisitionPanelprovide a default label. If no default is provided, and you do not specify a label, the panel’s name (Spring bean ID) is used instead, which is typically not desirable. - Note that every panel must have a unique label.
- Some subclasses of
Documentation on the new-style configuration layout that permits use of the
--profileand--modeparameters has been added to the “GDA configuration” section in the Developer Guide.The
gda.jython.JythonServerclass been modified to take a singlejythonScriptPathsproperty instead of separateuserScriptDirectory,gdaScriptDirectoryandgdaScriptLibraryDirectoryproperties. ThejythonScriptPathsproperty expects agda.jython.ScriptPathsbean which defines astartupScriptproperty and aprojectsproperty containing a list ofgda.jython.ScriptProjectbeans.For instance:
<bean id="command_server" class="gda.jython.JythonServer"> <property name="jythonScriptPaths"> <bean class="gda.jython.ScriptPaths"> <property name="projects"> <list> <bean class="gda.jython.ScriptProject"> <property name="path" value="${gda.config}/users/scripts" /> <property name="name" value="Scripts: User" /> <property name="type" value="USER" /> </bean> <bean class="gda.jython.ScriptProject"> <property name="path" value="${gda.config}/scripts" /> <property name="name" value="Scripts: Config" /> <property name="type" value="CONFIG" /> </bean> <bean class="gda.jython.ScriptProject"> <property name="path" value="${gda.root}/uk.ac.gda.core/scripts" /> <property name="name" value="Scripts: Core" /> <property name="type" value="CORE" /> </bean> </list> </property> <property name="startupScript" value="${gda.config}/scripts/localStation.py" /> </bean> </property> <property name="gdaVarDirectory" value="${gda.config}/var" /> <property name="cacheDirectory" value="${gda.config}/var/jythonCache" /> <property name="remotePort" value="9999" /> </bean>
would be equivalent to:
<bean id="command_server" class="gda.jython.JythonServer"> <property name="userScriptDirectory" value="${gda.config}/users/scripts" /> <property name="gdaScriptDirectory" value="${gda.config}/scripts" /> <property name="gdaScriptLibraryDirectory" value="${gda.root}/uk.ac.gda.core/scripts" /> <property name="gdaVarDirectory" value="${gda.config}/var" /> <property name="cacheDirectory" value="${gda.config}/var/jythonCache" /> <property name="remotePort" value="9999" /> </bean>
Single data points from an ETLDetector were being interpreted as an array, resulting in an unnecessary extra dimension in Nexus data. Now only a single value is stored, but this does mean that the format of the data is different to previous versions of GDA.