Bug 543200 - [Tests]Ant Editor gets NPE while getShell

getSite().getShell() is discouraged way to retrieve a Shell instance,
and check if the shell is disposed is wrong anyway for an editor which
can be closed but the shell is still there.

Added "disposed" flag and changed the checks accordingly to check if
*editor* is disposed.

Change-Id: I7bd015e5bfca1cfdeb76bf23784c2fd6a8efd666
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
3 files changed
tree: a87480201ce33ae72b81294fadc1747ce46eab1a
  1. .gitignore
  2. CONTRIBUTING
  3. LICENSE
  4. NOTICE
  5. ant/
  6. platform/
  7. pom.xml
  8. update/