final DivPanel content = gridBuilder.getPanel();
final DivTextPanel textPanel = new DivTextPanel(content.newChildId(), getString("plugins.teamcal.event.recurrence.change.content"));
content.add(textPanel);
// add all change callback
final AjaxCallback allCallback = new AjaxCallback() {
private static final long serialVersionUID = 7852511931690947544L;
@Override
public void callback(final AjaxRequestTarget target)
{
onChangeAllEventsSelected(target, event);
}
};
appendNewAjaxActionButton(allCallback, getString("plugins.teamcal.event.recurrence.change.all"));
// add future only change callback
final AjaxCallback futureCallback = new AjaxCallback() {
private static final long serialVersionUID = 7852511931690947544L;
@Override
public void callback(final AjaxRequestTarget target)
{
onChangeFutureOnlyEventsSelected(target, event);
}
};
allFutureEventsButtonPanel = appendNewAjaxActionButton(futureCallback, getString("plugins.teamcal.event.recurrence.change.future"));
// add future only change callback
final AjaxCallback singleCallback = new AjaxCallback() {
private static final long serialVersionUID = 7852511931690947544L;
@Override
public void callback(final AjaxRequestTarget target)
{