@ SuppressWarnings ( "unchecked" ) protected void removeSREs ( ) { final IStructuredSelection selection = ( IStructuredSelection ) this . sresList . getSelection ( ) ; final ISREInstall [ ] vms = new ISREInstall [ selection . size ( ) ] ; final Iterator < ISREInstall > iter = selection . iterator ( ) ; int i = 0 ; while ( iter . hasNext ( ) ) { vms [ i ] = iter . next ( ) ; i ++ ; } removeSREs ( vms ) ; }
Remove the selected SREs .