Apps

Apps are classes that may provide any type of functionality to SAMSON users. An app may be, for example, a connector to an external executable or web service, may wrap previously developed code to integrate its functionality with SAMSON and other SAMSON Extensions, or provide entirely new functionality based on the SAMSON Application Programming Interface. When SAMSON loads an app during startup, it includes it in the app menu and the app toolbar. When users open an app from the app menu or app toolbar, the Graphical User Interface (GUI) of the app appears, and the user may start using it.

The AutoDock Vina Extended app in SAMSON

An app is typically implemented by writing two classes:

  • one that derives from the SBDApp class, to implement the core functionality of the app (i.e. the functions that may be exposed to SAMSON and SAMSON Extensions through the introspection mechanism)
  • one that derives from the SBGApp class, to implement the GUI of the App (i.e. the widgets used to visually interact with the app).

If you want to start developing you own apps, please, refer to the documentation about the SAMSON Extension generator and Tutorials for more information about writing new apps for SAMSON.