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
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) """
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
def __init__(self, app): Plugin.__init__(self, app, default_settings={ 'desktop_shortcut_exists': False, 'initial_project': None }) self._window = None atexit.register(self._close)
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
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, 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) ]
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()
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=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, 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)
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
def __init__(self, app): Plugin.__init__(self, app) self.all_keywords = [] self._criteria = _SearchCriteria() self.dirty = False
def __init__(self, *args): Plugin.__init__(self, *args) self._full_file_name = None self._test_case_path = None
def __init__(self, application): Plugin.__init__(self, application)
def __init__(self, app): Plugin.__init__(self, app, default_settings={'configs': []}) self._configs = RunConfigs(self.configs)
def __init__(self, app): Plugin.__init__(self, app, default_settings={'log_to_console': False}) self._log = [] self._window = None
def _create_plugin(self, settings={'foo': 'bar'}): return Plugin(self._create_app(), name='MyPlug', default_settings=settings)
def get_selected_datafile(self): if self._editor and self._editor.controller: return self._editor.controller.datafile return Plugin.get_selected_datafile(self)
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, application): Plugin.__init__(self, application) self._editor_component = None
def __init__(self, application): Plugin.__init__(self, application, default_settings={'format': 'HTML'}) self._panel = None
def __init__(self, application): Plugin.__init__(self, application, default_settings={'version_shown':''}) self._view = None
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): settings = {'recent_files':[], 'max_number_of_files':4} Plugin.__init__(self, application, default_settings=settings)