Removes all swatch groups.
3705
function removeAllSwatchGroups() {
  for (var i = 0; i < doc.swatchGroups.length; i++) {
    doc.swatchGroups[i].remove();
  }
}
869722
public static void removeGroupColumns(List<String> selectColumns, List<String> groups) {		
		List<String> removedGroups = new ArrayList<String>();	
		for (String group : groups) {			
			if (!containsColumnByAlias(selectColumns, group)) {
				removedGroups.add(group);
			}
		}		
		groups.removeAll(removedGroups);		
	}
1063875
public void removeAllBusHalts() {

		for (final BusItineraryHalt bushalt : this.invalidHalts) {
			bushalt.setContainer(null);
			bushalt.setRoadSegmentIndex(-1);
			bushalt.setPositionOnSegment(Float.NaN);
			bushalt.checkPrimitiveValidity();
		}

		final BusItineraryHalt[] halts = new BusItineraryHalt[this.validHalts.size()];
		this.validHalts.toArray(halts);
		this.validHalts.clear();
		this.invalidHalts.clear();

		for (final BusItineraryHalt bushalt : halts) {
			bushalt.setContainer(null);
			bushalt.setRoadSegmentIndex(-1);
			bushalt.setPositionOnSegment(Float.NaN);
			bushalt.checkPrimitiveValidity();
		}

		fireShapeChanged(new BusChangeEvent(this,
				BusChangeEventType.ALL_ITINERARY_HALTS_REMOVED,
				null,
				-1,
				"shape", //$NON-NLS-1$
				null,
				null));
		checkPrimitiveValidity();
	}
1199010
def clearHighlighting(self):
        
        SCI = self.qteWidget
        self.qteWidget.SCISetStylingEx(0, 0, self.styleOrig)

        # Clear out the match set and reset the match index.
        self.selMatchIdx = 1
        self.matchList = []
787420
public void removeGroup(String group) {
        if (worldGroupExist(group)) {
            Common.getInstance().getStorageHandler().getStorageEngine().removeWorldGroup(group);
            list.remove(group);
        }
    }
644169
private void cleanup() {
		if (zoomToRectangleGroup != null) {
			container.remove(zoomToRectangleGroup);
			zoomToRectangleGroup = null;
		}
		if (escapeHandler != null) {
			escapeHandler.removeHandler();
			escapeHandler = null;
		}
		mapPresenter.getContainerManager().removeVectorContainer(container);
	}
917300
public void removeGroup(int removed) {
        List<L> cards = getGroups();
        if (removed >= 0 && removed < cards.size()) {
            boolean changed = cards.remove(removed) != null;
            if (changed) {
                setData(cards);
            }
        }
    }
1104015
def remove_all(self):
        """"""
        names = sorted(self._actions_dict.keys())
        for name in names:
            self.remove(name)
809647
def remove_all(*classes)
      classes.flatten!
      if classes.empty?
        @deletes += 1
        indexer.remove_all
      else
        @deletes += classes.length
        classes.each { |clazz| indexer.remove_all(clazz) }
      end
    end
1061908
function() {
    var elColgroup = this._elColgroup;
    if(elColgroup) {
        var elTable = elColgroup.parentNode;
        Ev.purgeElement(elColgroup, true);
        elTable.removeChild(elColgroup);
        this._elColgroup = null;
    }
}
1227268
def clear(self):
        
        self._decorations[:] = []
        try:
            self.editor.setExtraSelections(self._decorations)
        except RuntimeError:
            pass
275650
def clear(self, actors=()):
        """"""
        if not utils.isSequence(actors):
            actors = [actors]
        if len(actors):
            for a in actors:
                self.removeActor(a)
        else:
            for a in settings.collectable_actors:
                self.removeActor(a)
            settings.collectable_actors = []
            self.actors = []
            for a in self.getActors():
                self.renderer.RemoveActor(a)
            for a in self.getVolumes():
                self.renderer.RemoveVolume(a)
            for s in self.sliders:
                s.EnabledOff()
            for b in self.buttons:
                self.renderer.RemoveActor(b)
            for w in self.widgets:
                w.EnabledOff()
            for c in self.scalarbars:
                self.renderer.RemoveActor(c)
897380
def teardown(exceptions=[])
      stop

      (vm_groups.keys.to_set - exceptions.to_set).each do |group_name|
        deprovision_group(group_name) # clean this after everything finishes
      end
    end
30643
def reset(self):
        ''
        self.polylines.clear()
        self.legends.clear()
        self.plotAttrs.clear()
        self.unusedAttrs = list(colors[colorname.translate(str.maketrans('_', ' '))].attr for colorname in options.plot_colors.split())
819903
public void clear() {
        List<?> items = getChildren();
        
        for (int i = items.size() - 1; i >= 0; i--) {
            if (items.get(i) != customItem) {
                items.remove(i);
            }
        }
    }
1301454
public void removeAllElements()
  {

    if (null == m_map)
      return;

    for (int i = 0; i < m_firstFree; i++)
    {
      m_map[i] = null;
    }

    m_firstFree = 0;
  }
953282
public void removeAll() {
        int size = size();
        if (size == 0) {
            return;
        }
        for (int i = 0, listSize = lists.size(); i < listSize; i++) {
            List<? extends T> list = lists.get(i);
            if (list instanceof ObservableList) {
                ((ObservableList) list).removeOnListChangedCallback(callback);
            }
        }
        lists.clear();
        modCount += 1;
        listeners.notifyRemoved(this, 0, size);
    }