Home
Categories
Dictionary
Download
Project Details
Changes Log
Who We Are
FAQ
License

Inlined SuperLayer configuration


An inlined SuperLayer configuration specifies a SuperLayer configuration where elements are completely defined "in-place".

The specification is simple, but the downside is that each element must be defined as many times is is used. For example, if the same Layout is used in two different displays, one Layout will have to be defined for each display.

Example

The following example specifies a cockpit configuration with:
  • One display with two Layouts
  • One of the windows has two Layouts
      <cockpit appliID="1" layerID="10">
         <DFFiles>
            <df path="windowLayoutsLayers.xml" />
         </DFFiles>
         <windows>
            <windowDef name="WindowFull" width="15000" height="10000" x="0" y="0" />
            <windowDef name="Window1" width="10000" height="10000" x="0" y="0" />      
            <windowDef name="Window2" width="5000" height="10000" x="10000" y="0" />  
            <windowDef name="Window3" width="10000" height="5000" x="0" y="0" />      
            <windowDef name="Window4" width="10000" height="5000" x="0" y="5000" />          
         </windows>
         <configs border="255,255,255" borderWidth="3">
            <display id="1" name="display" width="15000" height="10000" defaultLayout="1">
               <layout name="layout1" id="1">
                  <window name="Window1" defaultLayout="childLayout1">
                     <layout name="childLayout1" id="1">
                        <window name="Window3">
                           <layer layerID="1" />
                        </window>
                        <window name="Window4">
                           <layer layerID="2" />
                        </window>                  
                     </layout>               
                     <layout name="childLayout2" id="2">
                        <window name="Window1">
                           <layer layerID="3" />
                        </window>                  
                     </layout>                              
                  </window>
                  <window name="Window2">
                     <layer layerID="4" />                            
                  </window>            
               </layout>
               <layout name="layout2" id="2">
                  <window name="WindowFull" >
                     <layer layerID="5" />                           
                  </window>            
               </layout>         
            </display>
         </configs>
      </cockpit>


superlayerexample

See also


Categories: cockpit | server | user

Copyright 2016-2017 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v2 licence