1 package net.sourceforge.phpdt.internal.debug.ui.preferences;
5 import org.eclipse.jface.viewers.IStructuredContentProvider;
6 import org.eclipse.jface.viewers.Viewer;
7 import net.sourceforge.phpdt.internal.launching.PHPInterpreter;
9 public class PHPInterpreterContentProvider implements IStructuredContentProvider {
10 protected List interpreters;
12 public PHPInterpreterContentProvider() {
16 public Object[] getElements(Object inputElement) {
17 return interpreters.toArray();
20 public void dispose() {}
22 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
23 interpreters = (List) newInput;