JMeterGUIComponent guiComp = null;
try {
Object next = iter.next();
node = (JMeterTreeNode) next;
guiComp = guiPackage.getGui(node.getTestElement());
Clearable item = (Clearable) guiComp;
item.clearData();
} catch (Exception ex) {
log.error("Can't clear: "+node+" "+guiComp, ex);
}
}
}