def get_layout(self, layout, include_sizes=True):
        for name, q_dock_area in AREA_MAP.iteritems():
            sublayout = self.get_layout_for_area(q_dock_area, include_sizes)
            setattr(layout, name, sublayout)
Get the layout by adding sublayouts to the specified DockLayout.
dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/tasks/main_window_layout.py/MainWindowLayout.get_layout