2014-11-24 07:49:50 -08:00
|
|
|
<span ng-controller="ToggleController as toggle">
|
|
|
|
<span class="tree-item menus-to-left" ng-controller="TreeNodeController">
|
|
|
|
<span class='ui-symbol view-control'
|
|
|
|
ng-click="toggle.toggle()"
|
|
|
|
ng-if="model.composition !== undefined">
|
|
|
|
{{toggle.isActive() ? "v" : ">"}}
|
2014-11-23 15:41:20 -08:00
|
|
|
</span>
|
|
|
|
<mct-representation key="'label'"
|
|
|
|
mct-object="domainObject"
|
|
|
|
parameters="parameters"
|
|
|
|
ng-click="parameters.callback(domainObject)"
|
|
|
|
ng-class="{selected: node.isSelected}">
|
|
|
|
</mct-representation>
|
|
|
|
</span>
|
2014-11-24 07:49:50 -08:00
|
|
|
<span class="tree-item-subtree"
|
|
|
|
ng-show="toggle.isActive()"
|
|
|
|
ng-if="model.composition !== undefined">
|
2014-11-23 15:41:20 -08:00
|
|
|
<mct-representation key="'tree'"
|
|
|
|
parameters="parameters"
|
|
|
|
mct-object="node.domainObject">
|
|
|
|
</mct-representation>
|
|
|
|
</span>
|
|
|
|
</span>
|