Esempio n. 1
0
 def __init__(self, application):
     Plugin.__init__(self, application)
     self.node_combobox = None
     self.listbox = None
     self.level_spinctrl = None
     self.simplified_button = None
     self.change_impact_button = None
Esempio n. 2
0
 def __init__(self, application):
     Plugin.__init__(self, application, default_settings=self.defaults)
     self.settings = application.settings._config_obj['Plugins']['Tree']
     self._parent = None
     self._tree = self.tree
     self._mgr = GetManager(self._tree)
     """
Esempio n. 3
0
 def __init__(self, application):
     Plugin.__init__(self, application)
     self.left_panel_show = False
     self.datafiles = None
     self.total_actions = 0
     self.extract_frame = None
     self.extract_list_view = None
Esempio n. 4
0
 def __init__(self, app):
     Plugin.__init__(self, app, default_settings={
         'desktop_shortcut_exists': False,
         'initial_project': None
     })
     self._window = None
     atexit.register(self._close)
Esempio n. 5
0
 def __init__(self, application, controller=None):
     Plugin.__init__(self, application, default_settings=self.defaults)
     self.settings = application.settings._config_obj['Plugins'][
         'File Explorer']
     self._parent = None
     self._filemgr = self.filemgr
     self._mgr = GetManager(self._filemgr)
     self._controller = controller
Esempio n. 6
0
 def __init__(self, app):
     Plugin.__init__(self,
                     app,
                     default_settings={
                         'desktop_shortcut_exists': False,
                         'initial_project': None
                     })
     self._window = None
     atexit.register(self._close)
Esempio n. 7
0
 def __init__(self, app):
     Plugin.__init__(self, app, default_settings={
         'log_to_console': False,
         'log_to_file': True
     })
     self._log = []
     self._window = None
     self._path = os.path.join(
         tempfile.gettempdir(), '{}-ride.log'.format(uuid.uuid4()))
     self._outfile = None
     self._remove_old_log_files()
     atexit.register(self._close)
Esempio n. 8
0
 def __init__(self, app):
     Plugin.__init__(self,
                     app,
                     default_settings={
                         'log_to_console': False,
                         'log_to_file': True
                     })
     self._log = []
     self._panel = None
     self._path = os.path.join(tempfile.gettempdir(),
                               '{}-ride_parser.log'.format(uuid.uuid4()))
     self._outfile = None
     self._remove_old_log_files()
     atexit.register(self._close)
    def __init__(self, application):
        Plugin.__init__(self, application, name=None, doc=None, metadata=None,
                        default_settings=None, initially_enabled=True)

        self.menu = [
            ActionInfo("ClearCase", "Check &Out", self.OnCheckOut, position=0),
            ActionInfo("ClearCase", "&Undo Check out", self.OnUndoCheckOut, position=1),
            ActionInfo("ClearCase", "Check &In", self.OnCheckIn, position=2),
        ]

        self.treemenuitems = [
            PopupMenuItem("---"),
            PopupMenuItem("Check Out", self.OnCheckOut, self),
            PopupMenuItem("Undo Check Out", self.OnUndoCheckOut, self),
            PopupMenuItem("Check In", self.OnCheckIn, self)
        ]
Esempio n. 10
0
 def __init__(self, application=None):
     Plugin.__init__(self, application, initially_enabled=True,
                     default_settings=self.defaults)
     self.version = "3.1"
     self.metadata = {
         "url":
         "https://github.com/robotframework/RIDE/wiki/Test-Runner-Plugin"}
     self._reload_timer = None
     self._frame = application.frame
     self._report_file = None
     self._log_file = None
     self._controls = {}
     self._running = False
     self._currently_executing_keyword = None
     self._test_runner = TestRunner(application.model)
     self._register_shortcuts()
     self._min_log_level_number = LOG_LEVELS['INFO']
     self._names_to_run = set()
Esempio n. 11
0
 def __init__(self, application=None):
     Plugin.__init__(self, application, initially_enabled=True,
                     default_settings=self.defaults)
     self.version = "3.01"
     self.metadata = {
         "url":
         "https://github.com/robotframework/RIDE/wiki/Test-Runner-Plugin"}
     self._reload_timer = None
     self._frame = application.frame
     self._report_file = None
     self._log_file = None
     self._controls = {}
     self._running = False
     self._currently_executing_keyword = None
     self._test_runner = TestRunner(application.model)
     self._register_shortcuts()
     self._min_log_level_number = LOG_LEVELS['INFO']
     self._names_to_run = set()
    def __init__(self, application):
        Plugin.__init__(self,
                        application,
                        name=None,
                        doc=None,
                        metadata=None,
                        default_settings=None,
                        initially_enabled=True)

        self.menu = [
            ActionInfo("ClearCase", "Check &Out", self.OnCheckOut, position=0),
            ActionInfo("ClearCase",
                       "&Undo Check out",
                       self.OnUndoCheckOut,
                       position=1),
            ActionInfo("ClearCase", "Check &In", self.OnCheckIn, position=2),
        ]

        self.treemenuitems = [
            PopupMenuItem("---"),
            PopupMenuItem("Check Out", self.OnCheckOut, self),
            PopupMenuItem("Undo Check Out", self.OnUndoCheckOut, self),
            PopupMenuItem("Check In", self.OnCheckIn, self)
        ]
 def __init__(self, application=None):
     self.context_menu = [PopupMenuItem('---')]
     self.context_menu += [
         PopupMenuItem(item['name'], callable=self.create_callable(item['name'], item['action'])) for
         item in filter(lambda x: x.get('context_menu', False), self.menu)]
     Plugin.__init__(self, application, metadata=self.metadata)
Esempio n. 14
0
 def __init__(self, application=None):
     settings = {'recent_files': [], 'max_number_of_files': 4}
     Plugin.__init__(self, application, default_settings=settings)
     self.recent_files = remove_non_existing_paths(self.recent_files)
Esempio n. 15
0
 def __init__(self, application):
     Plugin.__init__(self, application)
     self._tab = None
     self._grid_popup_creator = PopupCreator()
     self._creator = EditorCreator(self.register_editor)
     self._editor = None
Esempio n. 16
0
 def __init__(self, app):
     Plugin.__init__(self, app)
     self.all_keywords = []
     self._criteria = _SearchCriteria()
     self.dirty = False
Esempio n. 17
0
 def __init__(self, *args):
     Plugin.__init__(self, *args)
     self._full_file_name = None
     self._test_case_path = None
Esempio n. 18
0
 def __init__(self, application):
     Plugin.__init__(self, application)
Esempio n. 19
0
 def __init__(self, app):
     Plugin.__init__(self, app, default_settings={'configs': []})
     self._configs = RunConfigs(self.configs)
Esempio n. 20
0
 def __init__(self, app):
     Plugin.__init__(self, app, default_settings={'log_to_console': False})
     self._log = []
     self._window = None
Esempio n. 21
0
 def _create_plugin(self, settings={'foo': 'bar'}):
     return Plugin(self._create_app(),
                   name='MyPlug',
                   default_settings=settings)
Esempio n. 22
0
 def get_selected_datafile(self):
     if self._editor and self._editor.controller:
         return self._editor.controller.datafile
     return Plugin.get_selected_datafile(self)
Esempio n. 23
0
 def test_set_default_settings_when_settings_exist(self):
     app = self._create_app()
     app.settings['Plugins'].add_section('MyPlug', foo='zip')
     self.assertEqual(Plugin(app, name='MyPlug').foo, 'zip')
 def __init__(self, app):
     Plugin.__init__(self, app, default_settings={'configs': []})
     self._configs = RunConfigs(self.configs)
Esempio n. 25
0
 def __init__(self, *args):
     Plugin.__init__(self, *args)
     self._full_file_name = None
     self._test_case_path = None
Esempio n. 26
0
 def __init__(self, application):
     Plugin.__init__(self, application)
     self._editor_component = None
Esempio n. 27
0
 def __init__(self, application):
     Plugin.__init__(self, application, default_settings={'format': 'HTML'})
     self._panel = None
Esempio n. 28
0
 def __init__(self, application=None):
     settings = {'recent_files': [], 'max_number_of_files': 4}
     Plugin.__init__(self, application, default_settings=settings)
     self.recent_files = remove_non_existing_paths(self.recent_files)
Esempio n. 29
0
 def __init__(self, application):
     Plugin.__init__(self, application, default_settings={'version_shown':''})
     self._view = None
Esempio n. 30
0
 def __init__(self, application):
     Plugin.__init__(self, application)
     self._tab = None
     self._grid_popup_creator = PopupCreator()
     self._creator = EditorCreator(self.register_editor)
     self._editor = None
Esempio n. 31
0
 def __init__(self, application):
     Plugin.__init__(self, application)
Esempio n. 32
0
 def __init__(self, application):
     Plugin.__init__(self, application, default_settings={'format': 'HTML'})
     self._panel = None
Esempio n. 33
0
 def __init__(self, application):
     Plugin.__init__(self, application)
     self._editor_component = None
Esempio n. 34
0
 def __init__(self, app):
     Plugin.__init__(self, app, default_settings={'log_to_console': False})
     self._log = []
     self._window = None
Esempio n. 35
0
 def get_selected_datafile(self):
     if self._editor and self._editor.controller:
         return self._editor.controller.datafile
     return Plugin.get_selected_datafile(self)
Esempio n. 36
0
 def __init__(self, application=None):
     settings = {'recent_files': [], 'max_number_of_files': 4}
     Plugin.__init__(self, application, default_settings=settings)
Esempio n. 37
0
 def __init__(self, application=None):
     settings = {'recent_files':[], 'max_number_of_files':4}
     Plugin.__init__(self, application, default_settings=settings)