Author: chatellier Date: 2009-06-02 14:14:55 +0000 (Tue, 02 Jun 2009) New Revision: 2305 Modified: isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/input/InputContentUI.jaxx Log: Make refresh method abstract and add missing comment ... AGAIN !!! Modified: isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/input/InputContentUI.jaxx =================================================================== --- isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/input/InputContentUI.jaxx 2009-06-02 14:00:23 UTC (rev 2304) +++ isis-fish/trunk/src/main/java/fr/ifremer/isisfish/ui/input/InputContentUI.jaxx 2009-06-02 14:14:55 UTC (rev 2305) @@ -1,3 +1,22 @@ +<!-- +/* *##% + * Copyright (C) 2005 - 2009 Ifremer, Code Lutin + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + *##%*/ +--> <JPanel layout='{new BorderLayout()}' abstract="true"> <!-- ui state when editing --> @@ -2,3 +21,3 @@ <Boolean id='actif' javaBean='false'/> - + <!-- TODO : rename bean to sensitivity ! --> <Boolean id='sens' javaBean='false'/> @@ -42,11 +61,17 @@ import fr.ifremer.isisfish.ui.sensitivity.FactorWizardUI; import fr.ifremer.isisfish.ui.sensitivity.EditorHelper; -// TODO comment this empty method !!! -public void refresh() { +/** + * This method is UI entry point. + * + * It's called : + * - by input tree to first display UI + * - by input verifier on cancel action + * + * 20090602 chatellier : make abstract, must be implemented ! + */ +public abstract void refresh(); -} - public InputAction getAction() { return getContextValue(InputAction.class); }