Skip to content

Commit 32ae835

Browse files
show queries option add
1 parent 7b78b46 commit 32ae835

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

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": "1.7.0",
3+
"version": "1.7.1",
44
"description": "An UML Class explorer for InterSystems Caché",
55
"directories": {
66
"test": "test"

web/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ <h1>
112112
<td><input id="setting.showMethods" type="checkbox"/></td>
113113
<td><label for="setting.showMethods">Show Methods</label></td>
114114
</tr>
115+
<tr>
116+
<td><input id="setting.showQueries" type="checkbox"/></td>
117+
<td><label for="setting.showQueries">Show Queries</label></td>
118+
</tr>
115119
</tbody>
116120
</table>
117121
</div>

web/js/CacheUMLExplorer.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ var CacheUMLExplorer = function (treeViewContainer, classViewContainer) {
4141
showDataTypesOnDiagram: id("setting.showDataTypesOnDiagram"),
4242
showParameters: id("setting.showParameters"),
4343
showProperties: id("setting.showProperties"),
44-
showMethods: id("setting.showMethods")
44+
showMethods: id("setting.showMethods"),
45+
showQueries: id("setting.showQueries")
4546
}
4647
};
4748

@@ -55,7 +56,8 @@ var CacheUMLExplorer = function (treeViewContainer, classViewContainer) {
5556
showDataTypesOnDiagram: settingsValue("showDataTypesOnDiagram"),
5657
showParameters: settingsValue("showParameters", true),
5758
showProperties: settingsValue("showProperties", true),
58-
showMethods: settingsValue("showMethods", true)
59+
showMethods: settingsValue("showMethods", true),
60+
showQueries: settingsValue("showQueries", true)
5961
};
6062

6163
this.UI = new UI(this);

web/js/Logic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Logic.prototype.process = function (data) {
3838
if (cls.parameters && !this.umlExplorer.settings.showParameters) delete cls.parameters;
3939
if (cls.properties && !this.umlExplorer.settings.showProperties) delete cls.properties;
4040
if (cls.methods && !this.umlExplorer.settings.showMethods) delete cls.methods;
41+
if (cls.queries && !this.umlExplorer.settings.showQueries) delete cls.queries;
4142
}
4243

4344
this.alignClassTypes(); // call after inheritance scheme done

0 commit comments

Comments
 (0)