Extension point for contributing code to be executed in before Simantics platform startup
|Assignee:||Tuukka Lehtonen||% Done:|
|Category:||-||Spent time:||3.00 hours|
|Release notes:||New extension point *org.simantics.startup* for contributing code to be executed in before Simantics platform startup that can potentially prevent platform and thus program startup.|
|Velocity based estimate||-|
|Release||Simantics 1.18.1||Release relationship||Auto|
Implement a new extension point org.simantics.startup that allows plug-ins to contribute code to be be executed in SimanticsPlatform.startup as the first thing.This mechanism is necessary to allow products to e.g.
- add checks for whether the current workspace is actually valid to use with the running version of the program
- anything else one might want to do before doing anything with the DB in the workspace.
Added new extension point org.simantics.startup for contributing code that is ran prior to SimanticsPlatform startup.
The only use case for now is preventing program startup due to any product-specific reason.
See org.simantics.startup.IStartup for the related very simple API.