Changeset 51f14603 in sasview for src/sans/guiframe/plugin_base.py
- Timestamp:
- Apr 3, 2014 11:37:53 AM (10 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 2f2d9d0
- Parents:
- eea3ffa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/guiframe/plugin_base.py
r5777106 r51f14603 17 17 For example, a plug-in called Foo should be place in "perspectives/Foo". 18 18 That directory contains at least two files: 19 perspectives/Foo/__init__.py contains two lines: 20 21 PLUGIN_ID = "Foo plug-in 1.0" 22 from Foo import * 19 20 1. perspectives/Foo/__init__.py contains two lines: :: 21 22 PLUGIN_ID = "Foo plug-in 1.0" 23 from Foo import * 23 24 24 25 26 25 2. perspectives/Foo/Foo.py contains the definition of the Plugin 26 class for the Foo plug-in. The interface of that Plugin class 27 should follow the interface of the class you are looking at. 27 28 28 29 See dummyapp.py for a plugin example.
Note: See TracChangeset
for help on using the changeset viewer.