component.setProperty(TestElement.GUI_CLASS, NameUpdater
.getCurrentName(component
.getPropertyAsString(TestElement.GUI_CLASS)));
ReportGuiPackage.getInstance().updateCurrentNode();
JMeterGUIComponent guicomp = ReportGuiPackage.getInstance().getGui(component);
guicomp.configure(component);
guicomp.modifyTestElement(component);
ReportGuiPackage.getInstance().getCurrentGui(); // put the gui object back
// to the way it was.
ReportTreeNode newNode = new ReportTreeNode(component, this);