Revision history [back]
I believe you can do that. You can take a look at an E+ measure (made for OS) which I wrote. If you will read through that I believe you can understand how to do that. If any specific question you can comment here and I will try to answer.