void (final Factory<? extends T> newItemFactory) { ReorderableListController<T>.AddActionDescription description = myForm.getListActionsBuilder().addAddAction( AntBundle.message("add.action.name"), newItemFactory, true); description.addPostHandler(new ReorderableListController.ActionNotification<>() { @Override public void afterActionPerformed(T value) { myAdded.add(value); } }); description.setShowText(true); }