They are in OLE automation, not in plug-in.
You can access it by using
jedole:=CreateOLEObject('JED.App');
templates:=jedole.templates;
and this object offers the following methods:
TOLETemplates=class(TAutoObject)
automated
Procedure ClearTemplates;
Function NTemplates:integer;
Function GetTemplateName(n:integer):String;
Function GetTemplateParent(n:integer):string;
Function GetTemplateValues(n:integer):String;
Function GetTemplateDescription(n:integer):String;
Procedure SetTemplateDescription(n:integer;const desc:string);
Procedure GetTemplateBBox(n:integer;var x1,y1,z1,x2,y2,z2:double);
Function GetTemplateBBoxEx(n:integer;what:integer):double;
Procedure SetTemplateBBox(n:integer;x1,y1,z1,x2,y2,z2:double);
Procedure DeleteTemplate(n:integer);
Function AddTemplate(const name,parent,values:string):integer;
Function FindTemplate(const name:string):integer;
Procedure LoadTemplates(const filename:string);
Procedure SaveTemplates(const filename:string);
end;
And, as I said, a better (quicker) way might be to just load and parse master.tpl (mots.tpl) file.