code: @Override
  	public void setSelected(boolean selected) {
  		if (selected) {
  			((ToolbarModalAction) toolbarAction).onSelect(null);
  		} else {
  			((ToolbarModalAction) toolbarAction).onDeselect(null);
  		}
  	}
docs: ------------------------------------------------------------------------