What i'm looking to do is to be able to integrate a product called DevPartner with IntelliJ. Basically, what i need to be able to do is to take either an application, or JUnit, or web app, or whatever, and add an option to run it using DevPartner. Instead of using the "java.exe" program, it would need to use "nmjava" (their wrapper which does the instrumentation), along with additional user options (which type of analysis, which configuration to use, etc...). Ideally, i'd like to plug this into the exiting run/debug dialog if i can. But in worst case, i'd at least like to be able to get access to the existing information that is displayed in that box.
Any hints on how to go about doing this?