View | Details | Raw Unified | Return to bug 205655
Collapse All | Expand All

(-)src/org/eclipse/pde/internal/ui/editor/plugin/ManifestEditorMatchingStrategy.java (-1 / +1 lines)
Lines 25-31 Link Here
25
25
26
    public boolean matches(IEditorReference editorRef, IEditorInput input) {    	
26
    public boolean matches(IEditorReference editorRef, IEditorInput input) {    	
27
        IFile inputFile = ResourceUtil.getFile(input);
27
        IFile inputFile = ResourceUtil.getFile(input);
28
        if (input instanceof IFileEditorInput) {
28
        if (input instanceof IFileEditorInput && inputFile != null) {
29
            try {
29
            try {
30
	        	if (input.equals(editorRef.getEditorInput()))
30
	        	if (input.equals(editorRef.getEditorInput()))
31
	        		return true;       	
31
	        		return true;       	

Return to bug 205655