Annotation Type OnClose


  • @Inherited
    @Retention(RUNTIME)
    @Target(METHOD)
    public @interface OnClose
    Methods annotated with this will be called by the Workbench immediately after a WorkbenchPart is closed. WorkbenchParts can perform any clean-up tasks in the annotated method, but this does not include removing the view widget from the DOM; this will have already been taken care of by the framework. The method must take zero arguments and return void.