// Populate the table with the items
IFileEditorMapping[] array = WorkbenchPlugin.getDefault()
.getEditorRegistry().getFileEditorMappings();
for (int i = 0; i < array.length; i++) {
FileEditorMapping mapping = (FileEditorMapping) array[i];
mapping = (FileEditorMapping) mapping.clone(); // want a copy
newResourceTableItem(mapping, i, false);
}
}
/**