Added plugin JSON schema
This commit is contained in:
parent
b4e2d5b172
commit
f0c1547d82
2 changed files with 31 additions and 33 deletions
|
|
@ -5,6 +5,7 @@ import copy
|
|||
from importlib import util
|
||||
import sys
|
||||
|
||||
from openflexure_microscope.common.labthings_core.utilities import get_docstring
|
||||
from openflexure_microscope.utilities import camel_to_snake, snake_to_spine
|
||||
|
||||
|
||||
|
|
@ -22,10 +23,13 @@ class BasePlugin:
|
|||
self._rules = {} # Key: Original rule. Val: View class
|
||||
self._gui = None
|
||||
|
||||
self._cls = str(self) # String description of plugin instance
|
||||
|
||||
self.actions = []
|
||||
self.properties = []
|
||||
|
||||
self.name = name
|
||||
self.description = get_docstring(self)
|
||||
|
||||
self.methods = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue