<commit_before>/*******************************************************************************
 * Copyright (c) 2004, 2007 Mylyn project committers and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/

package org.eclipse.mylyn.internal.resources.ui;

/**
 * Tag interface for editors that do not get closed when a context is deactivated. The editor can specify whether or not
 * it should closed based on its input.
 * 
 * @author <NAME>
 */
public interface IContextAwareEditor {

	public boolean canClose();

}<commit_msg>RESOLVED - bug 208265: [patch] [context] Mylyn is not auto-closing editors https://bugs.eclipse.org/bugs/show_bug.cgi?id=208265<commit_after>/*******************************************************************************
 * Copyright (c) 2004, 2007 Mylyn project committers and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/

package org.eclipse.mylyn.internal.resources.ui;

/**
 * Tag interface for editors that do not get closed when a context is deactivated. The editor can specify whether or not
 * it should closed based on its input.
 * 
 * API-3.0: consider making this be based on editor inputs, not editors.  See bug 208625.
 * 
 * @author <NAME>
 */
public interface IContextAwareEditor {

	public boolean canClose();

}
{'fraction_non_alphanumeric': 0.2415485278080698, 'fraction_numerical': 0.023991275899672846, 'mean_word_length': 5.016393442622951, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, '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': '424982', 'n_tokens_mistral': 485, 'n_tokens_neox': 420, 'n_words': 180}