Author: chatellier Date: 2011-04-18 15:47:11 +0000 (Mon, 18 Apr 2011) New Revision: 3267 Log: Desactivation d'elements qui n'ont plus d'implementation Modified: isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/ui/input/FisheryRegionUI.jaxx isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/ui/input/InputAction.java Modified: isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/ui/input/FisheryRegionUI.jaxx =================================================================== --- isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/ui/input/FisheryRegionUI.jaxx 2011-04-18 15:46:47 UTC (rev 3266) +++ isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/ui/input/FisheryRegionUI.jaxx 2011-04-18 15:47:11 UTC (rev 3267) @@ -115,13 +115,9 @@ setFieldMapfilesModel(getBean()); } -protected void cellFillChanged() { - -} - -protected void cellFile() { +/*protected void cellFile() { getInputAction().loadCellFile(fieldCellFile.getText()); -} +}*/ protected void check() { getContextValue(InputAction.class).checkFisheryRegion(getBean()); @@ -276,7 +272,7 @@ <JLabel text="isisfish.fisheryRegion.selectFile"/> </cell> </row> - <row> + <!-- <row> <cell columns='3'> <JLabel text="isisfish.fisheryRegion.ofCells"/> </cell> @@ -294,13 +290,13 @@ </row> </Table> </cell> - </row> + </row> --> <row> <cell fill='horizontal' weightx='0.3'> <JButton id='save' decorator='boxed' text="isisfish.common.save" enabled="{validator.isValid() && validator.isChanged()}" - onActionPerformed="save()"/> + onActionPerformed="save();validator.setChanged(false)"/> </cell> <cell fill='horizontal' weightx='0.3'> <JButton id='cancel' decorator='boxed' Modified: isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/ui/input/InputAction.java =================================================================== --- isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/ui/input/InputAction.java 2011-04-18 15:46:47 UTC (rev 3266) +++ isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/ui/input/InputAction.java 2011-04-18 15:47:11 UTC (rev 3267) @@ -877,19 +877,19 @@ } } - /** + /* * Affiche une boite de dialogue demandant a l'utilisateur de rentrer * un nom de fichier, et met ce nom dans la textField. * Passe le saveButton en enabled pour marque que la region a ete modifié * * @param cellFile file of cells - */ + * public void loadCellFile(String cellFile) { if (log.isWarnEnabled()) { log.warn("loadCell called but not implemented"); } // FIXME todo loadCellFile - } + }*/ public void saveFisheryRegion(FisheryRegion fisheryRegion) { if (log.isTraceEnabled()) {
participants (1)
-
chatellier@users.labs.libre-entreprise.org