Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Add-on] possibilty to notify other add-ons about model / RTD changes #160

Open
dvojtise opened this issue Mar 20, 2020 · 0 comments
Open

Comments

@dvojtise
Copy link
Contributor

dvojtise commented Mar 20, 2020

Some add-on may change the runtime data during the execution.
For example using the timeline, the trace add-on may reset the RTD to a previous state.
Some UI add-on may directly apply user input to the running model.

It would be useful that this change is notified to the other add-ons, so they can take it into account.

A typical use case would be: add-ons that display a view of the RTD would be able to refresh their view when the user navigates in the trace.

I propose to add a new callback method in IEngineAddon for this.

Ideally, it should also contain some information about the reason of the change.
Some reasons I can list now:

  • trace navigation (the change is temporary/reversible)
  • user data input (i.e. the user directly set a data in the model using the add-on UI) (the change is permanent and will not be reverted)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant