Author: echatellier Date: 2014-04-01 17:05:25 +0200 (Tue, 01 Apr 2014) New Revision: 3912 Url: http://forge.codelutin.com/projects/isis-fish/repository/revisions/3912 Log: refs-50 #4288: Add rsyntaxtextarea Modified: branches/4.0.1/pom.xml branches/4.0.1/src/main/java/fr/ifremer/isisfish/ui/simulator/PreScriptsUI.jaxx Modified: branches/4.0.1/pom.xml =================================================================== --- branches/4.0.1/pom.xml 2014-04-01 14:41:13 UTC (rev 3911) +++ branches/4.0.1/pom.xml 2014-04-01 15:05:25 UTC (rev 3912) @@ -103,7 +103,7 @@ <groupId>com.fifesoft</groupId> <artifactId>rsyntaxtextarea</artifactId> <version>2.5.0</version> - <scope>runtime</scope> + <scope>compile</scope> </dependency> <dependency> @@ -245,6 +245,13 @@ </dependency> <dependency> + <groupId>jaxen</groupId> + <artifactId>jaxen</artifactId> + <version>1.1.6</version> + <scope>runtime</scope> + </dependency> + + <dependency> <groupId>com.bbn</groupId> <artifactId>openmap</artifactId> <version>5.0</version> Modified: branches/4.0.1/src/main/java/fr/ifremer/isisfish/ui/simulator/PreScriptsUI.jaxx =================================================================== --- branches/4.0.1/src/main/java/fr/ifremer/isisfish/ui/simulator/PreScriptsUI.jaxx 2014-04-01 14:41:13 UTC (rev 3911) +++ branches/4.0.1/src/main/java/fr/ifremer/isisfish/ui/simulator/PreScriptsUI.jaxx 2014-04-01 15:05:25 UTC (rev 3912) @@ -5,7 +5,7 @@ $Id$ $HeadURL$ %% - Copyright (C) 2005 - 2011 Ifremer, CodeLutin, Chatellier Eric + Copyright (C) 2005 - 2014 Ifremer, CodeLutin, Chatellier Eric %% This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -41,9 +41,9 @@ simul.selTab(0); }*/ ]]></script> - <JScrollPane constraints='BorderLayout.CENTER'> - <JTextArea id="fieldSimulPreScript" onFocusLost='save()'/> - </JScrollPane> + <org.fife.ui.rtextarea.RTextScrollPane constraints='BorderLayout.CENTER'> + <org.fife.ui.rsyntaxtextarea.RSyntaxTextArea id="fieldSimulPreScript" syntaxEditingStyle="{org.fife.ui.rsyntaxtextarea.SyntaxConstants.SYNTAX_STYLE_JAVA}" /> + </org.fife.ui.rtextarea.RTextScrollPane> <JButton constraints='BorderLayout.SOUTH' text="isisfish.preScript.backParameter" onActionPerformed='getParentContainer(fr.ifremer.isisfish.ui.SimulationUI.class).selectParametersTab()'/> </JPanel>