Bug 90698 [EditorMgmt] FileEditorInput.getStorage() API change
Eclipse 3.1 M6 FileEditorInput.getStorage() has changed to no longer throw a CoreException. Since this class is public this is a breaking API change. Workaround is to cast the FileEditorInput to an IFileEditorInput.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/part/FileEditorInput.java
*/
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (!(obj instanceof IFileEditorInput))
            return false;
        IFileEditorInput other = (IFileEditorInput) obj;
        return file.equals(other.getFile());
    }
    /* (non-Javadoc)
     * Method declared on IEditorInput.
     */
    public boolean exists() {
        return file.exists();
    }
    /* (non-Javadoc)
     * Method declared on IAdaptable.
     */
    public Object getAdapter(Class adapter) {
        if (adapter == IFile.class)
            return file;
        return file.getAdapter(adapter);
    }
    /* (non-Javadoc)
     * Method declared on IPersistableElement.
     */
    public String getFactoryId() {
        return FileEditorInputFactory.getFactoryId();
    }
    /* (non-Javadoc)