DESCRIPTION

Fix NullPointerException in command handlers

The active part can be null if all perspectives are closed. The handlers
isEnabled() method can then be invoked when using the workbench main
menu (e.g. File > Exit).

Change-Id: I76df9320238ef5e02aa0ee56a4b12dbb494cfe79
Reviewed-on: https://git.eclipse.org/r/9570
Tested-by: Brenden Conley
Reviewed-by: Braxton Mccarthy xxx@xxx.xxx
IP-Clean: Braxton Mccarthy xxx@xxx.xxx


COMMENTS

author: Luciana Barry
date: 2013-01-10 18:16:41.000000000

Change has been successfully cherry-picked as d000ea391a2a090547dfac49579c045d628a1c07

-------------------------------------
