11 February 2011

RAP: Useful snippets

Just want to record some handy code snippets...

Save/Restore workbench state

In the Application WorkbenchAdvisor


/**
* set auto restore of workbench state
*/

public void initialize( IWorkbenchConfigurer configurer ) {
    getWorkbenchConfigurer().setSaveAndRestore( true );
    super.initialize( configurer );
}

2 comments:

  1. It seems like the code got mixed somehow

    ReplyDelete
  2. Hopefully fixed now. Thanks

    ReplyDelete