if (newValue == myBlankValue || (myBlankValue != null && myBlankValue.equals(newValue))) { newValue = null; }
  public void selectionChanged(SelectionChangedEvent _event) {    try {      Object newValue = ((IStructuredSelection) _event.getSelection()).getFirstElement();      Object existingValue = new Expression(myObj, MiscUtils.toGetMethod(myPropertyName, false), null).getValue();      if (existingValue != newValue || (newValue != null && !newValue.equals(existingValue))) {        new Statement(myObj, MiscUtils.toSetMethod(myPropertyName), new Object[] { newValue }).execute();      }    }    catch (Exception e) {      e.printStackTrace();    }  }