title: I need to execute some code only for RCP not For RAP how can i do that
body: <p>I am working on eclipse RCP/RAP single sourcing. 
  i need to execute some code in <code>resotreState()</code> and <code>saveState()</code> method of <code>ApplicationWorkbenchAdvisor</code> class that is needed only for RCP but not for RAP. What is the best way to implement this?</p>