Author: tchemit Date: 2008-01-22 01:00:28 +0000 (Tue, 22 Jan 2008) New Revision: 186 Added: trunk/jaxx/src/main/java/jaxx/runtime/builder/TabModel.java Modified: trunk/jaxx/src/main/java/jaxx/runtime/builder/TabContentConfig.java Log: introduction model pour Tab Modified: trunk/jaxx/src/main/java/jaxx/runtime/builder/TabContentConfig.java =================================================================== --- trunk/jaxx/src/main/java/jaxx/runtime/builder/TabContentConfig.java 2008-01-21 22:33:24 UTC (rev 185) +++ trunk/jaxx/src/main/java/jaxx/runtime/builder/TabContentConfig.java 2008-01-22 01:00:28 UTC (rev 186) @@ -37,6 +37,8 @@ public @interface TabContentConfig { + Class<? extends TabModel> model(); + Class<? extends JAXXObject> impl(); Class<? extends JTabbedPane> parentImpl(); Added: trunk/jaxx/src/main/java/jaxx/runtime/builder/TabModel.java =================================================================== --- trunk/jaxx/src/main/java/jaxx/runtime/builder/TabModel.java (rev 0) +++ trunk/jaxx/src/main/java/jaxx/runtime/builder/TabModel.java 2008-01-22 01:00:28 UTC (rev 186) @@ -0,0 +1,37 @@ +/* +* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin, +* Tony Chemit +* +* 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. +* ##% */ +package jaxx.runtime.builder; + +/** @author chemit */ +public class TabModel { + + protected String name; + + public TabModel(String name) { + this.name = name; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +}
participants (1)
-
tchemit@users.labs.libre-entreprise.org