From 022b1132c1bb379b4408d335c50b20477784d9c7 Mon Sep 17 00:00:00 2001 From: rkv Date: Mon, 26 Nov 2012 08:48:05 +0000 Subject: [PATCH] Applet is working now and calls runSalome with appropriate parameters. New ant target "launcher" is introduced to generate the unsigned applet jar. --- Workspace/Siman/WebContent/conf/my.xml | 4 +- Workspace/Siman/WebContent/jap/psw.txt | 1 + .../Siman/WebContent/jap/signlauncher.bat | 5 + .../Siman/WebContent/jap/splat-launcher.jar | Bin 7385 -> 8619 bytes .../WebContent/jap/splat-signedlauncher.jar | Bin 8921 -> 10244 bytes Workspace/Siman/WebContent/jsp/toolbar.jsp | 27 +- Workspace/Siman/applet_howto.txt | 90 ++++++ Workspace/Siman/build.xml | 29 +- Workspace/Siman/src/hibernate.properties | 2 +- Workspace/Siman/src/jdbc.properties | 2 +- .../src/org/splat/launcher/ToolbarApplet.java | 81 +++++- .../org/splat/simer/AbstractOpenObject.java | 10 + .../org/splat/simer/ApplicationSettings.java | 269 ++++++++++-------- 13 files changed, 383 insertions(+), 137 deletions(-) create mode 100644 Workspace/Siman/WebContent/jap/psw.txt create mode 100644 Workspace/Siman/WebContent/jap/signlauncher.bat create mode 100644 Workspace/Siman/applet_howto.txt diff --git a/Workspace/Siman/WebContent/conf/my.xml b/Workspace/Siman/WebContent/conf/my.xml index 38f8d2c..8becf05 100644 --- a/Workspace/Siman/WebContent/conf/my.xml +++ b/Workspace/Siman/WebContent/conf/my.xml @@ -6,8 +6,8 @@ - - + + diff --git a/Workspace/Siman/WebContent/jap/psw.txt b/Workspace/Siman/WebContent/jap/psw.txt new file mode 100644 index 0000000..89f76d0 --- /dev/null +++ b/Workspace/Siman/WebContent/jap/psw.txt @@ -0,0 +1 @@ +launcher \ No newline at end of file diff --git a/Workspace/Siman/WebContent/jap/signlauncher.bat b/Workspace/Siman/WebContent/jap/signlauncher.bat new file mode 100644 index 0000000..bdb1f75 --- /dev/null +++ b/Workspace/Siman/WebContent/jap/signlauncher.bat @@ -0,0 +1,5 @@ +set path=%path%;"C:\Program Files\Java\jdk1.6.0_20\bin" + +delete splat-signedlauncher.jar + +jarsigner -verbose -keystore launcherkeystore -signedjar splat-signedlauncher.jar splat-launcher.jar launcheralias 1yEc|x3&kD5NvRFhcNiyPH=aZ!QCMY7J|DIBzSOwJHZJO+&#Dj4-kUyVs*44+oD5`0WbS@)i4^#vcz906aiZN<)lQR!REB<1hfA z@`ouh;LT4{xtFq7(4VGRKX06$_g|)pVoI{oQtBFPiqe;gqazCPtZb9di;=1_@CW%aA9ze^80sc>w>1 ziAk3Y^ji5m4l}?Dj_V}}=|YFqIQS-O{UO^;`SI57k}z<@nMNG;YZY&r4%@b(NCIz^ zlIPk5Ht*N=lye0upScT~9#|Q?QQRa?D>e{+oe2aQbas2zK?wt5Q4!haAL%@}O|tB? zo&}g9OI9z&el^A~IfzuAf=+za<+oKKmtb`d>a|&}k&cw-Oicq>U8IVdFMWRdU3R)| z_9m9&czk&THv8Zy5KNJ~v!Y3V`W77YSatQRZ>!Tvzzyz62KX-78ZR6Haqt2NG`AsD zwARdxL*denD8H^p$wEeJ%zTM!6)`v*gZCgl`92B4CYy!H*LalYeA<+QZT(=ip)onO z$D%BQq$KZt!YsZ>9h&AWEn3B}Bx8jzrrE=cZ%g5iSreONJ?oq^E6)HX>qT&{v#`uF z0T)&`ErBpfJOPMbe9fD~;q5lsAO)i8+Oso*lV!bKkpBG<*a0P`DK%LXUCs87*u9$V zOwONZ**!CQfs0kt6OF`v?_a*KSD1{0i6|76_lP5?`r0usF~l}3>I>=FlBAZ!5r1o%0a<|Ju%Cp&aP z^w}SLJa*7E!nv~`0sOnzd9ynekaf?|Y(?GqmT}=n-dzOo!zvzaNP=|QKTF(aa_taOu!g2NZScS-6( z#MZ`xivw=7?jDznc~+#*qvqsjf=TSE=&RH-J&qO30Vh2*B2$S}=ZCV!P&{h0Pj4+N zLz=GZKkMxeeifOISCF3F^@?#uDUdD<0ToR@?+7{PzM{2bets9*T>>>yd`Nyjea7f_ zeY1Bz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$Rlm2zYL z#G#$jmi%C@sX-}?+m&A1J!1)OSQ0x9<@(&o7th|wH+vL1!Pj@UjiE`e<#MwY2zwTP zTvINL>Yol?^ZhH=ZSu$32LJ7DLRY{K%x-C2Jdxml6+QWMMWi+5mp9RACOo;jm<^`8 zBx_9U#PL#Mn?u>1)w7PDXc}VdW!4E$QpZ&>;5ccgM9d7VbedQBJJdKI#Q^X{%;i?C zI!KR_m;9}&Ulk*eMVCt=#qjxZIaw`QH4M3Pb31iS-NMJ9AWd-hRua4s3c#t0NI68^k=ADauXfRqAXA%% z^Vz~v&y`K)aX!sfFLZlv^$q`U8mCVhc1RnnD@Bh;aq3`rjVwe_sDI?Igh?ANu{RT6xHitb`=nD#dq8u3bV zB3<>3|6=AP3jRPqwsrbI&WsK5_fs;v=9^@&9?cb=SI+y1PXd3*K)=~Gc*2H>zZIjo zb5CSlkC2CwIOn?g-BLy3=nS)y_xgopJNY%Mr|dGdAWu3{x9)u**%sVoEa5xp5Pm@- z{$dd&ep?sXaL$Dc5f6AdOGSY5p)ioUJ#^yjz&Dj}Pn?{M9#j$fgGpiOXI^7IpYrG; zGZ9Gc%D@mWTWLt08bL+{KBPSv%^mT=o{tthO@=;D+Qn=Lo7bhFt85VwCHl+1?csn< z<3r-|l{Sl-H1EqQbD5*YOl{Z+os343OsF=vpQ@`_!|77jtg2{e!1I!ktd_AawR5+q zvlr~$e|~;R-PCd~Y`(y+Acp2gLpk(7PS*t`0T~_cl${;IR5_0J>z6b*lS41WXvmkRNJKjL31!=J3b z1;;;CjNgLe-!S|oPW~I#f69-468^r4KfA_n@#Ak$qW?$2e@G$!oFE;Q)X!qTjp!0xTCG%K!iX diff --git a/Workspace/Siman/WebContent/jap/splat-signedlauncher.jar b/Workspace/Siman/WebContent/jap/splat-signedlauncher.jar index 13bf335861e43d53906a216b5b8b193635df8ac2..34958b2382b72648cd9fbcbac15e7b46dc217c30 100644 GIT binary patch delta 9112 zcmZvi1ymf%wuW&F!QI^<8GLYe2?QIQ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1F}y~WCx_5Zp|mMT@bD&mC$DO*6h7z4B@Bd0xb$%u^H-4?D5$A0-6wfV zZ-;l+5l9w7yz$xvVMlg_heUr@I6zlr>W1dN9q_fuI^(>$n(tzX3^|d^eN! z_igZHpgmA+ZN55%b;fS?+gj@?DIR`lcL6U{=NJk>BUx#Vr?0;CUrf6~!5aw3ut^!n zoUtYOenxKJe47Z=r@emVm033NS?Grx_}H$&6FN+CT!7}zJCS}fLJ>mhlI7-iM;(Eq zJIq1R>ld2g?ANT3w9DLrH0easy7!fITX>hLP~fyf6q!^Kc@ZUcTMyiD!Gi>n3?P`L z#>at_=RtVeLnhu29IJ+T;$&|0po%dZOp40B@S6zultks5i-EFM28Q_Ai-POa@l#9j zK<$ZW?g*C-0(8J>a`b_sE*2x`ydEWeWs8_N@elvD#{+uJ^7!Rz9aeQ&eu63sxueE3 z9q1{&oMwVthz_uyx~o~!`AW~cDt~Ce^9sU5Udz;%+_{_I*$edUzqq)fX=?c?YOx@w zB!T8fOEvUJLEi-?B{DwTDLy+;A=!iy$qz&T&2B${(>()3|~t%2o=_Q9aaLmst7_>~yUxu`Xb8ZrSO!6mOFKo>m5Y^&pfB zlmQm!*!R+}ZL+YhaQTdHUkHVwGoehZ)EA$eah2ynBRNsvN0TXhX3%_huR3q7Obx6% zIi{LMcVuaiemoD-($iHdx+|si1D34&La~G-6jrl74Ta6Ta%iIkIcy <%@ page import="org.splat.som.StepRights"%> <%@ page import="org.splat.simer.OpenStudy"%> +<%@ page import="org.splat.simer.Action"%> <%@ page import="org.splat.wapp.ToolBar"%> <%@ page import="org.splat.wapp.ToolButton"%> <%@ page import="java.util.Iterator"%> +<%@page import="com.opensymphony.xwork2.ActionContext"%> <%@ taglib prefix="s" uri="/struts-tags" %> @@ -42,22 +44,37 @@ " border="none" /> <% OpenStudy study = (OpenStudy)session.getAttribute("study.open"); ToolBar mbar = study.getModuleBar(); + Action anAction = (Action)ActionContext.getContext().getActionInvocation().getAction(); + if (study.getSelectedStepRights().canCreateDocument() && mbar != null) { %> - height=<%=mbar.getHeight()%>> + height=<%=mbar.getHeight()%>> <% Iterator item = mbar.asList().iterator(); for (int i=0; item.hasNext(); i++) { - ToolButton tool = item.next(); + ToolButton tool = item.next(); String arg = tool.getArgument(); %> -<% if (arg != null) { +<% + if ("runSalome".equals(tool.getAction())) { + // --siman --siman-study=s --siman-scenario=sc --siman-user=u -k + arg = "--siman --siman-study=" + study.getIndex() + + " --siman-scenario=" + study.getSelectedScenarioId() + + " --siman-user=" + anAction.getConnectedUser().getUsername() + + " -k"; + } + if (arg != null) { %> -<% } +<% } } %> <% } -%> +%> + + + + " border="none" title="" /> diff --git a/Workspace/Siman/applet_howto.txt b/Workspace/Siman/applet_howto.txt new file mode 100644 index 0000000..0c0a694 --- /dev/null +++ b/Workspace/Siman/applet_howto.txt @@ -0,0 +1,90 @@ +set path=%path%;C:\Program Files\Java\jdk1.6.0_03\bin + + +D:\users\rkv\SIMAN\SIMAN_SRC\Workspace\Siman\build\classes> +set path=%path%;"C:\Program Files\Java\jdk1.6.0_20\bin" + +C:\work\Siman\SIMAN_SRC\Workspace\Siman\build\classes> +jar cvf splat-launcher.jar org\splat\launcher\*.class + + +cd ..\..\WebContent\jap + +jarsigner -verbose -keystore launcherkeystore -signedjar splat-signedlauncher.jar splat-launcher.jar launcheralias + + + +For creation the applet please use the following java methods : + + //To get the SALOME_HOME environment variable + String SALOME_HOME = System.getenv("SALOME_ROOT_DIR"); + + If SALOME_ROOT_DIR does not exist the SALOME_HOME equals to _null_. + + //To execute the RunSalome script + Runtime runtime = Runtime.getRuntime(); + String pathToScript = SALOME_HOME+"\\runSalome" or pathToScript = SALOME_HOME+"runSalome" + + if (new File(pathToScript).exists()) { + Process process = runtime.exec(pathToScript); + } + + + + + + + + + + + +Dear Colleagues, + + + + Some more details about current procedure of SALOME running + + It probably will be updated in accordance with changes of SALOME directories + organizarion + + + + To check availability of SALOME environment, the applet should : + + - check existence of environment variable $SALOME_ROOT_DIR + + - check existence of environment file $SALOME_ROOT_DIR/env_build.sh + + - existence of run bash script $SALOME_ROOT_DIR/KERNEL/bin/salome/runSalome + + + + To run SALOME-SIMAN : + + - open bash shell + + bash + + - export SALOME environment variables + + . $SALOME_ROOT_DIR/env_build.sh + + - run bash shell script + + runSalome --siman --siman-study=s --siman-scenario=sc --siman-user=u -k + + + where : + + the SIMAN parameters are displayed as Title of the SALOME GUI Window + + "-k" is to kill previously run runSalome and all SALOME processes + + + + -- + + Best Regards, + + Alexander \ No newline at end of file diff --git a/Workspace/Siman/build.xml b/Workspace/Siman/build.xml index 1c35595..0cb3a8c 100644 --- a/Workspace/Siman/build.xml +++ b/Workspace/Siman/build.xml @@ -17,12 +17,29 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Workspace/Siman/src/hibernate.properties b/Workspace/Siman/src/hibernate.properties index 6c0cad6..326140a 100644 --- a/Workspace/Siman/src/hibernate.properties +++ b/Workspace/Siman/src/hibernate.properties @@ -1,4 +1,4 @@ -# Generated at 02/11/2012 05:50:20 +# Generated at 26/11/2012 09:23:45 # Don't edit manually. See the source in D:\users\rkv\SIMAN\SIMAN_SRC\Workspace\Siman\conf\templates. # Connection properties connection.driver_class=com.mysql.jdbc.Driver diff --git a/Workspace/Siman/src/jdbc.properties b/Workspace/Siman/src/jdbc.properties index 8404e7d..62a0c8b 100644 --- a/Workspace/Siman/src/jdbc.properties +++ b/Workspace/Siman/src/jdbc.properties @@ -1,4 +1,4 @@ -# Generated at 02/11/2012 05:50:20 +# Generated at 26/11/2012 09:23:45 # Don't edit manually. See the source in D:\users\rkv\SIMAN\SIMAN_SRC\Workspace\Siman\conf\templates. # Connection properties connection.url=jdbc:mysql://localhost/simer diff --git a/Workspace/Siman/src/org/splat/launcher/ToolbarApplet.java b/Workspace/Siman/src/org/splat/launcher/ToolbarApplet.java index c5bc176..183b0fe 100644 --- a/Workspace/Siman/src/org/splat/launcher/ToolbarApplet.java +++ b/Workspace/Siman/src/org/splat/launcher/ToolbarApplet.java @@ -4,18 +4,37 @@ import java.awt.ComponentOrientation; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; +import java.io.File; +import java.io.FileNotFoundException; import java.io.ObjectInputStream; import java.net.URL; import java.net.URLConnection; +/** + * Applet providing a set of buttons. Each button is defined by three parameters:
+ *
    + *
  • icon<i>
  • + *
  • tool<i>
  • + *
  • file<i>
  • - may be null + *
