Sets the sections to the given list of Section objects. The
sections will be used to colorize areas with a special
meaning such as the red area in a rpm gauge.
Sections in the Medusa library
usually are less eye-catching than Areas.

@param SECTIONS
6646
public void setSections(final List<Section> SECTIONS) {
        sections.setAll(SECTIONS);
        Collections.sort(sections, new SectionComparator());
        fireUpdateEvent(SECTION_EVENT);
    }
1036611
public void setTickLabelSections(final List<Section> SECTIONS) {
        tickLabelSections.setAll(SECTIONS);
        Collections.sort(tickLabelSections, new SectionComparator());
        fireUpdateEvent(REDRAW_EVENT);
    }
862093
public void setComponents(java.util.Collection<ResourcePathComponent> components) {
        if (components == null) {
            this.components = null;
            return;
        }

        this.components = new java.util.ArrayList<ResourcePathComponent>(components);
    }
1252246
public void setProjects(java.util.Collection<Project> projects) {
        if (projects == null) {
            this.projects = null;
            return;
        }

        this.projects = new java.util.ArrayList<Project>(projects);
    }
822784
public function setSections(array $sections)
    {
        foreach ($sections as $key => $config) {
            // Watch out for old config data that's not updated yet
            if (!isset($config['sectionUid'])) {
                continue;
            }

            // Ignore sections that don't allow guest submissions
            if ($config['allowGuestSubmissions']) {
                $this->_sections[$config['sectionUid']] = new SectionSettings($config);
            } else {
                unset($this->_sections[$config['sectionUid']]);
            }
        }
    }
162373
public void setItems(java.util.Collection<Stage> items) {
        if (items == null) {
            this.items = null;
            return;
        }

        this.items = new java.util.ArrayList<Stage>(items);
    }
1091825
public void setSegments(java.util.Collection<Segment> segments) {
        if (segments == null) {
            this.segments = null;
            return;
        }

        this.segments = new java.util.ArrayList<Segment>(segments);
    }
500274
public void setCallingRegions(java.util.Collection<String> callingRegions) {
        if (callingRegions == null) {
            this.callingRegions = null;
            return;
        }

        this.callingRegions = new java.util.ArrayList<String>(callingRegions);
    }
608043
public function addSections() {
		foreach ($this->sectionBuffers as $section => $filePaths) {
			$this->add('# '.$section, 1, 1);
			foreach ($filePaths as $filePath => $tests) {
				$this->add('#### '.$filePath, 0, 1);
				foreach ($tests as $test => $lines) {
					$this->add('* '.$test, 0, 1);
					foreach ($lines as $line) {
						$this->add(" * Line {$line[0]}: `".str_replace('`', '\`', $line[1])."`", 0, 1);
					}
				}
				$this->add('', 1, 0);
			}
		}
	}
1343845
public function addSections($sections)
    {
        if (current($sections) instanceof Section) {
            foreach ($sections as $section) {
                $this->addSection($section);
            }
        } else {
            foreach ($sections as $key => $value) {
                $this->addSection($key, $value);
            }
        }
    }
18389
public void setCollections(java.util.Collection<CurrentMetricData> collections) {
        if (collections == null) {
            this.collections = null;
            return;
        }

        this.collections = new java.util.ArrayList<CurrentMetricData>(collections);
    }
705522
public void addTickMarkSection(final Section SECTION) {
        if (null == SECTION) return;
        tickMarkSections.add(SECTION);
        Collections.sort(tickMarkSections, new SectionComparator());
        fireUpdateEvent(REDRAW_EVENT);
    }
47199
public void setSectionsAlwaysVisible(final boolean VISIBLE) {
        if (null == sectionsAlwaysVisible) {
            _sectionsAlwaysVisible = VISIBLE;
            fireTileEvent(REDRAW_EVENT);
        } else {
            sectionsAlwaysVisible.set(VISIBLE);
        }
    }
165654
public void setDefaultSectionHandling( EnumMap<SIT, EnumMap<CIT, Boolean>> sh ){
		sectionHandling.put( SectionType.DEFAULT_SECTION.toString(), sh );
	}
958292
public void setActivities(java.util.Collection<ActivityListItem> activities) {
        if (activities == null) {
            this.activities = null;
            return;
        }

        this.activities = new java.util.ArrayList<ActivityListItem>(activities);
    }
1115216
public void setSectionIconsVisible(final boolean VISIBLE) {
        if (null == sectionIconsVisible) {
            _sectionIconsVisible = VISIBLE;
            fireTileEvent(REDRAW_EVENT);
        } else {
            sectionIconsVisible.set(VISIBLE);
        }
    }
254155
public void setItems(java.util.Collection<UsagePlan> items) {
        if (items == null) {
            this.items = null;
            return;
        }

        this.items = new java.util.ArrayList<UsagePlan>(items);
    }