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="openStudy.index" />/<s:property
42 value="openStudy.selectedScenarioId" />/<s:property
43 value="connectedUser.index" /></s:param>
46 <%-- URL for refreshing scenario view after checkin --%>
47 <s:url id="refresh" forceAddSchemeHostAndPort="true"
48 namespace="/study" action="open-%{#entitype}" includeParams="none" escapeAmp="no">
49 <s:param name="selection" value="titleBarSettings.selectionState" />
50 <s:param name="message" value="#mess" />
54 src="<s:url value="/skin/image.vseparator.png"/>" border="none" />
56 test="openStudy.selectedStepRights.canCreateDocument() && (openStudy.moduleBar != null)">
57 <applet name="perform" id="perform"
58 code="org.splat.launcher.ToolbarApplet"
59 archive="../jap/splat-signedlauncher.jar"
60 width=<s:property value="openStudy.moduleBar.width"/>
61 height=<s:property value="openStudy.moduleBar.height"/>> <%-- Generate applet parameters for each tool button --%>
62 <s:iterator var="tool" value="openStudy.moduleBar.items"
64 <s:set var="arg" value="#tool.argument" />
65 <param name="icon<s:property value="#stat.index" />"
66 value="<s:property value="#tool.icon" />" />
67 <param name="tool<s:property value="#stat.index" />"
68 value="<s:property value="#tool.action" />" />
69 <s:if test="#tool.action == 'runSalome'">
71 --siman --siman-study=s --siman-scenario=sc --siman-user=u -k
73 <s:set var="arg">--siman-study=<s:property
74 value="openStudy.index" /> --siman-scenario=<s:property
75 value="openStudy.selectedScenarioId" /> --siman-user=<s:property
76 value="connectedUser.index" />
79 <s:if test="#arg != null">
80 <param name="file<s:property value="#stat.index" />"
81 value="<s:property value="#arg" />" />
84 <param name="refresh" value="<s:property value="%{refresh}"/>">
87 <td width=30 align=right><s:a href="%{#idea}">
88 <img src="<s:url value="/skin/icon.idea.png"/>" border="none"
89 title="<s:text name="tooltip.search"/>" />
93 <s:elseif test="toolBarSettings.isToolStandard">
94 <td width=30 align=left><s:a href="%{#properties}">
95 <img src="<s:url value="/skin/tool.property.png"/>" border="none"
96 title="<s:text name="tooltip.details"/>" />
100 <s:elseif test="toolBarSettings.isToolBack">
101 <td width=30 align=left><s:a href="%{#back}">
102 <img src="<s:url value="/skin/icon.back.png"/>" border="none"
103 title="<s:text name="tooltip.back"/>" />