Enable the "Details" buttons.
authorBen Konrath <ben@bagu.org>
Wed, 18 May 2011 10:45:48 +0000 (12:45 +0200)
committerBen Konrath <ben@bagu.org>
Wed, 18 May 2011 10:45:48 +0000 (12:45 +0200)
commitcc7c5e28ec44476e36296678a2809fa25514a864
treef9f72b6f81c817bf5c171fa3ed9addd68105e20f
parent8c56e90cdd33bce7d0a0a185ccee14c729c41aad
Enable the "Details" buttons.

Right now only an empty details view is displayed.

* src/main/java/org/glom/web/client/ClientFactory.java:
* src/main/java/org/glom/web/client/ClientFactoryImpl.java:
Add DetailsView to ClientFactory.
* src/main/java/org/glom/web/client/activity/DetailsActivity.java:
A basic activity for the details view.
* src/main/java/org/glom/web/client/activity/TableSelectionActivity.java:
Add a new constructor that takes a DetailsPlace. Rename shutdown() to
clearView().
* src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java:
Add DetailsPlace.Tokenizer to the list of tokens that are generated by
GWT.
* src/main/java/org/glom/web/client/mvp/DataActivityMapper.java:
Create a new DetailsActivity when a DetailsPlace is requested. Remove
unnecessary super() in constructor.
* src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java:
Create a new TableSelectionActivity when a DetailsPlace is requested. We
really shouldn't create a new TableSelectionActivity for both the ListPlace
and the DetailsPlace so this should be considered a temporary solution.
* src/main/java/org/glom/web/client/place/DetailsPlace.java:
New file. Represents a URL for the details view.
* src/main/java/org/glom/web/client/ui/DetailsView.java:
* src/main/java/org/glom/web/client/ui/DetailsViewImpl.java:
A basic details view interface and implementation.
* src/main/java/org/glom/web/client/ui/ListViewImpl.java:
Enable the "Details" buttons.
12 files changed:
ChangeLog
src/main/java/org/glom/web/client/ClientFactory.java
src/main/java/org/glom/web/client/ClientFactoryImpl.java
src/main/java/org/glom/web/client/activity/DetailsActivity.java [new file with mode: 0644]
src/main/java/org/glom/web/client/activity/TableSelectionActivity.java
src/main/java/org/glom/web/client/mvp/AppPlaceHistoryMapper.java
src/main/java/org/glom/web/client/mvp/DataActivityMapper.java
src/main/java/org/glom/web/client/mvp/TableSelectionActivityMapper.java
src/main/java/org/glom/web/client/place/DetailsPlace.java [new file with mode: 0644]
src/main/java/org/glom/web/client/ui/DetailsView.java [new file with mode: 0644]
src/main/java/org/glom/web/client/ui/DetailsViewImpl.java [new file with mode: 0644]
src/main/java/org/glom/web/client/ui/ListViewImpl.java