Annotation Interface PostWorkbenchClose

@Documented @Target(METHOD) @Retention(RUNTIME) public @interface PostWorkbenchClose
Use this annotation to describe methods that will participate in the application lifecycle. This method will be called after the model is persisted and the workbench is closed.


Use this annotation with care in your application lifecycle since many eclipse services are already down.
  • IPresentationEngine is stopped
  • UIEventPublisher is removed
  • E4Workbench is unregistered from Framework service registry