2015-01-15 01:48:57 +00:00
|
|
|
<div style="width: 100%; height: 100%;"
|
|
|
|
ng-controller="FixedController as controller">
|
|
|
|
|
|
|
|
<div ng-repeat="childObject in composition"
|
|
|
|
ng-style="controller.getStyle(childObject.getId())">
|
|
|
|
|
2015-01-16 02:36:48 +00:00
|
|
|
<div ng-style="controller.getCellStyle()">
|
|
|
|
{{childObject.getModel().name}}
|
|
|
|
</div>
|
|
|
|
<div ng-style="controller.getCellStyle()">
|
|
|
|
{{controller.getValue(childObject.getId())}}
|
2015-01-15 01:48:57 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Drag handles -->
|
|
|
|
<span ng-show="domainObject.hasCapability('editor')">
|
|
|
|
<span style="position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; cursor: move;"
|
|
|
|
mct-drag-down="controller.startDrag(childObject.getId(), [1,1], [0,0])"
|
|
|
|
mct-drag="controller.continueDrag(delta)"
|
|
|
|
mct-drag-up="controller.endDrag()">
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|