78910111213141516
public class EventSelector extends JPokemonSelector<Event> { @Override protected void reloadItems() { removeAllItems(); Event event; for (int i = 1; (event = Event.get(i)) != null; i++) { addElementToModel(event); } }
727374757677787980818283
} private void onDescriptionFieldEnter() { if (!readyToEdit) return; Event event = eventSelector.getCurrentElement(); String description = descriptionField.getText(); event.setDescription(description); event.commit(); getEditor(); }