How to get IChangeSet or array of IResource of modified files from DeliverAction.getStructuredSelection()?
How to get IChangeSet or array of IResource of modified files from DeliverAction.getStructuredSelection()? Please provide a sample code. |
One answer
If you have instance of IStructuredSelection, you can try this -
IStructureSelection selection; List<changesetwrapper> changeSetWrappers = AdapterUtil.adaptList(selection.toList(), ChangeSetWrapper.class) |