private void processCommonFilterStatus ( final TargetUpdateStatus status , final boolean buttonPressed ) { if ( buttonPressed ) { buttonClicked . addStyleName ( BTN_CLICKED ) ; managementUIState . getTargetTableFilters ( ) . getClickedStatusTargetTags ( ) . add ( status ) ; eventBus . publish ( this , TargetFilterEvent . FILTER_BY_STATUS ) ; } else { buttonClicked . removeStyleName ( BTN_CLICKED ) ; managementUIState . getTargetTableFilters ( ) . getClickedStatusTargetTags ( ) . remove ( status ) ; eventBus . publish ( this , TargetFilterEvent . REMOVE_FILTER_BY_STATUS ) ; } }
Process - COMMON PROCESS .