1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
2 pageEncoding="ISO-8859-1"%>
3 <%@ taglib prefix="s" uri="/struts-tags"%>
5 <s:url id="properties" namespace="/" action="select">
6 <s:param name="menu">configuration</s:param>
8 <s:url id="scenario" namespace="/study" action="add-scenario"></s:url>
9 <s:url id="idea" namespace="/study" action="notyetimplemented"></s:url>
10 <s:url id="back" namespace="/study" action="step-study"></s:url>
12 <table width=100% border=0 cellspacing=0 cellpadding=0>
13 <tr height=30 valign=middle>
15 <s:if test="toolBarSettings.isToolStudy">
16 <td width=30 align=left><s:if test="toolBarSettings.canUserEdit">
17 <s:a href="%{#properties}">
18 <img src="<s:url value="/skin/tool.property.png"/>" border="none"
19 title="<s:text name="tooltip.property"/>" />
22 <s:a href="%{#properties}">
23 <img src="<s:url value="/skin/tool.property.png"/>" border="none"
24 title="<s:text name="tooltip.details"/>" />
27 <td width=30 align=left><s:if
28 test="toolBarSettings.isEnabledScript">
29 <s:a href="%{#scenario}">
30 <img src="<s:url value="/skin/tool.scenario.png"/>" border="none"
31 title="<s:text name="tooltip.scenario"/>" />
34 <img src="<s:url value="/skin/disabled.scenario.png"/>"
35 border="none" title="" />
39 <s:text name="message.info.data">
40 <s:param>/tmp/SimanSalome/<s:property
41 value="connectedUser.index" />/download</s:param>
44 <%-- URL for refreshing scenario view after checkin --%>
45 <s:url id="refresh" forceAddSchemeHostAndPort="true"
46 namespace="/study" action="open-%{#entitype}" includeParams="none" escapeAmp="no">
47 <s:param name="selection" value="titleBarSettings.selectionState" />
48 <s:param name="message" value="#mess" />
52 src="<s:url value="/skin/image.vseparator.png"/>" border="none" />
54 test="openStudy.selectedStepRights.canCreateDocument() && (openStudy.moduleBar != null)">
55 <applet name="perform" id="perform"
56 code="org.splat.launcher.ToolbarApplet"
57 archive="../jap/splat-signedlauncher.jar"
58 width=<s:property value="openStudy.moduleBar.width"/>
59 height=<s:property value="openStudy.moduleBar.height"/>> <%-- Generate applet parameters for each tool button --%>
60 <s:iterator var="tool" value="openStudy.moduleBar.items"
62 <s:set var="arg" value="#tool.argument" />
63 <param name="icon<s:property value="#stat.index" />"
64 value="<s:property value="#tool.icon" />" />
65 <param name="tool<s:property value="#stat.index" />"
66 value="<s:property value="#tool.action" />" />
67 <s:if test="#tool.action == 'runSalome'">
69 --siman --siman-study=s --siman-scenario=sc --siman-user=u -k
71 <s:set var="arg">--siman-study=<s:property
72 value="openStudy.index" /> --siman-scenario=<s:property
73 value="openStudy.selectedScenarioId" /> --siman-user=<s:property
74 value="connectedUser.index" />
77 <s:if test="#arg != null">
78 <param name="file<s:property value="#stat.index" />"
79 value="<s:property value="#arg" />" />
82 <param name="refresh" value="<s:property value="%{refresh}"/>">
85 <td width=30 align=right><s:a href="%{#idea}">
86 <img src="<s:url value="/skin/icon.idea.png"/>" border="none"
87 title="<s:text name="tooltip.search"/>" />
91 <s:elseif test="toolBarSettings.isToolStandard">
92 <td width=30 align=left><s:a href="%{#properties}">
93 <img src="<s:url value="/skin/tool.property.png"/>" border="none"
94 title="<s:text name="tooltip.details"/>" />
98 <s:elseif test="toolBarSettings.isToolBack">
99 <td width=30 align=left><s:a href="%{#back}">
100 <img src="<s:url value="/skin/icon.back.png"/>" border="none"
101 title="<s:text name="tooltip.back"/>" />