question: public List < IResource > chooseResources ( ) { if ( open ( ) == Window . OK ) { List < IResource > resources = new ArrayList < IResource > ( ) ; for ( Object obj : getResult ( ) ) { resources . add ( ( IResource ) obj ) ; } return resources ; } return null ; }
target:  Return the selected resource(s) as a list of IResource objects.