mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 06:38:17 +00:00
Create a base view configuration class. (#2225)
This commit is contained in:
committed by
Pete Richards
parent
3e7527d55c
commit
74faf1bd48
@ -126,8 +126,13 @@
|
||||
};
|
||||
let style = this.convertPosition(rawPosition);
|
||||
let id = this.openmct.objects.makeKeyString(panel.domainObject.identifier);
|
||||
let config = new SubobjectViewConfiguration(
|
||||
this.newDomainObject, id, panel.hasFrame, rawPosition, openmct);
|
||||
let config = new SubobjectViewConfiguration({
|
||||
domainObject: this.newDomainObject,
|
||||
id: id,
|
||||
hasFrame: panel.hasFrame,
|
||||
rawPosition: rawPosition,
|
||||
openmct: openmct
|
||||
});
|
||||
|
||||
this.layoutItems.push({
|
||||
id: id,
|
||||
@ -148,8 +153,12 @@
|
||||
let id = this.openmct.objects.makeKeyString(alphanumeric.identifier);
|
||||
|
||||
this.openmct.objects.get(id).then(domainObject => {
|
||||
let config = new TelemetryViewConfiguration(
|
||||
this.newDomainObject, alphanumeric, rawPosition, openmct);
|
||||
let config = new TelemetryViewConfiguration({
|
||||
domainObject: this.newDomainObject,
|
||||
alphanumeric: alphanumeric,
|
||||
rawPosition: rawPosition,
|
||||
openmct: openmct
|
||||
});
|
||||
|
||||
this.layoutItems.push({
|
||||
id: id,
|
||||
|
Reference in New Issue
Block a user