Create Notebook widgets to the details view.
authorBen Konrath <ben@bagu.org>
Mon, 24 Oct 2011 09:06:12 +0000 (11:06 +0200)
committerBen Konrath <ben@bagu.org>
Mon, 24 Oct 2011 09:06:12 +0000 (11:06 +0200)
commit4e04344c4fdf24e40e4cd6d78182fe6f234aed4a
tree0e313318744add3bae9f9112b98311278eaa0d16
parentb8a0f3000a03cae9f9a6e1fd888a9a6ea510fdcb
Create Notebook widgets to the details view.

This isn't finished just yet - I still need to create a reasonable
style to match the current theme.

* src/main/java/org/glom/web/client/Utils.java: Add method for
calculating the height of a widget. This is used in the Notebook class.
* src/main/java/org/glom/web/client/ui/DetailsViewImpl.java: Update for
new constructor method in Group.
* src/main/java/org/glom/web/client/ui/details/Group.java: Add new
method for creating child widget that can be used by subclasses
like Notebook. New constructor that allows disabling the group
titles - Notebooks don't set a group title for their child groups.
* src/main/java/org/glom/web/client/ui/details/Notebook.java: New class
to make Notebooks using GWT's TabLayoutPanel.
* src/main/java/org/glom/web/client/ui/details/Portal.java: New
constructor that allows disabling the group titles.
* src/main/java/org/glom/web/server/ConfiguredDocument.java: Create the
LayoutItemNotebook DTO.
* src/main/java/org/glom/web/shared/layout/LayoutItemNotebook.java: New
DTO for Notebooks. It's just an empty class for now but we might need
it to transfer some specific information in the future.
ChangeLog
src/main/java/org/glom/web/client/Utils.java
src/main/java/org/glom/web/client/ui/DetailsViewImpl.java
src/main/java/org/glom/web/client/ui/details/Group.java
src/main/java/org/glom/web/client/ui/details/Notebook.java [new file with mode: 0644]
src/main/java/org/glom/web/client/ui/details/Portal.java
src/main/java/org/glom/web/server/ConfiguredDocument.java
src/main/java/org/glom/web/shared/layout/LayoutItemNotebook.java [new file with mode: 0644]