I have created a perspective with multiple MParts. Now when I open the perspective only one MPart will be loaded and shown. How can I force the other MParts (that currently not visible only the tab is visible) to be loaded when loading the other MPart? I need this behavior because otherwise the not visible MParts does not accept some injected values.
The classes for MParts are not creating until they are about to be shown. There is no way to get this done earlier.
Probably you need to create a 'manager' object that holds your data and state which all the parts can access as required. You could create this in your LifeCycle class (if you have one) perhaps in the @PostContextCreate method.