Skip to content
Snippets Groups Projects
Commit 321dfdd6 authored by Stefano Borini's avatar Stefano Borini
Browse files

Restored old API for plugin id

parent e7c4b3e5
No related branches found
No related tags found
1 merge request!130Safer plugin import - 2
from force_bdss.base_extension_plugin import BaseExtensionPlugin
from force_bdss.ids import plugin_id
from force_bdss.tests.probe_classes.data_source import ProbeDataSourceFactory
from force_bdss.tests.probe_classes.mco import ProbeMCOFactory
from force_bdss.tests.probe_classes.notification_listener import \
......@@ -7,11 +8,7 @@ from force_bdss.tests.probe_classes.ui_hooks import ProbeUIHooksFactory
class ProbeExtensionPlugin(BaseExtensionPlugin):
def get_producer(self):
return "enthought"
def get_identifier(self):
return "test"
id = plugin_id("enthought", "test", 0)
def get_factory_classes(self):
return [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment