11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <Export generator =" Cache" version =" 25" zv =" Cache for Windows (x86-64) 2015.2 (Build 540)" ts =" 2015-04-12 16:26:04" >
3-
2+ <Export generator =" Cache" version =" 25" zv =" Cache for Windows (x86-64) 2015.2 (Build 540)" ts =" 2015-04-28 19:50:48" >
43<Class name =" UMLExplorer.ClassView" >
54<Description >
65Class contains methods that return structured class data.</Description >
7- <TimeChanged >63668,60898.691763 </TimeChanged >
6+ <TimeChanged >63670,70761.169478 </TimeChanged >
87<TimeCreated >63653,67019.989197</TimeCreated >
98
109<Method name =" getClassTree" >
@@ -57,6 +56,8 @@ return structured data about class</Description>
5756<Implementation ><![CDATA[
5857 set oClass = ##class(%ZEN.proxyObject).%New()
5958
59+ set basePack = $LISTTOSTRING($LIST($LISTFROMSTRING(classDefinition.Name, "."), 1, *-1),".")
60+
6061 set oProperties = ##class(%ZEN.proxyObject).%New()
6162 set oClass.NAMESPACE = $NAMESPACE
6263 set oClass.super = classDefinition.Super
@@ -70,6 +71,7 @@ return structured data about class</Description>
7071 do oProp.%DispatchSetProperty("readOnly", p.ReadOnly)
7172 do oProp.%DispatchSetProperty("type", p.Type)
7273 do ..collectAggregation(oData, classDefinition.Name, p.Type)
74+ do ..collectAggregation(oData, classDefinition.Name, basePack _ "." _ p.Type)
7375 }
7476
7577 set oMethods = ##class(%ZEN.proxyObject).%New()
@@ -216,11 +218,11 @@ return structured data about class</Description>
216218</Class >
217219
218220
219- <Project name =" UMLExplorer" LastModified =" 2015-04-26 00:42:57.542208 " >
221+ <Project name =" UMLExplorer" LastModified =" 2015-04-28 19:17:47.344256 " >
220222 <Items >
221- <ProjectItem name =" UMLExplorer.ClassView" type =" CLS" / >
222- <ProjectItem name =" UMLExplorer.Router" type =" CLS" / >
223- <ProjectItem name =" UMLExplorer.StaticContent" type =" CLS" / >
223+ <ProjectItem name =" UMLExplorer.ClassView" type =" CLS" ></ ProjectItem >
224+ <ProjectItem name =" UMLExplorer.Router" type =" CLS" ></ ProjectItem >
225+ <ProjectItem name =" UMLExplorer.StaticContent" type =" CLS" ></ ProjectItem >
224226 </Items >
225227</Project >
226228
@@ -229,7 +231,7 @@ return structured data about class</Description>
229231<Description >
230232REST interface for UMLExplorer</Description >
231233<Super >%CSP.REST</Super >
232- <TimeChanged >63667,85509.960346 </TimeChanged >
234+ <TimeChanged >63670,71431.319061 </TimeChanged >
233235<TimeCreated >63648,30450.187229</TimeCreated >
234236
235237<XData name =" UrlMap" >
@@ -286,93 +288,76 @@ Returns all package class trees by given package name</Description>
286288]]> </Implementation >
287289</Method >
288290
289- <Method name =" Test" >
290- <Description >
291- Method to test accessibility of REST interface.</Description >
292- <ClassMethod >1</ClassMethod >
293- <ReturnType >%Status</ReturnType >
294- <Implementation ><![CDATA[
295- set resp = ##class(%ZEN.proxyObject).%New()
296- set resp2 = ##class(%ZEN.proxyObject).%New()
297- set resp2.Status = "OK"
298- set resp.obj = resp2
299- do resp.%ToJSON(, "o")
300- return $$$OK
301- ]]> </Implementation >
302- </Method >
303-
304291<Method name =" GetCss" >
292+ <Description >
293+ Method returns user application CSS.</Description >
305294<ClassMethod >1</ClassMethod >
306295<ReturnType >%Status</ReturnType >
307296<Implementation ><![CDATA[
308297 set %response.CharSet = "utf-8"
309298 set %response.ContentType = "text/css"
310- do ##class(UMLExplorer. StaticContent).WriteCSS( )
299+ do ##class(StaticContent).Write("CSS" )
311300 return $$$OK
312301]]> </Implementation >
313302</Method >
314303
315304<Method name =" GetJs" >
305+ <Description >
306+ Method returns user application JavaScript.</Description >
316307<ClassMethod >1</ClassMethod >
317308<ReturnType >%Status</ReturnType >
318309<Implementation ><![CDATA[
319310 set %response.CharSet = "utf-8"
320311 set %response.ContentType = "text/javascript"
321- do ##class(UMLExplorer. StaticContent).WriteJS( )
312+ do ##class(StaticContent).Write("JS" )
322313 return $$$OK
323314]]> </Implementation >
324315</Method >
325316
326317<Method name =" Index" >
327318<Description >
328- Method returns user application.</Description >
319+ Method returns user application HTML .</Description >
329320<ClassMethod >1</ClassMethod >
330321<ReturnType >%Status</ReturnType >
331322<Implementation ><![CDATA[
332- &html<
333- {{replace:html}}
334- >
323+ do ##class(StaticContent).Write("HTML")
335324 return $$$OK
336325]]> </Implementation >
337326</Method >
338327</Class >
339328
340329
341330<Class name =" UMLExplorer.StaticContent" >
342- <TimeChanged >63663,76108.945861 </TimeChanged >
331+ <TimeChanged >63670,71368.846177 </TimeChanged >
343332<TimeCreated >63663,71456.865723</TimeCreated >
344333
345- <Method name =" WriteCSS " >
334+ <Method name =" Write " >
346335<Description >
347- Outputs css code for UMLExplorer application </Description >
336+ Write the contents of xData tag </Description >
348337<ClassMethod >1</ClassMethod >
338+ <FormalSpec >Const:%String</FormalSpec >
349339<ReturnType >%Status</ReturnType >
350340<Implementation ><![CDATA[
351- Set xdata = ##class(%Dictionary.CompiledXData).%OpenId("UMLExplorer.StaticContent||CSS" ).Data
341+ Set xdata = ##class(%Dictionary.CompiledXData).%OpenId("UMLExplorer.StaticContent||"_Const ).Data
352342 set status=##class(%XML.TextReader).ParseStream(xdata, .textreader)
353343 while textreader.Read() { if (textreader.NodeType="chars") { w textreader.Value } }
354344 return $$$OK
355345]]> </Implementation >
356346</Method >
357347
358- <Method name =" WriteJS" >
359- <Description >
360- Outputs js code for UMLExplorer application</Description >
361- <ClassMethod >1</ClassMethod >
362- <ReturnType >%Status</ReturnType >
363- <Implementation ><![CDATA[
364- Set xdata = ##class(%Dictionary.CompiledXData).%OpenId("UMLExplorer.StaticContent||JS").Data
365- set status=##class(%XML.TextReader).ParseStream(xdata, .textreader)
366- while textreader.Read() { if (textreader.NodeType="chars") { w textreader.Value } }
367- return $$$OK
368- ]]> </Implementation >
369- </Method >
348+ <XData name =" HTML" >
349+ <Data ><![CDATA[
350+ <data><![CDATA[
351+ {{replace:html}}
352+ ]]]]> <![CDATA[ ></data>
353+ ]]> </Data >
354+ </XData >
370355
371356<XData name =" CSS" >
372357<Data ><![CDATA[
373- <data>
358+ <data><![CDATA[
374359{{replace:css}}
375- </data>
360+ ]] ]]> <![CDATA[ > </data>
376361]]> </Data >
377362</XData >
378363
0 commit comments