DataStructure old;
synchronized (getDataLock()) {
old = getInputStructure();
// TODO: Compare the old with the new. If equal, do not apply
if (old != null) {
old.removePropertyChangeListener(inputStructureListener);
}
DataStructureType type = struct.getStructureType();
if (type == DataStructureType.XML) {
// The XML structure info is stored directly in the
// TransformationsTab --> use the key-value pairs