Community
Participate
Working Groups
We currently need to fill in the main toolbar, and view toolbars, with contribution from other plugins. This might be as simple as finding all of the toolbars and applying the parentID/positionInParent logic on startup. PW
Remy introducted MToolBarContributions. How do they work in an e4 app? When are they applied? PW
(In reply to comment #1) > How do they work in an e4 app? For a part's toolbar, you'd define an MToolBarContribution with your parentId pointing at a part's id. For the trim, you'd use a TrimContribution pointing at a given MTrimBar. > When are they applied? Assuming the part has a toolbar, the contributions will be applied to the toolbar after the part's object has been instantiated. Trim contributions will be processed when the trim's widget has been instantiated. The exact timing of these may need to be reworked because of "timing" requirements for the compatibility layer.