def setProtocol(self, protocol): ProtocolViewer.setProtocol(self, protocol) self.__defineParams(self._form) self._createVarsFromDefinition()