row.appendChild(textbox);
}
private void appendOperations(final Row row,
final EntitySequence entitySequence) {
final Button removeButton = Util
.createRemoveButton(new EventListener() {
@Override
public void onEvent(Event event) {
if (isLastOne(entitySequence)) {
showMessageNotDelete();
} else {
removeEntitySequence(entitySequence);
}
}
});
if (entitySequence.isAlreadyInUse()) {
removeButton.setDisabled(true);
}
row.appendChild(removeButton);
}