From 12bad4b505065d52bc10369e3e4b11a94431a8d7 Mon Sep 17 00:00:00 2001 From: barate Date: Thu, 5 Jan 2012 15:17:42 +0000 Subject: [PATCH] Add internal protocols pbsdsh and blaunch --- src/genericgui/JM_EditSalomeResource.cxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/genericgui/JM_EditSalomeResource.cxx b/src/genericgui/JM_EditSalomeResource.cxx index d6ec6a6..1014717 100644 --- a/src/genericgui/JM_EditSalomeResource.cxx +++ b/src/genericgui/JM_EditSalomeResource.cxx @@ -50,6 +50,8 @@ JM::EditSalomeResource::EditSalomeResource(QWidget *parent, BL::SALOMEServices * _protocol_line->addItem("ssh"); _protocol_line->addItem("rsh"); _protocol_line->addItem("srun"); + _protocol_line->addItem("pbsdsh"); + _protocol_line->addItem("blaunch"); _protocol_line->setCurrentIndex(-1); QLabel * componentList_label = new QLabel("Component List:"); @@ -114,6 +116,8 @@ JM::EditSalomeResource::EditSalomeResource(QWidget *parent, BL::SALOMEServices * _iprotocol_line->addItem("ssh"); _iprotocol_line->addItem("rsh"); _iprotocol_line->addItem("srun"); + _iprotocol_line->addItem("pbsdsh"); + _iprotocol_line->addItem("blaunch"); _iprotocol_line->setCurrentIndex(-1); QLabel * batch_label = new QLabel("Batch:"); @@ -198,6 +202,10 @@ JM::EditSalomeResource::get_infos() _protocol_line->setCurrentIndex(1); else if(protocol == "srun") _protocol_line->setCurrentIndex(2); + else if(protocol == "pbsdsh") + _protocol_line->setCurrentIndex(3); + else if(protocol == "blaunch") + _protocol_line->setCurrentIndex(4); else _protocol_line->setCurrentIndex(-1); @@ -208,6 +216,10 @@ JM::EditSalomeResource::get_infos() _iprotocol_line->setCurrentIndex(1); else if (iprotocol == "srun") _iprotocol_line->setCurrentIndex(2); + else if (iprotocol == "pbsdsh") + _iprotocol_line->setCurrentIndex(3); + else if (iprotocol == "blaunch") + _iprotocol_line->setCurrentIndex(4); else _iprotocol_line->setCurrentIndex(-1); -- 2.39.2