mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 15:43:48 +00:00
[Fixed Position] Begin adding placeholder toolbar
Begin adding placeholder toolbar for fixed position view, WTD-879.
This commit is contained in:
@ -25,8 +25,9 @@
|
|||||||
{
|
{
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"property": "add",
|
"method": "add",
|
||||||
"control": "button"
|
"control": "button",
|
||||||
|
"text": "Add"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -194,6 +194,14 @@ define(
|
|||||||
// Initialize styles (position etc.) for cells
|
// Initialize styles (position etc.) for cells
|
||||||
refreshCellStyles();
|
refreshCellStyles();
|
||||||
|
|
||||||
|
if (Array.isArray($scope.selection)) {
|
||||||
|
$scope.selection.push({
|
||||||
|
add: function () {
|
||||||
|
window.alert("Placeholder; not yet implemented");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
* Get styles for all background cells, as will populate the
|
* Get styles for all background cells, as will populate the
|
||||||
|
Reference in New Issue
Block a user