Bug 147846 [OLE] OLE Error using Open With > In-Place Editor
3.2 RC7 and latest 3.3 I-build (I20060614-0843) 1. select any file (text, html, java, ...) in the Navigator 2. Open With > In-Place Editor ==> error dialog appears, nothing in .log. Empty editor gets opened.
bundles/org.eclipse.ui.win32/src/org/eclipse/ui/internal/editorsupport/win32/OleEditor.java
*/
    protected void setInputWithNotify(IEditorInput input) {
    	if (input instanceof IPathEditorInput)
    		source = new File(((IPathEditorInput)input).getPath().toOSString());
    	
        if (input instanceof IFileEditorInput) {
        	if (resource == null)
        		ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceListener);
        	resource = ((IFileEditorInput)input).getFile();
        } else if (resource != null) {
        	ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceListener);
        	resource = null;
        }
        
        super.setInputWithNotify(input);
    }
    /**
     * See if it is one of the known types that use OLE Storage.
     * @param progID the type to test
     * @return <code>true</code> if it is one of the known types
     */
    private static boolean usesStorageFiles(String progID) {
        return (progID != null && (progID.startsWith("Word.", 0) 
                || progID.startsWith("MSGraph", 0) 
                || progID.startsWith("PowerPoint", 0) 
        || progID.startsWith("Excel", 0))); 
    }
    /**
     * The source has changed to the newFile. Update
     * editors and set any required flags