1 14 15 package org.eclipse.ui.internal.net; 16 17 import java.util.Collection ; 18 19 import org.eclipse.jface.viewers.IStructuredContentProvider; 20 import org.eclipse.jface.viewers.Viewer; 21 22 25 public class NonProxyHostsContentProvider implements IStructuredContentProvider 26 { 27 30 public NonProxyHostsContentProvider() 31 { 32 super(); 33 } 34 35 38 public void dispose() 39 { 40 } 42 43 47 public Object [] getElements(Object inputElement) 48 { 49 Collection coll = (Collection )inputElement; 50 51 return coll.toArray( new String [0] ); 52 } 53 54 58 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) 59 { 60 } 62 } 63 | Popular Tags |