1 11 package org.eclipse.ui.dialogs; 12 13 import org.eclipse.jface.viewers.IStructuredContentProvider; 14 import org.eclipse.jface.viewers.Viewer; 15 import org.eclipse.ui.IFileEditorMapping; 16 17 28 public class FileEditorMappingContentProvider implements 29 IStructuredContentProvider { 30 31 34 public final static FileEditorMappingContentProvider INSTANCE = new FileEditorMappingContentProvider(); 35 36 40 private FileEditorMappingContentProvider() { 41 super(); 42 } 43 44 47 public void dispose() { 48 } 49 50 53 public Object [] getElements(Object element) { 54 IFileEditorMapping[] array = (IFileEditorMapping[]) element; 55 return array == null ? new Object [0] : array; 56 } 57 58 61 public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { 62 } 63 } 64 | Popular Tags |