Hi, Is there a way to instantiate another action and call its members such as the isApplicable(event)/execute(event) methods from another action? Thanks....

This is an auto-generated question from the MPS Slack community: Hi, Is there a way to instantiate another action and call its members such as the isApplicable(event)/execute(event) methods from another action? Thanks.
0
2 comments
There’s definitely no support in j.m.lang.plugin for this. It’s easier to extract common code into a separate class rather than to bother with accessing action instances. IDEA Platform manages action instances and there’s a mechanism to get one, but I doubt it’s worth it, provided there’s a plain Java/BL alternative.
0
This is auto-generated question from the MPS Community Slack Workspace. If you want to comment on the question, do it from the Slack workspace
0

Post is closed for comments.