online-glom:gwt-glom.git
11 years agoUse generated Util class to get the RPC Async interface.
Ben Konrath [Fri, 28 Jan 2011 11:36:23 +0000 (12:36 +0100)]
Use generated Util class to get the RPC Async interface.

* .settings/com.google.gwt.eclipse.core.prefs: Update generated Eclipse config
file.
* src/main/java/org/glom/web/client/LayoutListDataProvider.java: Use generated
getInstance() method to get a reference to the RPC Async interface.
* src/main/java/org/glom/web/client/OnlineGlom.java: Use generated
getInstance() method to get a reference to the RPC Async interface, remove
the now unused getLibGlomServiceProxy() method.

11 years agoCleanup ChangeLog entry from previous commit.
Ben Konrath [Thu, 27 Jan 2011 21:24:38 +0000 (22:24 +0100)]
Cleanup ChangeLog entry from previous commit.

* ChangeLog: Group logical changes together and add comments.

11 years agoConvert to gwt-maven project.
Ben Konrath [Tue, 25 Jan 2011 18:44:47 +0000 (19:44 +0100)]
Convert to gwt-maven project.

* .classpath:
* .gitignore:
* .project:
* .settings/.jsdtscope:
* .settings/com.google.gdt.eclipse.core.prefs:
* .settings/com.google.gwt.eclipse.core.prefs:
* .settings/org.eclipse.jdt.core.prefs:
* .settings/org.eclipse.wst.common.component:
* .settings/org.eclipse.wst.common.project.facet.core.xml:
* .settings/org.eclipse.wst.jsdt.ui.superType.container:
* .settings/org.maven.ide.eclipse.prefs:
* OnlineGlomTest-dev.launch:
* OnlineGlomTest-prod.launch:
* README:
* pom.xml:
* src/main/java/org/glom/web/client/GlomDocument.java:
* src/main/java/org/glom/web/client/GlomTable.java:
* src/main/java/org/glom/web/client/LayoutList.java:
* src/main/java/org/glom/web/client/LayoutListDataProvider.java:
* src/main/java/org/glom/web/client/LibGlomService.java:
* src/main/java/org/glom/web/client/OnlineGlom.java:
* src/main/java/org/glom/web/server/LibGlomServiceImpl.java:
* src/main/resources/org/glom/web/OnlineGlom.gwt.xml:
* src/main/resources/org/glom/web/client/Messages.properties:
* src/main/webapp/OnlineGlom.css:
* src/main/webapp/OnlineGlom.html:
* src/main/webapp/WEB-INF/web.xml:
* src/test/java/org/glom/web/tests/GwtTestOnlineGlom.java:
* src/test/resources/org/glom/web/OnlineGlomJUnit.gwt.xml:

11 years agoRemove unused println.
Ben Konrath [Tue, 25 Jan 2011 10:59:03 +0000 (11:59 +0100)]
Remove unused println.

* src/org/glom/web/server/LibGlomServiceImpl.java:

11 years agoAdd project specific JDT settings.
Ben Konrath [Tue, 25 Jan 2011 09:18:14 +0000 (10:18 +0100)]
Add project specific JDT settings.

* .settings/org.eclipse.jdt.core.prefs: Generated by Eclipse.
* .settings/org.eclipse.jdt.ui.prefs: Generated by Eclipse.

11 years agoPopulate celltable with example data.
Ben Konrath [Tue, 25 Jan 2011 09:15:45 +0000 (10:15 +0100)]
Populate celltable with example data.

* src/org/glom/web/client/GlomDocument.java: Correct formatting.
* src/org/glom/web/client/GlomTable.java: Correct formatting.
* src/org/glom/web/client/LayoutList.java: Renamed from ListLayoutTable.java,
add LayoutListDataProvider to CellTable, add simpler pager (not working yet).
* src/org/glom/web/client/LayoutListDataProvider.java: New file,
asynchronously gets the example data.
* src/org/glom/web/client/LibGlomService.java: Add getTableData() method.
* src/org/glom/web/client/LibGlomServiceAsync.java: Add getTableData() method.
* src/org/glom/web/client/OnlineGlom.java: Allow service proxy object and
curently selected table to be retrieved by other widgets.
* src/org/glom/web/server/LibGlomServiceImpl.java: Correct formatting,
implement getTableData() in a hacky way. This method needs to be updated
to grab information from the database when database creating is
implemented.

