* @param client the parent composite
* @param elem the element name
* @return {@link TextAreaAttribute} widget set
*/
protected TextAreaAttribute createTextArea(Composite client, String elem) {
TextAreaAttribute textElem = new TextAreaAttribute(client, toolkit, elem) {
@Override
public void modifyAttribute() {
editElement(text.getText());
}
@Override
public void update() {
setTextValue(text, getElementValue());
}
};
textElem.createAttribute(2);
return textElem;
}