What are the parameters to the AnActionEvent
context - A data context impl
s - ????
presentation - the presentation
i - ????
I guess i can't initialize it correctly by invoking a constructor - you can simulate event but you can't fill DataContext by valid value.
I try use it to simulate internal action but get no results. I left this.
Use AnActionEvent only in AnAction interface methods.