/**
* Attaches this presenter to the specified event handler.
* @param eventHandler The event handler.
*/
public void bind(HasEventHandlerManagement eventHandler) {
eventHandler.addProjectEventHandler(MetricsChangedEvent.getType(), new MetricsChangedHandler() {
@Override
public void handleMetricsChanged(MetricsChangedEvent event) {
processMetricsChangedEvent(event);
}
});