public void setDisabled ( boolean disabled ) { this . disabled = disabled ; if ( disabled ) { handlerManager . fireEvent ( new ToolbarActionDisabledEvent ( ) ) ; } else { handlerManager . fireEvent ( new ToolbarActionEnabledEvent ( ) ) ; } }
Is the button for this action disabled or not?