Need to retrive IResource from IStructuredSelection which will be returend by DeliverAction.getStructuredSelection()
One answer
Working with selections and resource is a basic Eclipse question and not specific to RTC.
A search will find many Eclipse resources with examples.
A search will find many Eclipse resources with examples.
- The Eclipse FAQ has an example of getting a resource from an ISelection.
- Looking in the Eclipse API docs shows API for adapting selections to resources.
- The Eclipse Help has a section on Resources and the filesystem