mirror of
https://github.com/nasa/openmct.git
synced 2025-01-13 00:09:47 +00:00
[Inspector] Inspection of Library and Elements
In edit mode, the user can now use the object inspector to inspect the objects contained within the Library and Elements panes.
This commit is contained in:
parent
8f40d7d9ee
commit
50c08a15d6
@ -54,7 +54,8 @@
|
||||
>
|
||||
<mct-container key="accordion" label="Library">
|
||||
<mct-representation key="'tree'"
|
||||
mct-object="editPanes.getRoot()">
|
||||
mct-object="editPanes.getRoot()"
|
||||
ng-model="ngModel">
|
||||
</mct-representation>
|
||||
</mct-container>
|
||||
</div>
|
||||
@ -64,7 +65,9 @@
|
||||
ng-controller="ToggleController as toggle"
|
||||
>
|
||||
<mct-container key="accordion" label="Elements">
|
||||
<mct-representation key="'edit-elements'" mct-object="domainObject">
|
||||
<mct-representation key="'edit-elements'"
|
||||
mct-object="domainObject"
|
||||
ng-model="ngModel">
|
||||
</mct-representation>
|
||||
</mct-container>
|
||||
</div>
|
||||
|
@ -24,7 +24,9 @@
|
||||
<ul class="tree">
|
||||
<li ng-repeat="containedObject in composition">
|
||||
<span class="tree-item">
|
||||
<mct-representation key="'label'" mct-object="containedObject">
|
||||
<mct-representation key="'label'"
|
||||
mct-object="containedObject"
|
||||
ng-click="ngModel.inspectionObjects = [containedObject]">
|
||||
</mct-representation>
|
||||
</span>
|
||||
</li>
|
||||
|
@ -21,10 +21,9 @@
|
||||
-->
|
||||
<span ng-controller="ToggleController as toggle">
|
||||
<span ng-controller="TreeNodeController as treeNode">
|
||||
<span
|
||||
class="tree-item menus-to-left"
|
||||
ng-class="{selected: treeNode.isSelected()}"
|
||||
>
|
||||
<span class="tree-item menus-to-left"
|
||||
ng-class="{selected: treeNode.isSelected()}"
|
||||
ng-click="ngModel.inspectionObjects = [domainObject]">
|
||||
<span
|
||||
class='ui-symbol view-control'
|
||||
ng-click="toggle.toggle(); treeNode.trackExpansion()"
|
||||
|
Loading…
Reference in New Issue
Block a user