<commit_before>package gov.nih.nci.caadapter.ui.common;

import javax.swing.Action;
import javax.swing.JToolBar;

public interface ToolBarHandler {

	/**
	 * Add a given action to the toolbar, if the checkWithIcon is true,
	 * only add those actions with image icons.
	 * @param act
	 * @param checkWithIcon
	 */
	public abstract void addAction(Action act, boolean checkWithIcon);

	public abstract void removeAction(Action act);

	public abstract void removeAllActions();

	public abstract void repaintToolBar();
	public abstract JToolBar getToolBar();
}<commit_msg>remove unused method: toolbarRepaint()<commit_after>package gov.nih.nci.caadapter.ui.common;

import javax.swing.Action;
import javax.swing.JToolBar;

public interface ToolBarHandler {

	/**
	 * Add a given action to the toolbar, if the checkWithIcon is true,
	 * only add those actions with image icons.
	 * @param act
	 * @param checkWithIcon
	 */
	public abstract void addAction(Action act, boolean checkWithIcon);
	public abstract void removeAction(Action act);
	public abstract void removeAllActions();
	public abstract JToolBar getToolBar();
}
{'fraction_non_alphanumeric': 0.08422939068100359, 'fraction_numerical': 0.0, 'mean_word_length': 4.878947368421053, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '423963', 'n_tokens_mistral': 328, 'n_tokens_neox': 306, 'n_words': 111}