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
Exemple #2
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)
Exemple #3
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
Exemple #4
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)
    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):
     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()
Exemple #7
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
Exemple #8
0
 def get_selected_datafile(self):
     if self._editor and self._editor.controller:
         return self._editor.controller.datafile
     return Plugin.get_selected_datafile(self)
 def __init__(self, application):
     Plugin.__init__(self, application)
Exemple #10
0
 def __init__(self, app):
     Plugin.__init__(self, app, default_settings={'configs': []})
     self._configs = RunConfigs(self.configs)
Exemple #11
0
 def __init__(self, application):
     Plugin.__init__(self, application, default_settings={'version_shown':''})
     self._view = None
Exemple #12
0
 def __init__(self, app):
     Plugin.__init__(self, app, default_settings={'log_to_console': False})
     self._log = []
     self._window = None
Exemple #13
0
 def __init__(self, application=None):
     settings = {'recent_files':[], 'max_number_of_files':4}
     Plugin.__init__(self, application, default_settings=settings)
 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)
 def __init__(self, app):
     Plugin.__init__(self, app)
     self.all_keywords = []
     self._criteria = _SearchCriteria()
     self.dirty = False
Exemple #16
0
 def __init__(self, application):
     Plugin.__init__(self, application)
     self._editor_component = None
 def __init__(self, *args):
     Plugin.__init__(self, *args)
     self._full_file_name = None
     self._test_case_path = None
Exemple #18
0
 def __init__(self, application):
     Plugin.__init__(self, application, default_settings={'format': 'HTML'})
     self._panel = None
Exemple #19
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)