1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<Export generator =" Cache" version =" 25" zv =" Cache for Windows (x86-64) 2015.2 (Build 540)" ts =" 2015-04-28 19:50:48" >
3
- <Class name =" UMLExplorer .ClassView" >
3
+ <Class name =" ClassExplorer .ClassView" >
4
4
<Description >
5
- Cache UML Explorer vX.X.X/*build.replace:pkg.version*/
5
+ Cache Class Explorer vX.X.X/*build.replace:pkg.version*/
6
6
Class contains methods that return structured classes/packages data.</Description >
7
7
<TimeChanged >63843,83200.096917</TimeChanged >
8
8
<TimeCreated >63653,67019.989197</TimeCreated >
@@ -365,19 +365,19 @@ Returns structured package data</Description>
365
365
</Class >
366
366
367
367
368
- <Project name =" UMLExplorer " LastModified =" 2015-05-24 18:14:48.579613" >
368
+ <Project name =" ClassExplorer " LastModified =" 2015-05-24 18:14:48.579613" >
369
369
<Items >
370
- <ProjectItem name =" UMLExplorer .ClassView" type =" CLS" ></ProjectItem >
371
- <ProjectItem name =" UMLExplorer .Router" type =" CLS" ></ProjectItem >
372
- <ProjectItem name =" UMLExplorer .StaticContent" type =" CLS" ></ProjectItem >
373
- <ProjectItem name =" UMLExplorer .WebAppInstaller" type =" CLS" ></ProjectItem >
370
+ <ProjectItem name =" ClassExplorer .ClassView" type =" CLS" ></ProjectItem >
371
+ <ProjectItem name =" ClassExplorer .Router" type =" CLS" ></ProjectItem >
372
+ <ProjectItem name =" ClassExplorer .StaticContent" type =" CLS" ></ProjectItem >
373
+ <ProjectItem name =" ClassExplorer .WebAppInstaller" type =" CLS" ></ProjectItem >
374
374
</Items >
375
375
</Project >
376
376
377
377
378
- <Class name =" UMLExplorer .Router" >
378
+ <Class name =" ClassExplorer .Router" >
379
379
<Description >
380
- REST interface for UMLExplorer </Description >
380
+ REST interface for ClassExplorer </Description >
381
381
<Super >%CSP.REST</Super >
382
382
<TimeChanged >63697,73073.878177</TimeChanged >
383
383
<TimeCreated >63648,30450.187229</TimeCreated >
@@ -387,8 +387,8 @@ REST interface for UMLExplorer</Description>
387
387
<Routes>
388
388
<Route Url="/" Method="GET" Call="Index"/>
389
389
<Route Url="/index" Method="GET" Call="Index"/>
390
- <Route Url="/css/CacheUMLExplorer .css" Method="GET" Call="GetCss"/>
391
- <Route Url="/js/CacheUMLExplorer .js" Method="GET" Call="GetJs"/>
390
+ <Route Url="/css/CacheClassExplorer .css" Method="GET" Call="GetCss"/>
391
+ <Route Url="/js/CacheClassExplorer .js" Method="GET" Call="GetJs"/>
392
392
<Route Url="/Test" Method="GET" Call="Test"/>
393
393
<Route Url="/GetClassTree" Method="GET" Call="GetClassTree"/>
394
394
<Route Url="/GetClassView" Method="GET" Call="GetClassView"/>
@@ -405,7 +405,7 @@ Method returns whole class tree visible in the current namespace.</Description>
405
405
<ClassMethod >1</ClassMethod >
406
406
<ReturnType >%Status</ReturnType >
407
407
<Implementation ><![CDATA[
408
- do ##class(UMLExplorer .ClassView).getClassTree(%request.Get("namespace")).%ToJSON(, "o")
408
+ do ##class(ClassExplorer .ClassView).getClassTree(%request.Get("namespace")).%ToJSON(, "o")
409
409
return $$$OK
410
410
]]> </Implementation >
411
411
</Method >
@@ -442,7 +442,7 @@ Return the list of all namespaces</Description>
442
442
<ClassMethod >1</ClassMethod >
443
443
<ReturnType >%Status</ReturnType >
444
444
<Implementation ><![CDATA[
445
- do ##class(UMLExplorer .ClassView).getAllNamespacesList().%ToJSON(, "o")
445
+ do ##class(ClassExplorer .ClassView).getAllNamespacesList().%ToJSON(, "o")
446
446
return $$$OK
447
447
]]> </Implementation >
448
448
</Method >
@@ -500,7 +500,7 @@ Method returns user application HTML.</Description>
500
500
</Class >
501
501
502
502
503
- <Class name =" UMLExplorer .StaticContent" >
503
+ <Class name =" ClassExplorer .StaticContent" >
504
504
<Description >
505
505
Cache UML Explorer vX.X.X/*build.replace:pkg.version*/ static content generator.
506
506
Class contains methods that return JS/CSS/HTML data for single page application.</Description >
@@ -514,7 +514,7 @@ Write the contents of xData tag</Description>
514
514
<FormalSpec >Const:%String</FormalSpec >
515
515
<ReturnType >%Status</ReturnType >
516
516
<Implementation ><![CDATA[
517
- Set xdata = ##class(%Dictionary.CompiledXData).%OpenId("UMLExplorer .StaticContent||"_Const).Data
517
+ Set xdata = ##class(%Dictionary.CompiledXData).%OpenId("ClassExplorer .StaticContent||"_Const).Data
518
518
set status=##class(%XML.TextReader).ParseStream(xdata, .textreader)
519
519
while textreader.Read() { if (textreader.NodeType="chars") { w textreader.Value } }
520
520
return $$$OK
@@ -547,7 +547,7 @@ Write the contents of xData tag</Description>
547
547
</Class >
548
548
549
549
550
- <Class name =" UMLExplorer .WebAppInstaller" >
550
+ <Class name =" ClassExplorer .WebAppInstaller" >
551
551
<Super >%Projection.AbstractProjection</Super >
552
552
<TimeChanged >63696,65168.289869</TimeChanged >
553
553
<TimeCreated >63696,64041.85537</TimeCreated >
@@ -574,14 +574,14 @@ This method is invoked when a class is compiled.</Description>
574
574
set cspProperties("NameSpace") = ns
575
575
set cspProperties("Description") = "A WEB application for Cache UML Explorer."
576
576
set cspProperties("IsNameSpaceDefault") = 1
577
- set cspProperties("DispatchClass") = "UMLExplorer .Router"
578
- if ('##class(Security.Applications).Exists("/UMLExplorer ")) {
579
- w !, "Creating WEB application ""/UMLExplorer ""..."
580
- set tSC = ##class(Security.Applications).Create("/UMLExplorer ", .cspProperties)
577
+ set cspProperties("DispatchClass") = "ClassExplorer .Router"
578
+ if ('##class(Security.Applications).Exists("/ClassExplorer ")) {
579
+ w !, "Creating WEB application ""/ClassExplorer ""..."
580
+ set tSC = ##class(Security.Applications).Create("/ClassExplorer ", .cspProperties)
581
581
if $$$ISERR(tSC) throw ##class(%Installer.Exception).CreateFromStatus(tSC)
582
- w !, "WEB application ""/UMLExplorer "" created."
582
+ w !, "WEB application ""/ClassExplorer "" created."
583
583
} else {
584
- w !, "WEB application ""/UMLExplorer "" already exists, so it is ready to use."
584
+ w !, "WEB application ""/ClassExplorer "" already exists, so it is ready to use."
585
585
}
586
586
zn:ns'="%SYS" ns
587
587
quit $$$OK
@@ -597,10 +597,10 @@ This method is invoked when a class is 'uncompiled'.</Description>
597
597
<Implementation ><![CDATA[
598
598
set ns = $NAMESPACE
599
599
zn:ns'="%SYS" "%SYS"
600
- if (##class(Security.Applications).Exists("/UMLExplorer ")) {
601
- w !, "Deleting WEB application ""/UMLExplorer ""..."
602
- do ##class(Security.Applications).Delete("/UMLExplorer ")
603
- w !, "WEB application ""/UMLExplorer "" was successfully removed."
600
+ if (##class(Security.Applications).Exists("/ClassExplorer ")) {
601
+ w !, "Deleting WEB application ""/ClassExplorer ""..."
602
+ do ##class(Security.Applications).Delete("/ClassExplorer ")
603
+ w !, "WEB application ""/ClassExplorer "" was successfully removed."
604
604
}
605
605
zn:ns'="%SYS" ns
606
606
QUIT $$$OK
0 commit comments