Coworkers and I are looking for a way to add a custom button in the Explorer bar (The gray bar on the left of the Model Editor featuring a Zoom, Fit to View, Sample Time, ...).
The upper toolstrip would also be a good candidate if it's impossible to customize the Explorer bar.
We are building models that has many constraints/rules. The constraint's verifications are being automated via Scripts.
Ideal solution :
The general idea is to have a button that acts as an indicator that would always be present on the screen and change colour when a rule is broken. We want to have minimal impact on the designer's model therefore custom subsystem are out of the question. Clicking the button would lead to a list of broken rules with dynamic links to blocks that breaks a rule.
We already have the knowledge to build the button's callback, what we would like to know is :
- Can we add a button to the Explorer bar ?
- If we can't , can we add a button to the toolstrip ?
- Can buttons change icon dynamically ?
Thank you for your time,