diff --git a/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php b/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php index fd78073..3ba4798 100644 --- a/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php +++ b/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php @@ -299,6 +299,11 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass $panelNode->setIndex($panelData->{'panel-index'}); + error_log("FER - ----- ". $pageNode->getSuperposeMode()); + //Panel int index + if (isset($panelData->{'panel-showint-info'}) && $pageNode->getSuperposeMode()=="false") + $panelNode->setShowIntInfo($panelData->{'panel-showint-info'}?"true":"false"); + //Panel background color if (($panelData->{'panel-background-color'} != 'none') && ($panelData->{'panel-background-color'} != '')) $panelNode->setBackgroundColor($this->hexColor2KernelColor($panelData->{'panel-background-color'})); diff --git a/src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotPanelNodeClass.php b/src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotPanelNodeClass.php index d661421..182a83e 100644 --- a/src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotPanelNodeClass.php +++ b/src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotPanelNodeClass.php @@ -18,6 +18,7 @@ define("REQUESTOUTPUTPLOTPANEL_PREFEREDWIDTH", "preferedWidth"); define("REQUESTOUTPUTPLOTPANEL_PREFEREDHEIGHT", "preferedHeight"); define("REQUESTOUTPUTPLOTPANEL_ID", "id"); define("REQUESTOUTPUTPLOTPANEL_INDEX", "index"); +define("REQUESTOUTPUTPLOTPANEL_SHOWINTINFO", "showIntInfo"); abstract class RequestOutputPlotElementTypeEnum { @@ -183,6 +184,16 @@ class RequestOutputPlotPanelNodeClass extends NodeClass return $this->getAttribute(REQUESTOUTPUTPLOTPANEL_INDEX); } + public function setShowIntInfo($showintindex) + { + $this->setAttribute(REQUESTOUTPUTPLOTPANEL_SHOWINTINFO, $showintindex); + } + + public function getShowIntInfo() + { + return $this->getAttribute(REQUESTOUTPUTPLOTPANEL_SHOWINTINFO); + } + public function loadFromNode($xmlNode) { $this->setBackgroundColor($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTPANEL_BACKGROUNDCOLOR)); -- libgit2 0.21.2