m_designer.show(Designer.FINAL_FORM);
}
}
public ExtendedElement save(ExtendedElement parent) {
ExtendedElement e = parent.getOrCreateChildWithName("standardTest");
if (m_backButton.isSelected())
e.setAttribute("backable", "true");
if (m_loopButton.isSelected())
e.setAttribute("looping", "true");
if (((Integer) m_repeatField.getValue()).intValue() != 1)
e.setAttribute("repetitions", m_repeatField.getValue().toString());
if (m_stopButton.isSelected() || m_pauseButton.isSelected() || m_repeatButton.isSelected()) {
ExtendedElement playControlElement = e.createChildWithName("playControls");
if (m_stopButton.isSelected())
playControlElement.setAttribute("stop", "true");
if (m_pauseButton.isSelected())
playControlElement.setAttribute("pause", "true");
if (m_repeatButton.isSelected())
playControlElement.setAttribute("autorepeat", "true");
}
if (((Integer) m_perPageField.getValue()).intValue() != 1)
e.setAttribute("stimuliPerPage", m_perPageField.getValue().toString());
e.setAttribute("stimulusHeight", m_heightField.getValue().toString());