/** * Returns this page's collection of currently-specified resources to be * exported. This is the primary resource selection facility accessor for * subclasses. * * @return a collection of resources currently selected * for export (element type: <code>IResource</code>) */ protected List getSelectedResources() { Iterator resourcesToExportIterator = this .getSelectedResourcesIterator(); List resourcesToExport = new ArrayList(); while (resourcesToExportIterator.hasNext()) { resourcesToExport.add(resourcesToExportIterator.next()); } return resourcesToExport; }