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. ant/
  2. platform/
  3. update/
  4. .gitignore
  5. CONTRIBUTING
  6. LICENSE
  7. NOTICE
  8. pom.xml