You cannot, it's not implemented.
you could workaround it eventually. Either hijack the Run File/Debug
File action mappings for that or define a custom action with hardwired
class reference or the file in question in general.
I'm wondering what's the actual usecase, what are you trying to achieve?
Regards
Milos
hradec@... wrote:
>
> Hello
>
>
>
> I am using Maven plugin for NetBeans IDE version 3.0.11.
>
> How can I run custom action on selected class?
>
> The popup menu for running custom actions appear only on a project,
> but not on a file.
>
>
>
> Thanks
>
> Tomas
>
>
>
>
>