Skip to content

Commit 911f450

Browse files
Merge remote-tracking branch 'upstream/master'
2 parents bfb8e40 + 5d03fcd commit 911f450

File tree

11 files changed

+276
-87
lines changed

11 files changed

+276
-87
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ An UML Class explorer for InterSystems Caché.
1111

1212
## Screenshots
1313

14-
![Demo](https://cloud.githubusercontent.com/assets/4989256/7622499/9cb98048-f9d8-11e4-9c27-4257e53ec70d.png)
14+
![Demo](https://cloud.githubusercontent.com/assets/4989256/7642972/f2c3e33c-fa9d-11e4-90b4-d35c809c9e60.png)
1515

1616
## Installation
1717

cache/projectTemplate.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Class name="UMLExplorer.ClassView">
44
<Description>
55
Class contains methods that return structured classes/packages data.</Description>
6-
<TimeChanged>63686,4398.893381</TimeChanged>
6+
<TimeChanged>63686,85630.818189</TimeChanged>
77
<TimeCreated>63653,67019.989197</TimeCreated>
88

99
<Method name="getClassTree">
@@ -115,8 +115,8 @@ Return structured data about class.</Description>
115115
for i=1:1:count {
116116
set oPar = ##class(%ZEN.proxyObject).%New()
117117
set p = classDefinition.Parameters.GetAt(i)
118+
set oPar.type = p.Type
118119
do oParameters.%DispatchSetProperty(p.Name, oPar)
119-
do oPar.%DispatchSetProperty("type", p.Type)
120120
}
121121
122122
do ..collectInheritance(oData, classDefinition, package)
@@ -302,7 +302,7 @@ Returns structured package data</Description>
302302
</Class>
303303

304304

305-
<Project name="UMLExplorer" LastModified="2015-05-08 19:38:35.423206">
305+
<Project name="UMLExplorer" LastModified="2015-05-14 01:35:59.888696">
306306
<Items>
307307
<ProjectItem name="UMLExplorer.ClassView" type="CLS"></ProjectItem>
308308
<ProjectItem name="UMLExplorer.Router" type="CLS"></ProjectItem>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "CacheUMLExplorer",
3-
"version": "0.8.0",
3+
"version": "0.9.2",
44
"description": "An UML Class explorer for InterSystems Caché",
55
"directories": {
66
"test": "test"

web/css/extras.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,18 @@
8484
box-shadow: 0 0 5px 2px #ffcc1b;
8585
}
8686

87+
.icon.help:after {
88+
content: "?";
89+
position: absolute;
90+
color: white;
91+
display: block;
92+
font-size: 21px;
93+
font-weight: 900;
94+
height: 100%;
95+
width: 100%;
96+
text-align: center;
97+
}
98+
8799
.icon.plus:before {
88100
content: "";
89101
background-color: #fff;

web/css/interface.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,31 @@ html, body {
3232
padding: .5em;
3333
font-weight: 600;
3434
font-size: 18pt;
35+
z-index: 1;
3536
}
3637

3738
.ui-rightBottomToolBar {
3839
position: absolute;
3940
bottom: 0;
4041
right: 0;
4142
padding: .5em;
43+
z-index: 1;
4244
}
4345

4446
.ui-leftBottomToolBar {
4547
position: absolute;
4648
bottom: 0;
4749
left: 0;
4850
padding: .5em;
51+
z-index: 1;
4952
}
5053

5154
.ui-topRightToolBar {
5255
position: absolute;
5356
top: 0;
5457
right: 0;
5558
padding: .5em;
59+
z-index: 1;
5660
}
5761

5862
#className {

web/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
</div>
3838
<div class="ui-topRightToolBar">
3939
<div id="button.showInfo" class="icon info"></div>
40+
<div id="button.showHelp" class="icon help"></div>
4041
</div>
4142
<div class="ui-leftBottomToolBar">
4243
<div id="button.downloadSVG" class="icon download"></div>

web/js/CacheUMLExplorer.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ var CacheUMLExplorer = function (treeViewContainer, classViewContainer) {
1818
zoomInButton: id("button.zoomIn"),
1919
zoomOutButton: id("button.zoomOut"),
2020
zoomNormalButton: id("button.zoomNormal"),
21+
helpButton: id("button.showHelp"),
2122
infoButton: id("button.showInfo"),
2223
methodCodeView: id("methodCodeView"),
2324
closeMethodCodeView: id("closeMethodCodeView"),
@@ -53,7 +54,11 @@ CacheUMLExplorer.prototype.init = function () {
5354
this.classView.loadClass(hash.substr(7));
5455
} else if (hash.indexOf("package:") === 1) {
5556
this.classView.loadPackage(hash.substr(9));
57+
} else {
58+
this.classView.renderInfoGraphic();
5659
}
60+
} else {
61+
this.classView.renderInfoGraphic();
5762
}
5863

5964
this.elements.infoButton.addEventListener("click", function () {

0 commit comments

Comments
 (0)