views:

48

answers:

0

Hello,

I have an Action that implements IObjectActionDelegate. In this action I want to preform some operations over the file that is selected in Package Explorer when I selected my Action. I only have a run(IAction action) method and the ObjectAction filters the files so that the action only appears for the files I want.

I'm looking for some way to retrieve an IFile from the selection so I can execute my action over the file.

Thank you,