MCPcopy Index your code
hub / github.com/rawpython/remi / from_fields_to_dict

Method from_fields_to_dict

editor/editor_widgets.py:364–378  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

362 self.get_field(key).set_value(str(dictionary[key]))
363
364 def from_fields_to_dict(self):
365 self.configDict[self.KEY_PRJ_NAME] = self.get_field(
366 self.KEY_PRJ_NAME).get_value()
367 self.configDict[self.KEY_ADDRESS] = self.get_field(
368 self.KEY_ADDRESS).get_value()
369 self.configDict[self.KEY_PORT] = int(
370 self.get_field(self.KEY_PORT).get_value())
371 self.configDict[self.KEY_MULTIPLE_INSTANCE] = self.get_field(
372 self.KEY_MULTIPLE_INSTANCE).get_value()
373 self.configDict[self.KEY_ENABLE_CACHE] = self.get_field(
374 self.KEY_ENABLE_CACHE).get_value()
375 self.configDict[self.KEY_START_BROWSER] = self.get_field(
376 self.KEY_START_BROWSER).get_value()
377 self.configDict[self.KEY_RESOURCEPATH] = self.get_field(
378 self.KEY_RESOURCEPATH).get_value()
379
380 @gui.decorate_event
381 def confirm_dialog(self, emitter):

Callers 1

confirm_dialogMethod · 0.95

Calls 2

get_fieldMethod · 0.80
get_valueMethod · 0.45

Tested by

no test coverage detected