How to get IChangeSet or array of IResource of modified files from DeliverAction.getStructuredSelection()?
One answer
If you have instance of IStructuredSelection, you can try this -
IStructureSelection selection; List<changesetwrapper> changeSetWrappers = AdapterUtil.adaptList(selection.toList(), ChangeSetWrapper.class)
List<ichangeset> changeSets = CollectionUtil.filterDupes(ChangeSetWrapper.getChangeSets(changeSetWrappers));