Add support sub-group in the details view.
authorBen Konrath <ben@bagu.org>
Wed, 13 Jul 2011 12:46:46 +0000 (14:46 +0200)
committerBen Konrath <ben@bagu.org>
Wed, 13 Jul 2011 12:46:46 +0000 (14:46 +0200)
commit8ee47d2ca0c35453851a87cf6bc593e80510e0e2
tree00324a2df55f793ef027f7748c680ce69cbbeccf
parent7b598b96105111ff22b8fc200ae95b8612216bea
Add support sub-group in the details view.

I also removed the code that special-cased the default details view
layout. See:

http://mail.gnome.org/archives/glom-devel-list/2011-July/msg00005.html

I still have to make a proper flowtable.

* src/main/java/org/glom/web/client/activity/DetailsActivity.java:
Don't special-case default details view layout.
* src/main/java/org/glom/web/client/ui/DetailsView.java: Remove
addLayoutField() as I'm going to use it.
* src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Extract
GroupPanel to FlowTable class. Remove unimplemented addLayoutField()
method.
* src/main/java/org/glom/web/client/ui/FlowTable.java: New class
extracted from DetailsViewImpl.GroupPanel. Add support for
sub-groups.
* src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java: Set
column count when getting the details layout.
ChangeLog
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/client/ui/FlowTable.java [new file with mode: 0644]
src/main/java/org/glom/web/server/OnlineGlomServiceImpl.java