<commit_before>/*******************************************************************************
 * Caleydo - Visualization for Molecular Biology - http://caleydo.org
 * Copyright (c) The Caleydo Team. All rights reserved.
 * Licensed under the new BSD license, available at http://caleydo.org/license
 *******************************************************************************/
package org.caleydo.view.relationshipexplorer.ui.column.operation;

import java.util.Set;

import org.caleydo.view.relationshipexplorer.ui.History.IHistoryCommand;
import org.caleydo.view.relationshipexplorer.ui.column.AEntityColumn;

/**
 * @author Christian
 *
 */
public class AttributeFilterCommand implements IHistoryCommand {

	protected final AEntityColumn column;
	protected final Set<Object> filteredElementIDs;

	public AttributeFilterCommand(AEntityColumn column, Set<Object> filteredElementIDs) {
		this.column = column;
		this.filteredElementIDs = filteredElementIDs;
	}

	@Override
	public void execute() {
		column.setFilteredItems(filteredElementIDs);
		column.updateSorting();
		// column.getRelationshipExplorer().updateSelectionMappings(srcCollection);
	}

}<commit_msg>attribute filter is local again<commit_after>/*******************************************************************************
 * Caleydo - Visualization for Molecular Biology - http://caleydo.org
 * Copyright (c) The Caleydo Team. All rights reserved.
 * Licensed under the new BSD license, available at http://caleydo.org/license
 *******************************************************************************/
package org.caleydo.view.relationshipexplorer.ui.column.operation;

import java.util.Set;

import org.caleydo.view.relationshipexplorer.ui.History.IHistoryCommand;
import org.caleydo.view.relationshipexplorer.ui.column.AEntityColumn;

/**
 * @author Christian
 *
 */
public class AttributeFilterCommand implements IHistoryCommand {

	protected final AEntityColumn column;
	protected final Set<Object> filteredElementIDs;

	public AttributeFilterCommand(AEntityColumn column, Set<Object> filteredElementIDs) {
		this.column = column;
		this.filteredElementIDs = filteredElementIDs;
	}

	@Override
	public void execute() {
		column.setFilteredItems(filteredElementIDs);
		column.updateSorting();

		// column.getRelationshipExplorer().applyIDMappingUpdate(
		// new MappingFilterUpdateOperation(column.getBroadcastingIDsFromElementIDs(filteredElementIDs), column,
		// ESetOperation.REPLACE), true);
	}

}
{'fraction_non_alphanumeric': 0.2102090032154341, 'fraction_numerical': 0.0, 'mean_word_length': 6.474474474474475, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6821757', 'n_tokens_mistral': 704, 'n_tokens_neox': 635, 'n_words': 135}