001package jmri.swing; 002 003import javax.swing.DefaultListModel; 004 005/** 006 * 007 * @author Randall Wood 008 */ 009public class DefaultEditableListModel<E> extends DefaultListModel<E> implements EditableListModel<E> { 010 011 @Override 012 public boolean isCellEditable(int index) { 013 return true; 014 } 015 016 @Override 017 public void setValueAt(E value, int index) { 018 super.setElementAt(value, index); 019 } 020}