}
final StructuredSelection selection = new StructuredSelection(resources);
final ExportResourceSelectionState layerState = new ExportResourceSelectionState(selection);
CatalogExport exp = new MapPaletteSaveStrategy(layerState, mapEditor);
// open the export dialog
exp.open();
// Since dialog is opened after this returns return cancelled and we'll make sure the MapSaveStrategy will clear the
// dirty state if the export takes place.
return Result.EXPORT_WIZARD_RUNNING;