mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 09:52:04 +00:00
add clock to no styles objects, initialize event message generators with configurations
This commit is contained in:
parent
d92a2b71d0
commit
9d92ba9893
@ -35,6 +35,9 @@ export default function EventGeneratorPlugin(options) {
|
|||||||
object.telemetry = {
|
object.telemetry = {
|
||||||
duration: 5
|
duration: 5
|
||||||
};
|
};
|
||||||
|
object.configuration = {
|
||||||
|
objectStyles: {}
|
||||||
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
openmct.telemetry.addProvider(new EventTelemetryProvider());
|
openmct.telemetry.addProvider(new EventTelemetryProvider());
|
||||||
@ -50,6 +53,9 @@ export default function EventGeneratorPlugin(options) {
|
|||||||
object.telemetry = {
|
object.telemetry = {
|
||||||
duration: 2.5
|
duration: 2.5
|
||||||
};
|
};
|
||||||
|
object.configuration = {
|
||||||
|
objectStyles: {}
|
||||||
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -25,7 +25,14 @@ import mount from 'utils/mount';
|
|||||||
import StylesInspectorView from './StylesInspectorView.vue';
|
import StylesInspectorView from './StylesInspectorView.vue';
|
||||||
import stylesManager from './StylesManager.js';
|
import stylesManager from './StylesManager.js';
|
||||||
|
|
||||||
const NON_STYLABLE_TYPES = ['folder', 'webPage', 'conditionSet', 'summary-widget', 'hyperlink'];
|
const NON_STYLABLE_TYPES = [
|
||||||
|
'folder',
|
||||||
|
'webPage',
|
||||||
|
'conditionSet',
|
||||||
|
'summary-widget',
|
||||||
|
'hyperlink',
|
||||||
|
'clock'
|
||||||
|
];
|
||||||
|
|
||||||
function isLayoutObject(selection, objectType) {
|
function isLayoutObject(selection, objectType) {
|
||||||
//we allow conditionSets to be styled if they're part of a layout
|
//we allow conditionSets to be styled if they're part of a layout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user