osate / osate2

Open Source AADL2 Tool Environment
http://osate.org
Eclipse Public License 2.0
35 stars 8 forks source link

Allow more analyses to be run programmatically. #2887

Open schwerdf opened 5 months ago

schwerdf commented 5 months ago

Several of OSATE's model analyses (e.g., weight totals) have handlers with a public invoke method that make it possible to run the analyses programmatically from, e.g., ANT tasks.

For those analyses that do not have such a method, running them programmatically from outside an Eclipse UI execution event is very difficult. For the flow latency analysis, for example, one potentially has to go through two dialog boxes (for the analysis's five boolean parameters and for a list of system operation modes).

Ideally, each analysis handler should have a public method allowing the analysis to be run independent of the Eclipse UI harness.

lwrage commented 4 months ago

I'd be happy to accept a pull request.