Expose RevisionInfo to panel extension points

Currently there is no way for panel extension points to retrieve the
revision information. This is needed to call the plugin specific
RevisionResource endpoints. For example, verify-status plugin needs
this to retrieve verification info for the patch set that is currently
displayed on the change screen.

Change-Id: Ifd1f1636684054a9cf188a10d50dd4af6ee77976
This commit is contained in:
David Ostrovsky
2016-03-15 17:05:41 +01:00
committed by Hugo Arès
parent 2c71febfee
commit 916ae0c982
3 changed files with 12 additions and 9 deletions

View File

@@ -34,6 +34,6 @@ public enum GerritUiExtensionPoint {
PROJECT_INFO_SCREEN_TOP, PROJECT_INFO_SCREEN_BOTTOM;
public enum Key {
ACCOUNT_INFO, CHANGE_INFO, PROJECT_NAME
ACCOUNT_INFO, CHANGE_INFO, PROJECT_NAME, REVISION_INFO
}
}