Reviewers: jlabanca,

Message:
John, can you take this?

Description:
Deprecates DisclosurePanels' use of ImageBundle, and bases it on
ImageResource instead. This is done in part with an eye to making it
easier use in ui.xml files.

Extracts DisclosurePanelHeader into its own class, and introduces the
OpensAndCloses characteristic interface.

This allows a disclosure panel to be laid out separately from the widget
that shows and hides it, a use case I've run into in previous projects,
and which GWT hadn't supported.

Various convenience constructors are deprecated, specifically the ones
that take Widgets. The DisclosurePanelHeader widget requires that the
panel it drives be a constructor argument of its own, making it
impossible to use with the deprecated constructors. That seemed a sign
that they weren't terribly useful, more noise than benefit.

Please review this at http://gwt-code-reviews.appspot.com/78814

Affected files:
   M user/src/com/google/gwt/user/client/ui/DisclosurePanel.java
   A user/src/com/google/gwt/user/client/ui/DisclosurePanelHeader.java
   M user/src/com/google/gwt/user/client/ui/DisclosurePanelImages.java
   M user/src/com/google/gwt/user/client/ui/DisclosurePanelImagesRTL.java
   A user/src/com/google/gwt/user/client/ui/OpensAndCloses.java



--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to