Hi folks is the a way I can use apart from default custom templates my own. I mean I'd like to add one to master pages let's call it custom.html now I just set it from my pluging...
You can create a custom master page class with a custom template and extend it to OW_MasterPage. You can then use your custom master page in your plugin:
OW::getDocument()->setMasterPage( new PLUGINKEY_CLASS_MasterPage());