code: public void setElementDeleteMode(String deleteMode) {
  
          try {
              m_elementDeleteMode = ElementDeleteMode.valueOf(deleteMode);
          } catch (Throwable t) {
              m_elementDeleteMode = ElementDeleteMode.askDelete;
          }
      }
docs: Sets the element delete mode.<p>
  
  @param deleteMode the element delete mode