+ * where i is an index beginning from zero. + */ public class ToolbarApplet extends java.applet.Applet implements ActionListener { + /** + * Serialization version id. + */ private static final long serialVersionUID = 3243053622061086715L; // ============================================================================================================================== // Overridden functions // ============================================================================================================================== + /** + * {@inheritDoc} + * + * @see java.applet.Applet#init() + */ @Override public void init() { URL appurl = getCodeBase(); @@ -39,8 +58,12 @@ public class ToolbarApplet extends java.applet.Applet implements ActionListener applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT); } + /** + * {@inheritDoc} + * + * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) + */ public void actionPerformed(final ActionEvent event) { - // ----------------------------------------------- if (event.getSource() instanceof ToolButton) { ToolButton clicked = (ToolButton) event.getSource(); String module = clicked.getTool(); @@ -53,8 +76,15 @@ public class ToolbarApplet extends java.applet.Applet implements ActionListener // Public member functions // ============================================================================================================================== + /** + * Launch an appropriate application for the given file. + * + * @param name + * module name + * @param filename + * file name + */ public void launch(final String name, final String filename) { - // ------------------------------------------------- String module = name; try { @@ -73,6 +103,53 @@ public class ToolbarApplet extends java.applet.Applet implements ActionListener } else // Opening an application on the local machine + + if (module.equals("runSalome")) { + // Run SALOME + // To get the SALOME_HOME environment variable + String SALOME_HOME = System.getenv("SALOME_ROOT_DIR"); + // If SALOME_ROOT_DIR does not exist the SALOME_HOME equals to null. + if (SALOME_HOME == null) { + // TODO: Use logger to be more user friendly + getAppletContext() + .showDocument( + new URL( + getCodeBase().toString() + + "error.jsp?message=launch&value=" + + "SALOME_ROOT_DIR environment variable is not defined."), + "_blank"); + throw new Exception( + "SALOME_ROOT_DIR nevironment variable is not defined."); + } else if (!SALOME_HOME.endsWith(File.separator)) { + SALOME_HOME += File.separator; + } + String pathToScript = SALOME_HOME + "runSalome"; + + File script = new File(pathToScript); + if (!script.exists()) { + script = new File(pathToScript + ".bat"); + if (!script.exists()) { + script = new File(pathToScript + ".cmd"); + } + } + + if (script.exists()) { + // Execute the runSalome script. + // filename here indeed a string containing parameters for runSalome. + Runtime.getRuntime().exec( + new String[] { script.getAbsolutePath(), filename }); + } else { + // TODO: Use logger to be more user friendly + getAppletContext().showDocument( + new URL(getCodeBase().toString() + + "error.jsp?message=launch&value=" + + "SALOME module is not found: " + + script.getAbsolutePath()), "_blank"); + throw new FileNotFoundException( + "SALOME module is not found: " + script.getAbsolutePath()); + } + } else + if (module.endsWith(".exe") || module.endsWith(".EXE")) { String applikey = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\Applications\\" + module; diff --git a/Workspace/Siman/src/org/splat/simer/AbstractOpenObject.java b/Workspace/Siman/src/org/splat/simer/AbstractOpenObject.java index a83ba4c..43a0391 100644 --- a/Workspace/Siman/src/org/splat/simer/AbstractOpenObject.java +++ b/Workspace/Siman/src/org/splat/simer/AbstractOpenObject.java @@ -216,6 +216,16 @@ public abstract class AbstractOpenObject implements Proxy { return _selection; } + public String getSelectedScenarioId() { + String res; + if (_selection == null) { + res = "0"; + } else { + res = _selection.substring(0, _selection.indexOf('.')); + } + return res; + } + public User getUser() { return _cuser; } diff --git a/Workspace/Siman/src/org/splat/simer/ApplicationSettings.java b/Workspace/Siman/src/org/splat/simer/ApplicationSettings.java index 9309647..0c30875 100644 --- a/Workspace/Siman/src/org/splat/simer/ApplicationSettings.java +++ b/Workspace/Siman/src/org/splat/simer/ApplicationSettings.java @@ -257,12 +257,12 @@ public class ApplicationSettings implements ServletContextAware { super("create"); addItem("new-empty", "menu.new.empty", "image.empty.png", "select?menu=create&item=new-empty"); - addItem("new-copy", new MenuItem("menu.new.copy") - .icon("image.copy.png")); - addItem("new-instance", new MenuItem("menu.new.instance") - .icon(IMG_HOLD)); - addItem("new-import", new MenuItem("menu.new.import") - .icon("icon.upload.png")); + addItem("new-copy", + new MenuItem("menu.new.copy").icon("image.copy.png")); + addItem("new-instance", + new MenuItem("menu.new.instance").icon(IMG_HOLD)); + addItem("new-import", + new MenuItem("menu.new.import").icon("icon.upload.png")); this.selects("new-empty"); } } @@ -274,8 +274,8 @@ public class ApplicationSettings implements ServletContextAware { "select?menu=search&item=search-study"); addItem("search-knowledge", "menu.search.idea", "image.idea.png", "select?menu=search&item=search-knowledge"); - addItem("search-document", new MenuItem("menu.search.document") - .icon("icon.any.png")); + addItem("search-document", + new MenuItem("menu.search.document").icon("icon.any.png")); this.selects("search-study"); } } @@ -303,8 +303,8 @@ public class ApplicationSettings implements ServletContextAware { "select?menu=datadmin&item=admin-scontext"); addItem("admin-knowelm", "menu.admin.knowledge", "image.idea.png", "select?menu=datadmin&item=admin-knowelm"); - addItem("admin-study", new MenuItem("menu.admin.study") - .icon("image.study.png")); + addItem("admin-study", + new MenuItem("menu.admin.study").icon("image.study.png")); } } @@ -329,26 +329,31 @@ public class ApplicationSettings implements ServletContextAware { private EditableStudyPopup() { super(); - addItem(MNU_PUBLISH, new PopupItem(MNU_NAME_PUBLISH).icon( - "image.publish.png").action("edit-study?action=publish") - .confirmation("message.publish.study")); + addItem(MNU_PUBLISH, + new PopupItem(MNU_NAME_PUBLISH).icon("image.publish.png") + .action("edit-study?action=publish") + .confirmation("message.publish.study")); addItem(MNU_PROMOTE, new PopupItem("menu.archive")); addSeparator(); - addItem(MNU_EDIT, new PopupItem("menu.properties").icon( - "icon.ed.png").action("../select?menu=properties")); + addItem(MNU_EDIT, + new PopupItem("menu.properties").icon("icon.ed.png") + .action("../select?menu=properties")); addSeparator(); - addItem(MNU_SCRIPT, new PopupItem(MNU_NAME_SCRIPT) - .action("add-scenario")); - addItem(MNU_VERSION, new PopupItem(MNU_NAME_VERSION).icon( - IMG_VERSION).action(ACT_NOT_YET_IMPLEMENTED)); + addItem(MNU_SCRIPT, + new PopupItem(MNU_NAME_SCRIPT).action("add-scenario")); + addItem(MNU_VERSION, + new PopupItem(MNU_NAME_VERSION).icon(IMG_VERSION).action( + ACT_NOT_YET_IMPLEMENTED)); addSeparator(); - addItem(MNU_PURGE, new PopupItem(MNU_NAME_PURGE) - .confirmation("message.purge.study")); - addItem("export", new PopupItem("menu.export") - .icon("image.export.png")); // For future needs - addItem(MNU_REMOVE, new PopupItem(MNU_NAME_REMOVE).icon(IMG_DELETE) - .action(ACT_NOT_YET_IMPLEMENTED).confirmation( - "message.delete.study")); + addItem(MNU_PURGE, + new PopupItem(MNU_NAME_PURGE) + .confirmation("message.purge.study")); + addItem("export", + new PopupItem("menu.export").icon("image.export.png")); // For future needs + addItem(MNU_REMOVE, + new PopupItem(MNU_NAME_REMOVE).icon(IMG_DELETE) + .action(ACT_NOT_YET_IMPLEMENTED) + .confirmation("message.delete.study")); } @Override @@ -406,30 +411,36 @@ public class ApplicationSettings implements ServletContextAware { private EditableDocumentPopup() { super(); - addItem("accept", new PopupItem("menu.accept").icon( - "image.accept.png").action("setDocument?action=accept") - .confirmation("message.accept.document")); - addItem(MNU_PROMOTE, new PopupItem(MNU_NAME_PROMOTE).icon( - "image.publish.png").action("setDocument?action=promote") - .confirmation("message.promote.document")); + addItem("accept", + new PopupItem("menu.accept").icon("image.accept.png") + .action("setDocument?action=accept") + .confirmation("message.accept.document")); + addItem(MNU_PROMOTE, + new PopupItem(MNU_NAME_PROMOTE).icon("image.publish.png") + .action("setDocument?action=promote") + .confirmation("message.promote.document")); addSeparator(); - addItem(MNU_RENAME, new PopupItem(MNU_NAME_RENAME) - .action("edit-document?action=renameDocument")); + addItem(MNU_RENAME, + new PopupItem(MNU_NAME_RENAME) + .action("edit-document?action=renameDocument")); addItem(MNU_ATTACH, new PopupItem(MNU_NAME_ATTACH).icon(IMG_ATTACH) .action(ACT_ATTACH)); addSeparator(); - addItem(MNU_VERSION, new PopupItem(MNU_NAME_VERSION).icon( - IMG_VERSION).action(ACT_VERSION)); - addItem("replace", new PopupItem("menu.replace").icon( - "image.replace.png").action( - "select-file?nextAction=replace")); + addItem(MNU_VERSION, + new PopupItem(MNU_NAME_VERSION).icon(IMG_VERSION).action( + ACT_VERSION)); + addItem("replace", + new PopupItem("menu.replace").icon("image.replace.png") + .action("select-file?nextAction=replace")); addSeparator(); - addItem(MNU_PURGE, new PopupItem(MNU_NAME_PURGE).action( - ACT_NOT_YET_IMPLEMENTED).confirmation( - "message.purge.document")); - addItem(MNU_REMOVE, new PopupItem(MNU_NAME_REMOVE).icon(IMG_DELETE) - .action("remove-document").confirmation( - "message.delete.document")); + addItem(MNU_PURGE, + new PopupItem(MNU_NAME_PURGE).action( + ACT_NOT_YET_IMPLEMENTED).confirmation( + "message.purge.document")); + addItem(MNU_REMOVE, + new PopupItem(MNU_NAME_REMOVE).icon(IMG_DELETE) + .action("remove-document") + .confirmation("message.delete.document")); } @Override @@ -492,22 +503,26 @@ public class ApplicationSettings implements ServletContextAware { private ReviewableDocumentPopup() { super(); - addItem(MNU_DEMOTE, new PopupItem(MNU_NAME_DEMOTE).icon( - "image.demote.png").action("setDocument?action=demote") - .confirmation("message.demote.document")); - addItem(MNU_PROMOTE, new PopupItem("menu.review").icon( - "image.review.png").action("setDocument?action=review") - .confirmation("message.review.document")); + addItem(MNU_DEMOTE, + new PopupItem(MNU_NAME_DEMOTE).icon("image.demote.png") + .action("setDocument?action=demote") + .confirmation("message.demote.document")); + addItem(MNU_PROMOTE, + new PopupItem("menu.review").icon("image.review.png") + .action("setDocument?action=review") + .confirmation("message.review.document")); addSeparator(); addItem(MNU_ATTACH, new PopupItem(MNU_NAME_ATTACH).icon(IMG_ATTACH) .action(ACT_ATTACH)); addSeparator(); - addItem(MNU_VERSION, new PopupItem(MNU_NAME_VERSION).icon( - IMG_VERSION).action(ACT_VERSION)); + addItem(MNU_VERSION, + new PopupItem(MNU_NAME_VERSION).icon(IMG_VERSION).action( + ACT_VERSION)); addSeparator(); - addItem(MNU_PURGE, new PopupItem(MNU_NAME_PURGE).action( - ACT_NOT_YET_IMPLEMENTED).confirmation( - "message.purge.document")); + addItem(MNU_PURGE, + new PopupItem(MNU_NAME_PURGE).action( + ACT_NOT_YET_IMPLEMENTED).confirmation( + "message.purge.document")); } @Override @@ -551,22 +566,26 @@ public class ApplicationSettings implements ServletContextAware { private NotResultDocumentPopup() { super(); - addItem(MNU_DEMOTE, new PopupItem(MNU_NAME_DEMOTE).icon( - "image.demote.png").action("setDocument?action=demote") - .confirmation("message.demote.document")); + addItem(MNU_DEMOTE, + new PopupItem(MNU_NAME_DEMOTE).icon("image.demote.png") + .action("setDocument?action=demote") + .confirmation("message.demote.document")); addSeparator(); addItem(MNU_ATTACH, new PopupItem(MNU_NAME_ATTACH).icon(IMG_ATTACH) .action(ACT_ATTACH)); addSeparator(); - addItem(MNU_VERSION, new PopupItem(MNU_NAME_VERSION).icon( - IMG_VERSION).action(ACT_VERSION)); + addItem(MNU_VERSION, + new PopupItem(MNU_NAME_VERSION).icon(IMG_VERSION).action( + ACT_VERSION)); addSeparator(); - addItem(MNU_PURGE, new PopupItem(MNU_NAME_PURGE).action( - ACT_NOT_YET_IMPLEMENTED).confirmation( - "message.purge.document")); - addItem(MNU_REMOVE, new PopupItem(MNU_NAME_REMOVE).icon(IMG_DELETE) - .action("remove-document").confirmation( - "message.delete.document")); + addItem(MNU_PURGE, + new PopupItem(MNU_NAME_PURGE).action( + ACT_NOT_YET_IMPLEMENTED).confirmation( + "message.purge.document")); + addItem(MNU_REMOVE, + new PopupItem(MNU_NAME_REMOVE).icon(IMG_DELETE) + .action("remove-document") + .confirmation("message.delete.document")); } } @@ -578,16 +597,18 @@ public class ApplicationSettings implements ServletContextAware { private ApprovableDocumentPopup() { super(); - addItem("undo", new PopupItem(MNU_NAME_DEMOTE).icon( - "image.invalidate.png").action( - "setDocument?action=invalidate").confirmation( - "message.demote.document")); - addItem(MNU_DEMOTE, new PopupItem("menu.disapprove").icon( - "image.demote.png").action("setDocument?action=disapprove") - .confirmation("message.disapprove.document")); - addItem("approve", new PopupItem("menu.approve").icon( - "icon.APPROVED.png").action("setDocument?action=approve") - .confirmation("message.approve.document")); + addItem("undo", + new PopupItem(MNU_NAME_DEMOTE).icon("image.invalidate.png") + .action("setDocument?action=invalidate") + .confirmation("message.demote.document")); + addItem(MNU_DEMOTE, + new PopupItem("menu.disapprove").icon("image.demote.png") + .action("setDocument?action=disapprove") + .confirmation("message.disapprove.document")); + addItem("approve", + new PopupItem("menu.approve").icon("icon.APPROVED.png") + .action("setDocument?action=approve") + .confirmation("message.approve.document")); } @Override @@ -629,8 +650,9 @@ public class ApplicationSettings implements ServletContextAware { addItem(MNU_ATTACH, new PopupItem(MNU_NAME_ATTACH).icon(IMG_ATTACH) .action(ACT_ATTACH)); addSeparator(); - addItem(MNU_VERSION, new PopupItem(MNU_NAME_VERSION).icon( - IMG_VERSION).action(ACT_VERSION)); + addItem(MNU_VERSION, + new PopupItem(MNU_NAME_VERSION).icon(IMG_VERSION).action( + ACT_VERSION)); } } @@ -642,15 +664,17 @@ public class ApplicationSettings implements ServletContextAware { private ExternPopup() { super(); - addItem(MNU_RENAME, new PopupItem(MNU_NAME_RENAME) - .action("edit-document?action=renameDocument")); - addItem("replace", new PopupItem("menu.replace").icon( - "image.replace.png").action( - "select-file?nextAction=replace")); + addItem(MNU_RENAME, + new PopupItem(MNU_NAME_RENAME) + .action("edit-document?action=renameDocument")); + addItem("replace", + new PopupItem("menu.replace").icon("image.replace.png") + .action("select-file?nextAction=replace")); addSeparator(); - addItem(MNU_REMOVE, new PopupItem("menu.remove.document").icon( - IMG_DELETE).action("remove-document").confirmation( - "message.delete.document")); + addItem(MNU_REMOVE, + new PopupItem("menu.remove.document").icon(IMG_DELETE) + .action("remove-document") + .confirmation("message.delete.document")); } @Override @@ -689,14 +713,17 @@ public class ApplicationSettings implements ServletContextAware { private ScontextPopup() { super(); - addItem(MNU_RENAME, new PopupItem(MNU_NAME_RENAME) - .action("edit-context?action=renameContext")); - addItem(MNU_EDIT, new PopupItem(MNU_NAME_EDIT) - .action("edit-context?action=editContext")); + addItem(MNU_RENAME, + new PopupItem(MNU_NAME_RENAME) + .action("edit-context?action=renameContext")); + addItem(MNU_EDIT, + new PopupItem(MNU_NAME_EDIT) + .action("edit-context?action=editContext")); addSeparator(); - addItem(MNU_REMOVE, new PopupItem("menu.remove").icon(IMG_DELETE) - .action("remove-context").confirmation( - "message.delete.context")); + addItem(MNU_REMOVE, + new PopupItem("menu.remove").icon(IMG_DELETE) + .action("remove-context") + .confirmation("message.delete.context")); } @Override @@ -729,21 +756,26 @@ public class ApplicationSettings implements ServletContextAware { private FeedbexPopup() { super(); - addItem(MNU_PROMOTE, new PopupItem(MNU_NAME_PROMOTE).icon( - "image.review.png").action("promote-knowledge") - .confirmation("message.promote.knowledge")); - addItem(MNU_DEMOTE, new PopupItem(MNU_NAME_DEMOTE).icon( - "image.invalidate.png").action("demote-knowledge") - .confirmation("message.demote.knowledge")); + addItem(MNU_PROMOTE, + new PopupItem(MNU_NAME_PROMOTE).icon("image.review.png") + .action("promote-knowledge") + .confirmation("message.promote.knowledge")); + addItem(MNU_DEMOTE, + new PopupItem(MNU_NAME_DEMOTE).icon("image.invalidate.png") + .action("demote-knowledge") + .confirmation("message.demote.knowledge")); addSeparator(); - addItem(MNU_RENAME, new PopupItem(MNU_NAME_RENAME) - .action("edit-knowledge?action=renameKnowledge")); - addItem(MNU_EDIT, new PopupItem(MNU_NAME_EDIT) - .action("edit-knowledge?action=editKnowledge")); + addItem(MNU_RENAME, + new PopupItem(MNU_NAME_RENAME) + .action("edit-knowledge?action=renameKnowledge")); + addItem(MNU_EDIT, + new PopupItem(MNU_NAME_EDIT) + .action("edit-knowledge?action=editKnowledge")); addSeparator(); - addItem(MNU_REMOVE, new PopupItem("menu.remove").icon(IMG_DELETE) - .action("remove-knowledge").confirmation( - "message.delete.knowledge")); + addItem(MNU_REMOVE, + new PopupItem("menu.remove").icon(IMG_DELETE) + .action("remove-knowledge") + .confirmation("message.delete.knowledge")); } @Override @@ -895,8 +927,7 @@ public class ApplicationSettings implements ServletContextAware { ToolBar bar = new ToolBar(24); // Height of the module-bar Set module = new HashSet(); // For not duplicating modules - for (Iterator j = formats.iterator(); j.hasNext();) { - String format = j.next(); + for (String format : formats) { String command = getApplicationProperty("executable." + format); if (command == null) { continue; // Module not installed @@ -922,9 +953,8 @@ public class ApplicationSettings implements ServletContextAware { } else { icon = "tool." + icon.toLowerCase() + ".png"; } - File image = new File(ApplicationSettings - .getApplicationSkinPath() - + icon); + File image = new File( + ApplicationSettings.getApplicationSkinPath() + icon); if (!image.exists()) { icon = "tool.any.png"; } @@ -932,9 +962,8 @@ public class ApplicationSettings implements ServletContextAware { } else { docname = "/jsp/newDocument.jsp?type=" + docname; String icon = "tool." + name[0].toLowerCase() + ".png"; - File image = new File(ApplicationSettings - .getApplicationSkinPath() - + icon); + File image = new File( + ApplicationSettings.getApplicationSkinPath() + icon); if (!image.exists()) { icon = "tool.any.png"; } @@ -957,8 +986,8 @@ public class ApplicationSettings implements ServletContextAware { } public String getApplicationURL() { - StringBuffer url = new StringBuffer("http://").append( - MY_APP._wappserver).append("/").append(_wappname); + StringBuffer url = new StringBuffer("http://") + .append(MY_APP._wappserver).append("/").append(_wappname); return url.toString(); } @@ -1002,9 +1031,9 @@ public class ApplicationSettings implements ServletContextAware { } public static String getDownloadURL(final User user) { - StringBuffer url = new StringBuffer("http://").append( - MY_APP._wappserver).append("/download/").append( - user.getUsername()).append("/"); + StringBuffer url = new StringBuffer("http://") + .append(MY_APP._wappserver).append("/download/") + .append(user.getUsername()).append("/"); return url.toString(); // The download Tomcat context is supposed being defined } -- 2.39.2