Workspace close/clear event?

I want to capture the event in a viewExtension.
This is where I got that information.