From hibernate-commits at lists.jboss.org Thu Nov 2 14:12:42 2006 Content-Type: multipart/mixed; boundary="===============4154517579714464192==" MIME-Version: 1.0 From: hibernate-commits at lists.jboss.org To: hibernate-commits at lists.jboss.org Subject: [hibernate-commits] Hibernate SVN: r10692 - in branches/Branch_3_2/HibernateExt/tools/src: java/org/hibernate/tool/hbm2x templates/doc/tables Date: Thu, 02 Nov 2006 14:12:41 -0500 Message-ID: --===============4154517579714464192== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: max.andersen(a)jboss.com Date: 2006-11-02 14:12:37 -0500 (Thu, 02 Nov 2006) New Revision: 10692 Modified: branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x= /DocExporter.java branches/Branch_3_2/HibernateExt/tools/src/templates/doc/tables/schema-s= ummary.ftl branches/Branch_3_2/HibernateExt/tools/src/templates/doc/tables/summary.= ftl Log: HBX-806 Improve usability of table pages Modified: branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/too= l/hbm2x/DocExporter.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/tool/hbm2= x/DocExporter.java 2006-11-02 18:59:45 UTC (rev 10691) +++ branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/tool/hbm2= x/DocExporter.java 2006-11-02 19:12:37 UTC (rev 10692) @@ -105,6 +105,11 @@ private static final String FTL_TABLES_TABLE_LIST =3D "doc/tables/tabl= e-list.ftl"; = /** + * Template used for table lists for a specific schema. + */ + private static final String FTL_TABLES_PERSCHEMA_TABLE_LIST =3D "doc/t= ables/schema-table-list.ftl"; + + /** * Template used for schema lists. */ private static final String FTL_TABLES_SCHEMA_LIST =3D "doc/tables/sch= ema-list.ftl"; @@ -568,7 +573,7 @@ parameters.put("title", schemaName); parameters.put("tableList", docHelper.getTables(schemaName) ); = - processTemplate(parameters, FTL_TABLES_TABLE_LIST, file); + processTemplate(parameters, FTL_TABLES_PERSCHEMA_TABLE_LIST, f= ile); } } = Modified: branches/Branch_3_2/HibernateExt/tools/src/templates/doc/tables/s= chema-summary.ftl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/Branch_3_2/HibernateExt/tools/src/templates/doc/tables/schema-= summary.ftl 2006-11-02 18:59:45 UTC (rev 10691) +++ branches/Branch_3_2/HibernateExt/tools/src/templates/doc/tables/schema-= summary.ftl 2006-11-02 19:12:37 UTC (rev 10692) @@ -12,7 +12,7 @@ - @@ -25,44 +25,6 @@ ${table.name} - Modified: branches/Branch_3_2/HibernateExt/tools/src/templates/doc/tables/s= ummary.ftl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/Branch_3_2/HibernateExt/tools/src/templates/doc/tables/summary= .ftl 2006-11-02 18:59:45 UTC (rev 10691) +++ branches/Branch_3_2/HibernateExt/tools/src/templates/doc/tables/summary= .ftl 2006-11-02 19:12:37 UTC (rev 10692) @@ -18,68 +18,26 @@

= - <#foreach schema in dochelper.tablesBySchema.keySet()> -
+ Tables
- - - - - - - - - - - <#foreach column in table.columnIterator> - - - - - - - - -
- Name - - SQL Type - - Nullable - - Unique -
- ${column.name} - - ${dochelper.getSQLTypeName(column)} - - ${column.nullable?string} - - ${column.unique?string} -
-
- +
+ + + + + + + <#foreach schema in dochelper.tablesBySchema.keySet()> - + - - - <#foreach table in dochelper.getTables(schema)> - - - - - - -
+ Schemas +
- ${schema} - + + ${schema} + +
- - ${table.name} - - - - - - - - - - - - - <#foreach column in table.columnIterator> - - - - - - - - -
- Name - - SQL Type - - Nullable - - Unique -
- - ${column.name} - - - ${dochelper.getSQLTypeName(column)} - - ${column.nullable?string} - - ${column.unique?string} -
-
- + + + = --===============4154517579714464192==--