I need to generate few files from my model action, which Sapphire plugin project i need to refer ? I remember Sapphire SDK has code generation facilities.
The bundle your are looking for is org.eclipse.sapphire.sdk.build.processor, but this bundle isn't generally available in runtime environments. Exposing Sapphire's code generation facilities for direct adopter use as part of their model/UI is not in scope for Sapphire. These classes aren't treated as API, etc. None of that would prevent a third-party adopter from including Sapphire SDK in their own runtime distribution, but if this is in the context of the portlet editor that you are working on, you will need to find a different code generation solution as the runtime target of WTP's editors project will not include Sapphire SDK.
For an alternative approach to code generation that is supported in expected runtime configurations, take a look at how Sapphire's CreateJavaTypeActionHandler is implemented using JDT API.
i made it work .. just followed the example of JavaType but for me the case is simple for generating .properties file which i acoomplished with ResourcesPlugin API