final PButton eraseButton = new PButton("Erase");
eraseButton.addClickHandler(new PClickHandler() {
@Override
public void onClick(final PClickEvent event) {
eventBus.fireEvent(new RemoveColumnDescriptorEvent(PreferenceForm.this, label.getText(), tableName));
labels.remove(label);
refreshLabels();
}
});
buttonPanel.add(eraseButton);