src/main/java/de/blau/android/presets/PresetGroup.java
/**
     * Add a PresetElement to this group
     * 
     * @param element the PresetElement to add
     * @param setParent if true set the elements parent to this
     */
Add a PresetElement to this group

@param element the PresetElement to add
@param setParent if true set the elements parent to this
Add a PresetElement to this group @param element the PresetElement to add @param setParent if true set the elements parent to this
public void addElement(@NonNull PresetElement element, boolean setParent) {
        elements.add(element);
        if (setParent) {
            element.setParent(this);
        }
    }
public void addElement ( @ NonNull PresetElement element , boolean setParent ) { elements . add ( element ) ; if ( setParent ) { element . setParent ( this ) ; } }
Add a PresetElement to this group
Add a PresetElement to this group