Changeset 198 for ether_megapoli
- Timestamp:
- 09/15/11 11:35:17 (13 years ago)
- Location:
- ether_megapoli/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/applets/src/com/ether/AppletTimeSerie.java
r190 r198 19 19 public void init() 20 20 { 21 // Appelée par la jsp : 22 // <%--this.plotWindow.getContent().innerHTML = '<applet code="AppletTimeSerie.class" codebase="<%=request.getContextPath()%>/applets" height="400px" width="400px"> ' +--%> 23 // <%--'<param name="plateformId" value="14"> ' +--%> 24 // <%--'<param name="parameterId" value="90"> ' +--%> 25 // <%--'<param name="dateBegin" value=""> ' +--%> 26 // <%--'<param name="dateEnd" value=""> ' +--%> 27 // <%--'<param name="title" value="zzzz"> ' +--%> 28 // <%--'<param name="axeType" value="MOBILE"> ' +--%> 29 // <%--'</applet>';--%> 30 31 21 32 String app_context1 = "classpath:dao-context.xml"; 22 33 String app_context2 = "classpath:service-context.xml"; -
ether_megapoli/trunk/web/src/ApplicationResources.properties
r197 r198 470 470 data.visualization.quicklook=Quicklook 471 471 data.visualization.parameter=param\u00E8tre(s) 472 data.visualization.parameter.buttons.help=Le bouton "Ajouter" ajoute le param\u00E8tre s\u00E9lectionn\u00E9 au quicklook final et le bouton "Initialiser" vide la liste des param\u00E8tres. 472 data.visualization.parameter.buttons.help=Aide 473 data.visualization.parameter.buttons.help.text=En cliquant sur 'Ajouter', vous int\u00E9grez le param\u00E8tre s\u00E9lectionn\u00E9 au quicklook final. Vous ne pouvez visualiser que deux types de param\u00E9tres diff\u00E8rents sur autant de plateformes souhait\u00E8es.<BR><BR>Le bouton 'Initialiser' vide la liste des param\u00E8tres. 473 474 474 475 data.visualization.axeType.TimeLine=S\u00E9rie temporelle (ligne) -
ether_megapoli/trunk/web/src/ApplicationResources_en.properties
r197 r198 469 469 data.visualization.quicklook=Quicklook 470 470 data.visualization.parameter=parameter(s) 471 data.visualization.parameter.buttons.help=Button "Add" add the selected parameter to the final quicklook and button "Init" remove the parameters from the list. 471 data.visualization.parameter.buttons.help=Help 472 data.visualization.parameter.buttons.help.text=By clicking on 'Add' you add the selected parameter to the final quicklook. You can visualize up to two differents parameters at the same time for many plateforms.<BR><BR>The button 'Init' remove the parameters from the list. 472 473 473 474 data.visualization.axeType.TimeLine=Time serie (line) -
ether_megapoli/trunk/web/visualization/visu_parameter_by_pf-script.jsp
r195 r198 111 111 this.selectPlotsPlateformType = false; 112 112 113 this.addPlotButton = new Button( {value:interfaceTexts["data.visualization.add"], parent:this.containerOptionPlotsButtons, id:"button_add_plot", className:"small", onClick:this.onClickAddPlot.bind( this ) , onMouseOver:this.onMouseOverAddPlot.bind( this ), onMouseOut:this.onMouseOutAddPlot.bind( this )} );113 this.addPlotButton = new Button( {value:interfaceTexts["data.visualization.add"], parent:this.containerOptionPlotsButtons, id:"button_add_plot", className:"small", onClick:this.onClickAddPlot.bind( this )} ); 114 114 this.addPlotButton.disable(); 115 this.initPlotButton = new Button( {value:interfaceTexts["data.visualization.button.init"], parent:this.containerOptionPlotsButtons, id:"button_init_plot", className:"small", onClick:this.onClickInitPlot.bind( this ) , onMouseOver:this.onMouseOverInitPlot.bind( this ), onMouseOut:this.onMouseOutInitPlot.bind( this )} );115 this.initPlotButton = new Button( {value:interfaceTexts["data.visualization.button.init"], parent:this.containerOptionPlotsButtons, id:"button_init_plot", className:"small", onClick:this.onClickInitPlot.bind( this )} ); 116 116 }, 117 117 … … 270 270 }, 271 271 272 onMouseOverInitPlot: function()273 {274 // this.initPlotButton.setValue(interfaceTexts["data.visualization.parameter.init"]);275 },276 277 onMouseOutInitPlot: function()278 {279 // this.initPlotButton.setValue(interfaceTexts["data.visualization.button.init"]);280 },281 282 272 onClickAddPlot: function() 283 273 { … … 285 275 }, 286 276 287 onMouseOverAddPlot: function()288 {289 // this.addPlotButton.setValue(interfaceTexts["data.visualization.parameter.add"]);290 },291 292 onMouseOutAddPlot: function()293 {294 // this.addPlotButton.setValue(interfaceTexts["data.visualization.add"]);295 },296 297 277 onClickVisualize: function() 298 278 { 299 // this.plotWindow.getContent().innerHTML = '<div class="loadingPlot"><img src="/Megapoli/resources/icons/loading_datas.gif"/></div>';300 301 // var url = "visualization/plotEther?plateformId=" + this.selectedPlateform.getId()302 // + "¶meterId=" + this.selectedParameter.getId()303 // + "&dateBegin=" + this.beginDate304 // + "&dateEnd=" + this.endDate305 // + "&title=" + encodeURIComponent( $( "textareaTitle" ).value )306 // + "&axeType=" + this.selectAxes.getValue();307 308 279 // TODO : utiliser JSON pour envoyer arrayPIdPId 309 280 var arrayPIdPId = new Array(); … … 328 299 329 300 this.plotWindow.getContent().innerHTML = '<img src=' + url + ' />'; 330 331 <%--this.plotWindow.getContent().innerHTML = '<applet code="AppletTimeSerie.class" codebase="<%=request.getContextPath()%>/applets" height="400px" width="400px"> ' +--%>332 <%--'<param name="plateformId" value="14"> ' +--%>333 <%--'<param name="parameterId" value="90"> ' +--%>334 <%--'<param name="dateBegin" value=""> ' +--%>335 <%--'<param name="dateEnd" value=""> ' +--%>336 <%--'<param name="title" value="zzzz"> ' +--%>337 <%--'<param name="axeType" value="MOBILE"> ' +--%>338 <%--'</applet>';--%>339 301 this.plotWindow.setSize( <%=EtherPlotServiceImpl.getMaxWidth()%>, <%=EtherPlotServiceImpl.getMaxHeight()%> ); 340 302 this.plotWindow.show(); … … 463 425 } 464 426 } 465 466 427 } ); 467 428 429 function onClickHelp() 430 { 431 this.helpWindow = new Window( {className: "dialog", zIndex: 100, resizable: true, draggable:true, wiredDrag: true, showEffect:Effect.BlindDown, hideEffect: Effect.SwitchOff } ); 432 this.helpWindow.setTitle( interfaceTexts["data.visualization.parameter.buttons.help"] ); 433 this.helpWindow.getContent().innerHTML = '<div class="textExamplesTD">' + interfaceTexts["data.visualization.parameter.buttons.help.text"] + '</div>'; 434 this.helpWindow.setSize( 300, 80 ); 435 this.helpWindow.show(); 436 } 437 438 468 439 </script> -
ether_megapoli/trunk/web/visualization/visu_parameter_by_pf.jsp
r194 r198 97 97 <div id="containerOptionPlotsSelect" class="span-10"></div> 98 98 <div id="containerOptionPlotsButtons" class="span-10"> 99 <img src="/Megapoli/resources/icons/help.gif" id="toolTipPlots" height="19px" width="17px" class="toolTipPlots" >99 <img src="/Megapoli/resources/icons/help.gif" id="toolTipPlots" height="19px" width="17px" class="toolTipPlots" onclick="javascript:onClickHelp();"> 100 100 </div> 101 101 </div> … … 133 133 interfaceTexts["data.visualization.parameter"] = "<bean:message key="data.visualization.parameter"/>"; 134 134 135 interfaceTexts["data.visualization.parameter.buttons.help"] = "<bean:message key="data.visualization.parameter.buttons.help"/>"; 136 interfaceTexts["data.visualization.parameter.buttons.help.text"] = "<bean:message key="data.visualization.parameter.buttons.help.text"/>"; 135 137 136 138 interfaceTexts["<%=AxeTypeForFixedPlateform.TIME_LINE%>"] = "<bean:message key="data.visualization.axeType.TimeLine"/>";
Note: See TracChangeset
for help on using the changeset viewer.