I don't think we need plugin dependency management in the foreseeable future, and such a system may complicate things considerably.This in turn requires that plugins have a consistent identifier / URI and version number. Some plugins may depend on others and be able to automatically load them.Drop a JAR to the plugin folder and it will be used.How to distinguish what is part of core and what is a plugin?.Some plugins need configuration via a UI.Some of these may be singletons, others contain state and need to be instantiated properly. New simulation / aerodynamic computation engines.Optimization modifiers/targets: Defining new types of optimization targets or parameters.Plugin may interact or modify the rocket. Auxilliary tools: Plugin adds options to some menu on the main window.Configuration needs to be stored/loaded from the ORK file. Simulation listeners: Tied to a specific simulation, possible to select from a menu and configurable via a UI.Mac: Root/Applications/OpenRocket/PlugIns (or) Root/Library/Application Support/OpenRocket/PluginsĪ list of different use-cases for plugins which have different kinds of requirements: Windows: C:\Users\XXX\AppData\Roaming\OpenRocket\Plugins\ OpenRocket plugins can be installed to the following folder: The plugin system has ties to dependency injection, and ideally one solution would cover both plugin discovery related items and dependency injection. The functionality might be simulation listeners, new motor types etc. In our case we refer to plugins as something that is installed onto the user's computer which is found by OR and provides additional functionality. For this reason it is desirable to have some kind of plugin framework, as is found in many other applications. There are many cases where it is desirable to add a feature to openrocket which is useful in a specific context, but not really appropriate for inclusion in openrocket core. 7 A Rough Interface Design (from a plugin writers point of view).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |