Send F5 programmatically to the Project Tree

Good evening.

I have an MPS plugin that creates a new root node in ApplicationManager.getApplication().invokeLater block (because I need to show AWT windows with FIle Chooser).

My problem is that this new root node will be visible in the project tree ONLY if I perform make OR if I press F5 for the tree. I know how to perform make programmatically but I would like to avoid this because in this case, I will trigger the generation process. I just need to show a new root node to a user without any additional F5 action from the user side.

Thank you in advance for any hints.

0

Please sign in to leave a comment.