@Override
  public void setProperties() {

    ComponentPropertiesDocument properties = (ComponentPropertiesDocument) getProperties();

    if (properties == null) return;

    properties.setPlainStepsVisualizationUsed(getXFormsManager().getIsStepsVisualizationUsed(this));
    properties.setPlainSubmissionAction(getXFormsManager().getSubmissionAction(this));
  }
  @Override
  public PropertiesDocument getProperties() {

    if (properties == null) {
      ComponentPropertiesDocument properties = new ComponentPropertiesDocument();
      properties.setComponent(this);
      this.properties = properties;
    }

    return properties;
  }