[Fixed Position] Allow views to populate toolbar
Add a toolbar representer to share enough scope that views become capable of populating toolbars. Needed for toolbar of fixed position view, WTD-615.
This commit is contained in:
@@ -2,13 +2,20 @@
|
||||
mct-object="domainObject"
|
||||
ng-model="representation">
|
||||
</mct-representation>
|
||||
<div class="holder edit-area outline abs">
|
||||
<!-- edit toolbar goes here -->
|
||||
<div class="holder edit-area outline abs"
|
||||
ng-init="toolbar = {}">
|
||||
|
||||
<mct-toolbar name="mctToolbar"
|
||||
structure="toolbar.structure"
|
||||
ng-model="toolbar.state">
|
||||
</mct-toolbar>
|
||||
|
||||
<div class='split-layout vertical contents abs work-area'>
|
||||
<div class='abs pane left edit-main'>
|
||||
<div class='holder abs object-holder'>
|
||||
<mct-representation key="representation.selected.key"
|
||||
mct-object="domainObject">
|
||||
toolbar="toolbar"
|
||||
mct-object="representation.selected.key && domainObject">
|
||||
</mct-representation>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user