Use the new ChangeDetailCache in PatchSetDisclosurePanel
Use the ChangeDetailCache to propagate updates from a
PatchSetDisclosurePanel to the ChangeScreen. This
decouples a PatchSetDisclosurePanel and PatchSetsBlock from
having any knowledge of a ChangeScreen, making them
embeddable in other components now.
Since it is no longer needed, eliminate the
update(ChangeDetail) method on ChangeScreen, instead the
ChangeDetail should be directly updated in the
ChangeDetailCache. This will provide the additional
benefit of updating any other potential listeners to that
cache.
Change-Id: Iaa49770f6183a4847b4ec9f826f5223aec49be94
3 files changed