public void remove(ConstraintWidget widget){
  Element toUnselect=null;
  for (  Element selection : mSelectedWidgets) {
    if (selection.widget == widget) {
      toUnselect=selection;
      break;
    }
  }
  if (toUnselect != null) {
    mSelectedWidgets.remove(toUnselect);
  }
  selectionHasChanged();
}

public void remove ( ConstraintWidget widget ) { Element toUnselect = null ; for ( Element selection : mSelectedWidgets ) { if ( selection . widget == widget ) { toUnselect = selection ; break ; } } if ( toUnselect != null ) { mSelectedWidgets . remove ( toUnselect ) ; } selectionHasChanged ( ) ; }
remove the widget from the current selection
