![]() Instead of the change ID pass the ChangeInfo object to extension panels of the change screen. This makes all change data available to the plugin UI code and the plugin doesn't need to load the change data once more if it is needed. To make this work the ChangeInfo class must be in a package that is both visible to the Gerrit client and the plugins. This is why ChangeInfo and all *Info classes that are imported into ChangeInfo are moved to gerrit-gwtui-common. ChangeInfo also uses classes from: - //lib:gwtjsonrpc - //lib:gwtorm_client - //gerrit-common:client - //gerrit-reviewdb:client This is why these dependencies are added to gerrit-gwtui-common. They are exported by gerrit-plugin-gwtui so that they are available to GWT plugins. Change-Id: I52d6c5cd68e3c05c66a6d68c2cef10a1df54948f Signed-off-by: Edwin Kempin <edwin.kempin@sap.com> |
||
---|---|---|
.. | ||
src | ||
BUCK |