Creating BigComm Pro plugins

Creating BigComm Pro plugins

About BigComm Pro Plugins

 

menuFor anyone with your own ideas on widgets to help everyone out or just to play with your own controller are now active.

You can create plugins to run with in BigComm Pro to update settings in the BigStuff3, read runtime values, display just about any UI widget in TunerStudio or run calculation based on any OutputChannel or Constant value. The code you write can present this in any way you wish or interact with another component to exchange or combine data with other sources. Once tab based plugins are available, you may want to create a plugin that has little to do directly with your fuel injection controller, perhaps simply an mp3 player built into BigComm Pro.

For working with the BigStuff3, there is no over head of figuring out how to talk to the BigStuff3 or messing with byte shifting or ini parsing, simple API's let you access the data or update setting values in a few lines of code.

For this initial release, only Dialog Plugins are supported, but there is planned support for widgets and Tab based Plugins after the next stable release in the next beta cycle.

Please do think about additional features to the plugin API that would help, they can be included in upcoming releases. I expect that as Plugins are implemented, many more help full API's will become more apparent.

Get started:

Download BigComm Pro, found Here

Try a plugin:

An Example plugin is provided with source code. It is a basic plugin, but demonstrates the use most of the API's. Here it is compiled and ready to install, simply download this an select Install / Update TunerStudio Plugin on the main menu:
Tools --> BigComm Pugins --> Add or Update a Plugin

ExampleTunerStudioPlugin.jar

 

After installing a new plugin, you will need to restart BigComm Pro for the Plugin to appear on the menu. Once installed, they are hot swapable during development. You can continue to load updates to your plugin and BigComm Pro will reload the new classes.

 

How to create your own plugin

For a jar file to be identified as a valid BigComm Pro Plugin, it must meet 2 criteria:

 

  1. Contain an implementation of ApplicationPlugin
  2. An entry in the Jar Files Manifest to set the name of the class that implements ApplicationPlugin
Example Manifest entry:
ApplicationPlugin: com.yourpackage.YourClassImplementingApplicationPlugin

 
The source code for the Example BigComm Pro Plugin can be downloaded from here:
or you can download the full NetBeans Project here:

The online JavaDoc for the TunerStudioPluginAPI can be found Here

You will need TunerStudioPluginAPI.jar on your class path when you develop the plugin.

The current TunerStudio Plugin API jar file and download javadoc file, both of which can also be found in your TunerStudio installation under
[BigCommInstallDir]/lib/