ARTEMIS-2444 Artemis hawtio plugin overriding sublevel tabs

This commit is contained in:
TonyJulin 2019-08-01 15:17:03 -07:00 committed by Justin Bertram
parent f303cd7ca9
commit 24c55c8eba
1 changed files with 1 additions and 29 deletions

View File

@ -218,35 +218,7 @@ var ARTEMIS = (function(ARTEMIS) {
} }
}); });
subLevelTabs = []; subLevelTabs = workspace.subLevelTabs;
subLevelTabs.push({
content: '<i class="icon-list"></i> Attributes',
title: "View the attribute values on your selection",
isValid: function () {
return true;
},
href: function () { if (workspace.isTopTabActive("artemis")) return "#/jmx/attributes"; else return "#/jmx/attributes";}
});
subLevelTabs.push({
content: '<i class="icon-leaf"></i> Operations',
title: "Execute operations on your selection",
isValid: function () {
return true;
},
href: function () { if (workspace.isTopTabActive("artemis")) return "#/jmx/operations"; else return "#/jmx/operations";}
});
subLevelTabs.push({
content: '<i class="icon-bar-chart"></i> Chart',
title: "View a chart of the metrics on your selection",
isValid: function () {
return true;
},
href: function () { if (workspace.isTopTabActive("artemis")) return "#/jmx/charts"; else return "#/jmx/charts";}
});
subLevelTabs.push({ subLevelTabs.push({
content: '<i class="icon-plus"></i> Create', content: '<i class="icon-plus"></i> Create',