public void onPanelTransition(PanelTransitionEvent event){
if( event.getTransitionType() == PanelTransitionEvent.TransitionTypes.NEXT ){
currentPanelIndex++;
Widget panel = event.getPanel();
deployerDeckPanel.showWidget(currentPanelIndex);
eventBus.fireEvent(new BreadCrumbEvent(BreadCrumbEvent.Action.SET_ACTIVE, deployerDeckPanel.getWidget(deployerDeckPanel.getVisibleWidget()).getTitle()));
setFocus(panel);
} else if( event.getTransitionType() == PanelTransitionEvent.TransitionTypes.PREVIOUS ){
currentPanelIndex--;
deployerDeckPanel.showWidget(currentPanelIndex);
eventBus.fireEvent(new BreadCrumbEvent(BreadCrumbEvent.Action.SET_ACTIVE, deployerDeckPanel.getWidget(deployerDeckPanel.getVisibleWidget()).getTitle()));
}
if( event.getTransitionType() == PanelTransitionEvent.TransitionTypes.DEPLOY ){
reset();
}
}});