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="/" action="select">
10 <s:param name="menu">search</s:param>
11 <s:param name="item">search-knowledge</s:param>
13 <s:url id="back" namespace="/study" action="step-study"></s:url>
15 <table width=100% border=0 cellspacing=0 cellpadding=0>
16 <tr height=30 valign=middle>
18 <s:if test="toolBarSettings.isToolStudy">
19 <td width=30 align=left><s:if test="toolBarSettings.canUserEdit">
20 <s:a href="%{#properties}">
21 <img src="<s:url value="/skin/tool.property.png"/>" border="none"
22 title="<s:text name="tooltip.property"/>" />
25 <s:a href="%{#properties}">
26 <img src="<s:url value="/skin/tool.property.png"/>" border="none"
27 title="<s:text name="tooltip.details"/>" />
30 <td width=30 align=left><s:if
31 test="toolBarSettings.isEnabledScript">
32 <s:a href="%{#scenario}">
33 <img src="<s:url value="/skin/tool.scenario.png"/>" border="none"
34 title="<s:text name="tooltip.scenario"/>" />
37 <img src="<s:url value="/skin/disabled.scenario.png"/>"
38 border="none" title="" />
42 <s:text name="message.info.data">
43 <s:param>/tmp/SimanSalome/<s:property
44 value="openStudy.index" />/<s:property
45 value="openStudy.selectedScenarioId" />/<s:property
46 value="connectedUser.index" /></s:param>
49 <%-- URL for refreshing scenario view after checkin --%>
50 <s:url id="refresh" forceAddSchemeHostAndPort="true"
51 namespace="/study" action="open-%{#entitype}" includeParams="none" escapeAmp="no">
52 <s:param name="selection" value="titleBarSettings.selectionState" />
53 <s:param name="message" value="#mess" />
57 src="<s:url value="/skin/image.vseparator.png"/>" border="none" />
59 test="openStudy.selectedStepRights.canCreateDocument() && (openStudy.moduleBar != null)">
60 <applet name="perform" id="perform"
61 code="org.splat.launcher.ToolbarApplet"
62 archive="../jap/splat-signedlauncher.jar"
63 width=<s:property value="openStudy.moduleBar.width"/>
64 height=<s:property value="openStudy.moduleBar.height"/>> <%-- Generate applet parameters for each tool button --%>
65 <s:iterator var="tool" value="openStudy.moduleBar.items"
67 <s:set var="arg" value="#tool.argument" />
68 <param name="icon<s:property value="#stat.index" />"
69 value="<s:property value="#tool.icon" />" />
70 <param name="tool<s:property value="#stat.index" />"
71 value="<s:property value="#tool.action" />" />
72 <s:if test="#tool.action == 'runSalome'">
74 --siman --siman-study=s --siman-scenario=sc --siman-user=u -k
76 <s:set var="arg">--siman-study=<s:property
77 value="openStudy.index" /> --siman-scenario=<s:property
78 value="openStudy.selectedScenarioId" /> --siman-user=<s:property
79 value="connectedUser.index" />
82 <s:if test="#arg != null">
83 <param name="file<s:property value="#stat.index" />"
84 value="<s:property value="#arg" />" />
87 <param name="refresh" value="<s:property value="%{refresh}"/>">
91 <td width=30 align=right><s:a action="init-study-comparison">
92 <img src="<s:url value="/skin/tool.compare.png"/>" border="none"
93 title="<s:text name="tooltip.compare"/>" style="background-color: transparent;"/>
96 src="<s:url value="/skin/image.vseparator.png"/>" border="none" />
98 <td width=30 align=right><s:a href="%{#idea}">
99 <img src="<s:url value="/skin/icon.idea.png"/>" border="none"
100 title="<s:text name="tooltip.search"/>" />
104 <s:elseif test="toolBarSettings.isToolStandard">
105 <td width=30 align=left><s:a href="%{#properties}">
106 <img src="<s:url value="/skin/tool.property.png"/>" border="none"
107 title="<s:text name="tooltip.details"/>" />
111 <s:elseif test="toolBarSettings.isToolBack">
112 <td width=30 align=left><s:a href="%{#back}">
113 <img src="<s:url value="/skin/icon.back.png"/>" border="none"
114 title="<s:text name="tooltip.back"/>" />