2014-11-24 15:49:50 +00:00
|
|
|
<span ng-controller="ToggleController as toggle">
|
2014-11-24 18:30:45 +00:00
|
|
|
<span ng-controller="TreeNodeController as treeNode">
|
|
|
|
<span class="tree-item menus-to-left">
|
|
|
|
<span class='ui-symbol view-control'
|
2014-11-24 23:10:29 +00:00
|
|
|
ng-click="toggle.toggle(); treeNode.trackExpansion()"
|
2014-11-24 18:30:45 +00:00
|
|
|
ng-if="model.composition !== undefined">
|
|
|
|
{{toggle.isActive() ? "v" : ">"}}
|
|
|
|
</span>
|
|
|
|
<mct-representation key="'label'"
|
|
|
|
mct-object="domainObject"
|
2014-12-03 21:18:51 +00:00
|
|
|
ng-model="ngModel"
|
|
|
|
ng-click="ngModel.selectedObject = domainObject"
|
|
|
|
ng-class="{selected: treeNode.isSelected()}">
|
2014-11-24 18:30:45 +00:00
|
|
|
</mct-representation>
|
|
|
|
</span>
|
|
|
|
<span class="tree-item-subtree"
|
|
|
|
ng-show="toggle.isActive()"
|
|
|
|
ng-if="model.composition !== undefined">
|
|
|
|
|
|
|
|
<mct-representation key="'tree'"
|
2014-12-03 21:18:51 +00:00
|
|
|
ng-model="ngModel"
|
2014-11-24 23:10:29 +00:00
|
|
|
mct-object="treeNode.hasBeenExpanded() && domainObject">
|
2014-11-24 18:30:45 +00:00
|
|
|
</mct-representation>
|
|
|
|
|
|
|
|
</span>
|
2014-11-23 23:41:20 +00:00
|
|
|
</span>
|
|
|
|
</span>
|