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