Bug 537004 [ui] fix exception when updating preview

In tryToOpenAsWorkspaceFile(): skip URIs if scheme is not "file",
most notably this will avoid problems when the preview tab
opens/is updated as in this case the function is called with
URI "about:blank".

Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=537004
Change-Id: I899b7c1ba712ea427f2ce9b37de95eab96d43005
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
1 file changed
tree: ee4509be55a2fe267513facb73806dd25703900c
  1. docs/
  2. epub/
  3. wikitext/
  4. .gitignore
  5. CONTRIBUTING.txt
  6. docs-pom.xml
  7. LICENSE
  8. pom.xml
  9. README.md
README.md

org.eclipse.mylyn.docs

Developer resources:

Information regarding source code management, builds, coding standards, and more.