Feature #5657

Extension point for contributing code to be executed in before Simantics platform startup

Added by Tuukka Lehtonen over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:2015-02-07
Priority:4Due date:2015-02-07
Assignee:Tuukka Lehtonen% Done:

100%

Category:-Spent time:3.00 hours
Target version:1.18.1
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.
Story points-
Velocity based estimate-
ReleaseSimantics 1.18.1Release relationshipAuto

Description

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.

Associated revisions

Revision 30889
Added by Tuukka Lehtonen over 2 years ago

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.

refs #5657

Revision 30891
Added by Tuukka Lehtonen over 2 years ago

Merged trunk@30889 to branches/simantics-1.18 on 2015-02-07 for 1.18.1 release.

refs #5657

History

#1 Updated by Tuukka Lehtonen over 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

#2 Updated by Tuukka Lehtonen over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF