Index: topia/src/java/org/codelutin/topia/generators/ui/ObjectModelToEntityUIModel.java diff -u topia/src/java/org/codelutin/topia/generators/ui/ObjectModelToEntityUIModel.java:1.10 topia/src/java/org/codelutin/topia/generators/ui/ObjectModelToEntityUIModel.java:1.11 --- topia/src/java/org/codelutin/topia/generators/ui/ObjectModelToEntityUIModel.java:1.10 Mon Jun 14 16:02:32 2004 +++ topia/src/java/org/codelutin/topia/generators/ui/ObjectModelToEntityUIModel.java Tue Jun 15 15:02:32 2004 @@ -23,9 +23,9 @@ * * @author Benjamin Poussin * Copyright Code Lutin - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ * - * Mise a jour: $Date: 2004/06/14 16:02:32 $ + * Mise a jour: $Date: 2004/06/15 15:02:32 $ * par : $Author: mazelier $ */ @@ -69,20 +69,7 @@ - - - - - 2 - - - - - <%= clazz.getAttributes().size()%> - - - - + @@ -92,14 +79,52 @@ + + + + + + <%=clazz.getName()+"Label"%> + + + + + <%=Util.toUpperCaseFirstLetter(clazz.getName())%> + + + + + + + + 0 + 0 + 2 + 1 + 0.0 + 0.0 + 10 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + + }*/ - int counterArguments =0; + int counterArguments = 1; for(Iterator i=clazz.getAttributes().iterator(); i.hasNext();) { ObjectModelAttribute att = (ObjectModelAttribute)i.next(); - if("public".equals(att.getVisibility())) { - /*{ @@ -154,7 +179,7 @@ generateDefaultEditor(output, att, counterArguments); } counterArguments++; - } + } /*{ @@ -249,10 +274,10 @@ }*/ + } } - public void generateDefaultEditor(Writer output, ObjectModelAttribute att, int counterArguments) throws IOException { /*{ @@ -260,6 +285,11 @@ + + + 6 + + <%=att.getName()+"Editor"%> @@ -399,6 +429,11 @@ + + + 1 + + <%=att.getName()+"Editor"%>