mirror of
https://github.com/nasa/openmct.git
synced 2025-01-11 07:23:16 +00:00
26 lines
617 B
JavaScript
26 lines
617 B
JavaScript
|
/*global define*/
|
||
|
|
||
|
define(
|
||
|
[],
|
||
|
function () {
|
||
|
"use strict";
|
||
|
|
||
|
/**
|
||
|
* Proxy for configuring a fixed position view via the toolbar.
|
||
|
* @constructor
|
||
|
* @param configuration the view configuration object
|
||
|
*/
|
||
|
function FixedProxy(configuration) {
|
||
|
return {
|
||
|
/**
|
||
|
* Add a new visual element to this view.
|
||
|
*/
|
||
|
add: function (type) {
|
||
|
window.alert("Placeholder. Should add a " + type + ".");
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
return FixedProxy;
|
||
|
}
|
||
|
);
|