code: public static void init(Progression model, int value, int min, int max, boolean isAdjusting, boolean isInderterminate) {
  		if (model != null) {
  			model.setProperties(value, min, max, isAdjusting);
  			model.setIndeterminate(isInderterminate);
  		}
  	}
docs: Initialize the given task progression if not <code>null</code>.
  
  @param model is the task progression to initialize.
  @param value is the progression value.
  @param min is the minimum value.
  @param max is the maximum value.
  @param isAdjusting indicates if the value is still under changes.
  @param isInderterminate indicates if the progression value is inderterminate or not.