Display main layout group titles in the DetailsView.
authorBen Konrath <ben@bagu.org>
Thu, 2 Jun 2011 12:47:07 +0000 (14:47 +0200)
committerBen Konrath <ben@bagu.org>
Thu, 2 Jun 2011 12:47:07 +0000 (14:47 +0200)
commit0ee6c6929b0c79c01187bf141414df5ac551c1a8
tree1ded6451ca9782820ffd84305b080b65ed4733b0
parentc0ab2476547d3f8094cd812c95c62ecd9460eb48
Display main layout group titles in the DetailsView.

This is the start of the DetailsActivity/DetailsView implementation.

* src/main/java/org/glom/web/client/OnlineGlomService.java:
* src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java:
Add getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup() methods.
* src/main/java/org/glom/web/client/activity/DetailsActivity.java:
Get the layout information for the details view from the server and set
the main layout group titles.
* src/main/java/org/glom/web/client/ui/DetailsView.java:
* src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
Add addLayoutGroup() and addLayoutField() methods. This are just
temporary methods for creating the the details view that will change
in the future.
* src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java:
Implement getDetailsLayoutGroup() and getDefaultDetailsLayoutGroup()
methods.
* src/main/java/org/glom/web/shared/layout/Formatting.java:
* src/main/java/org/glom/web/shared/layout/LayoutGroup.java:
* src/main/java/org/glom/web/shared/layout/LayoutItem.java:
* src/main/java/org/glom/web/shared/layout/LayoutItemField.java:
* src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java:
Data Transfer Objects that mimic the libglom object structure. These are
used for transferring the details layout but could also be used for
transferring the list layout.
12 files changed:
ChangeLog
src/main/java/org/glom/web/client/OnlineGlomService.java
src/main/java/org/glom/web/client/OnlineGlomServiceAsync.java
src/main/java/org/glom/web/client/activity/DetailsActivity.java
src/main/java/org/glom/web/client/ui/DetailsView.java
src/main/java/org/glom/web/client/ui/DetailsViewImpl.java
src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java
src/main/java/org/glom/web/shared/layout/Formatting.java [new file with mode: 0644]
src/main/java/org/glom/web/shared/layout/LayoutGroup.java [new file with mode: 0644]
src/main/java/org/glom/web/shared/layout/LayoutItem.java [new file with mode: 0644]
src/main/java/org/glom/web/shared/layout/LayoutItemField.java [new file with mode: 0644]
src/main/java/org/glom/web/shared/layout/LayoutItemWithFormatting.java [new file with mode: 0644]