Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 128236
Collapse All | Expand All

(-)src/org/eclipse/pde/internal/ui/editor/plugin/ManifestEditorMatchingStrategy.java (-1 / +3 lines)
Lines 31-37 Link Here
31
	        	if (input.equals(editorRef.getEditorInput()))
31
	        	if (input.equals(editorRef.getEditorInput()))
32
	        		return true;       	
32
	        		return true;       	
33
	            String path = inputFile.getProjectRelativePath().toString();
33
	            String path = inputFile.getProjectRelativePath().toString();
34
	            if (path.equals("build.properties")) { //$NON-NLS-1$ 
34
	            if (path.equals("build.properties") || //$NON-NLS-1$ 
35
	            		path.equals("META-INF/MANIFEST.MF") || //$NON-NLS-1$ 
36
	            		path.equals("plugin.xml")) { //$NON-NLS-1$ 
35
                    IFile editorFile = ResourceUtil.getFile(editorRef.getEditorInput());
37
                    IFile editorFile = ResourceUtil.getFile(editorRef.getEditorInput());
36
                    return editorFile != null && inputFile.getProject().equals(editorFile.getProject());
38
                    return editorFile != null && inputFile.getProject().equals(editorFile.getProject());
37
	            }
39
	            }

Return to bug 128236