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) |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.