I created a Pop-up Menu plug-in associated with Files using the default template. How can I get the file name (and its path) of that file what i selected to start the plug-in?
Paul Webster Messages: 6813 Registered: July 2009 Location: Ottawa
Senior Member
John S. wrote:
> Hello,
>
> I created a Pop-up Menu plug-in associated with Files using the default
> template. How can I get the file name (and its path) of that file what i
> selected to start the plug-in?
Do you mean you implemented IObjectActionDelegate (and got an ISelection
passed to you)? If that's the case, then you would check and cast to an
IStructuredSelection and go from there.