11 years ago Set table headers when table dropBox changes.
Ben Konrath [Thu, 20 Jan 2011 11:12:58 +0000 (12:12 +0100)]
 Set table headers when table dropBox changes.

 * src/org/glom/web/client/GlomDocument.java: Correct some method
 names.
 * src/org/glom/web/client/LibGlomService.java: Add method
 to get list layout field names.
 * src/org/glom/web/client/LibGlomServiceAsync.java: Add method
 to get list layout field names.
 * src/org/glom/web/client/ListLayoutTable.java: New file - composite
 widget for list layout table.
 * src/org/glom/web/client/OnlineGlom.java: Add a change handler for
 the table drop box and add new updateTable() method to asynchronously
 get the layout list field names for the currently selected table.
 * src/org/glom/web/server/LibGlomServiceImpl.java: Add server side
 implementation of getLayoutListHeaders() method.
 * war/OnlineGlom.html: Remove GlomWebApp div tag as it is not required.

11 years agoMake a listBox with table titles instead of the flexTable demo.
Ben Konrath [Tue, 18 Jan 2011 13:12:19 +0000 (14:12 +0100)]
Make a listBox with table titles instead of the flexTable demo.

This is the start of something more useful.

* .classpath: Exclude a bunch of packages from the JVM that are
getting in the way of the Eclipse content assist.
* src/org/glom/web/client/GlomDocument.java:
* src/org/glom/web/client/GlomTable.java:
* src/org/glom/web/client/LibGlomService.java:
* src/org/glom/web/client/LibGlomServiceAsync.java:
* src/org/glom/web/client/OnlineGlom.java:
* src/org/glom/web/server/LibGlomServiceImpl.java:
* war/OnlineGlom.html:
* war/WEB-INF/web.xml:

11 years agoUpdate to new java-libglom API.
Ben Konrath [Thu, 13 Jan 2011 13:47:34 +0000 (14:47 +0100)]
Update to new java-libglom API.

* .gitignore: Ignore OnlineGlom.war.
* src/org/glom/web/server/TableNamesServiceImpl.java: Update to new java-libglom API.

11 years agoAdd some basic style to the table listing.
Ben Konrath [Mon, 20 Dec 2010 13:58:51 +0000 (14:58 +0100)]
Add some basic style to the table listing.

* src/org/glom/web/client/OnlineGlom.java: Add style to the table
header, print useful error message on async callback failure.
* war/OnlineGlom.css: Add style for table header, remove defaults
provided by the Eclipse project wizard.

11 years agoLoad example file from installed glom dir.
Ben Konrath [Mon, 20 Dec 2010 13:54:00 +0000 (14:54 +0100)]
Load example file from installed glom dir.

* src/org/glom/web/server/TableNamesServiceImpl.java: Use the Java API
provided by java-libglom to find the example file.

11 years agoUpdate Eclipse settings.
Ben Konrath [Mon, 20 Dec 2010 13:50:54 +0000 (14:50 +0100)]
Update Eclipse settings.

* .classpath:
* .settings/com.google.gdt.eclipse.core.prefs:
* .settings/com.google.gwt.eclipse.core.prefs:

11 years agoInitial commit.
Ben Konrath [Fri, 17 Dec 2010 07:32:27 +0000 (08:32 +0100)]
Initial commit.

* .classpath: New file.
* .gitignore: New file.
* .project: New file.
* .settings/com.google.gdt.eclipse.core.prefs: New file.
* .settings/com.google.gwt.eclipse.core.prefs: New file.
* src/org/glom/web/OnlineGlom.gwt.xml: New file.
* src/org/glom/web/client/GlomTable.java: New file.
* src/org/glom/web/client/OnlineGlom.java: New file.
* src/org/glom/web/client/TableNameService.java: New file.
* src/org/glom/web/client/TableNameServiceAsync.java: New file.
* src/org/glom/web/server/TableNamesServiceImpl.java: New file.
* war/OnlineGlom.css: New file.
* war/OnlineGlom.html: New file.
* war/WEB-INF/web.xml: New file.
* war/images/glom.png: New file.