View | Details | Raw Unified | Return to bug 204679 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/team/internal/ui/Utils.java (-1 / +3 lines)
Lines 992-998 Link Here
992
			throws CoreException {
992
			throws CoreException {
993
		if (descriptor instanceof EditorDescriptor) {
993
		if (descriptor instanceof EditorDescriptor) {
994
			EditorDescriptor desc = (EditorDescriptor) descriptor;
994
			EditorDescriptor desc = (EditorDescriptor) descriptor;
995
			return desc.createEditor() instanceof AbstractDecoratedTextEditor;
995
			IEditorPart editor= desc.createEditor();
996
			editor.dispose();
997
			return editor instanceof AbstractDecoratedTextEditor;
996
		}
998
		}
997
		return false;
999
		return false;
998
	}
1000
	}

Return to bug 204679