@@ -128,6 +128,7 @@ Return structured data about class.</Description>
128
128
set count = classDefinition.Properties.Count()
129
129
set props = ##class(%Dictionary.ClassDefinition).%OpenId("%Dictionary.PropertyDefinition")
130
130
for i=1:1:count {
131
+ set ignore=""
131
132
set oProp = ##class(%ZEN.proxyObject).%New()
132
133
set p = classDefinition.Properties.GetAt(i)
133
134
do oProperties.%DispatchSetProperty(p.Name, oProp)
@@ -138,13 +139,14 @@ Return structured data about class.</Description>
138
139
if (..classExists(package _ "." _ p.Type)) {
139
140
set oProp.Type = package _ "." _ p.Type
140
141
do ..fillClassData(oData, package _ "." _ p.Type, $GET(level), currLevel)
142
+ set ignore=1
141
143
} elseif (..classExists(..extendClassFromType(p.Type))) {
142
144
set oProp.Type = ..extendClassFromType(p.Type)
143
145
do ..fillClassData(oData, ..extendClassFromType(p.Type), $GET(level), currLevel)
144
146
} else {
145
147
set oProp.Type = ..extendClassFromType(p.Type)
146
148
}
147
- if (($GET(level)'="")&&(+$GET(currLevel)>1)) set oProp.Type = oProp.Type_$Char(32)
149
+ if (($GET(ignore)="")&&($GET( level)'="")&&(+$GET(currLevel)>1)) set oProp.Type = oProp.Type_$Char(32)
148
150
}
149
151
150
152
set oMethods = ##class(%ZEN.proxyObject).%New()
@@ -333,8 +335,8 @@ Setup basic output data object</Description>
333
335
334
336
set ns = $namespace
335
337
zn baseNamespace
336
- if $get(^ClassExplorer ("savedView", ns_":"_savedName)) '= "" {
337
- set oData.savedView = $get(^ClassExplorer ("savedView", ns_":"_savedName))
338
+ if $get(^UClassExplorer ("savedView", ns_":"_savedName)) '= "" {
339
+ set oData.savedView = $get(^UClassExplorer ("savedView", ns_":"_savedName))
338
340
}
339
341
zn ns
340
342
@@ -438,7 +440,7 @@ Method returns whole class tree visible in the current namespace.</Description>
438
440
<ClassMethod >1</ClassMethod >
439
441
<ReturnType >%Status</ReturnType >
440
442
<Implementation ><![CDATA[
441
- do ##class(ClassExplorer. ClassView).getClassTree(%request.Get("namespace")).%ToJSON(, "o")
443
+ do ##class(ClassView).getClassTree(%request.Get("namespace")).%ToJSON(, "o")
442
444
return $$$OK
443
445
]]> </Implementation >
444
446
</Method >
@@ -464,7 +466,7 @@ Saves the view preferences</Description>
464
466
<Implementation ><![CDATA[
465
467
set name = %request.Get("name")
466
468
set content = %request.Content.Read($$$MaxStringLength) // ~ 7mb
467
- set ^ClassExplorer ("savedView", name) = content
469
+ set ^UClassExplorer ("savedView", name) = content
468
470
write "{""OK"":true}"
469
471
return $$$OK
470
472
]]> </Implementation >
@@ -477,7 +479,7 @@ Saves the view preferences</Description>
477
479
<ReturnType >%Status</ReturnType >
478
480
<Implementation ><![CDATA[
479
481
set name = %request.Get("name")
480
- kill ^ClassExplorer ("savedView", name)
482
+ kill ^UClassExplorer ("savedView", name)
481
483
write "{""OK"":true}"
482
484
return $$$OK
483
485
]]> </Implementation >
@@ -502,7 +504,7 @@ Return the list of all namespaces</Description>
502
504
<ClassMethod >1</ClassMethod >
503
505
<ReturnType >%Status</ReturnType >
504
506
<Implementation ><![CDATA[
505
- do ##class(ClassExplorer. ClassView).getAllNamespacesList().%ToJSON(, "o")
507
+ do ##class(ClassView).getAllNamespacesList().%ToJSON(, "o")
506
508
return $$$OK
507
509
]]> </Implementation >
508
510
</Method >
0 commit comments