mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-12 19:30:11 +01:00
Revert "Merge branch 'dev_frame_objects' into feature_plugins"
This reverts commit9d5792e1c9, reversing changes made to44ab20cb52.
This commit is contained in:
@@ -3,7 +3,6 @@ import os
|
||||
import pkgutil
|
||||
import re
|
||||
|
||||
from plugins.frame_manager import FrameManager, Frame
|
||||
|
||||
class Plugin(object):
|
||||
"""Base class that each plugin must inherit from. within this class
|
||||
@@ -211,16 +210,16 @@ class DisplayPlugin(Plugin):
|
||||
def __init__(self, plugin_collection):
|
||||
super().__init__(plugin_collection)
|
||||
|
||||
def is_handled(self, name):
|
||||
def is_handled(self, name):
|
||||
raise NotImplementedError
|
||||
|
||||
def get_display_modes(self):
|
||||
def get_display_modes(self):
|
||||
raise NotImplementedError
|
||||
|
||||
def show_plugin(self, display):
|
||||
from tkinter import Text, END
|
||||
#display_text.insert(END, 'test from DisplayPlugin')
|
||||
display.display_text.insert(END, '{} \n'.format(display.body_title))
|
||||
def show_plugin(self, display):
|
||||
from tkinter import Text, END
|
||||
#display_text.insert(END, 'test from DisplayPlugin')
|
||||
display.display_text.insert(END, '{} \n'.format(display.body_title))
|
||||
|
||||
class ModulationReceiverPlugin(Plugin):
|
||||
def __init__(self, plugin_collection):
|
||||
@@ -260,8 +259,6 @@ class PluginCollection(object):
|
||||
#self.actions = message_handler.actions
|
||||
self.reload_plugins()
|
||||
|
||||
self.fm = FrameManager(self)
|
||||
|
||||
def read_json(self, file_name):
|
||||
return self.data._read_plugin_json(file_name)
|
||||
def update_json(self, file_name, data):
|
||||
|
||||
Reference in New Issue
Block a user