public MainLayoutPanel(Layout initialLayout,boolean revealOption,Window parent){
  this.revealOption=revealOption;
  this.parent=parent;
  layoutParameterReveal=new DropDownTriangle(UpDirection.LEFT,false,"Settings","Settings",parent);
  layoutCb.setSelectedItem(initialLayout.getDescription());
  layoutPanel=panelMap.get(initialLayout.getDescription());
  layoutPanel.setNeuronLayout(initialLayout);
  initializeLayout();
  addListeners();
}

public MainLayoutPanel ( Layout initialLayout , boolean revealOption , Window parent ) { this . revealOption = revealOption ; this . parent = parent ; layoutParameterReveal = new DropDownTriangle ( UpDirection . LEFT , false , "Settings" , "Settings" , parent ) ; layoutCb . setSelectedItem ( initialLayout . getDescription ( ) ) ; layoutPanel = panelMap . get ( initialLayout . getDescription ( ) ) ; layoutPanel . setNeuronLayout ( initialLayout ) ; initializeLayout ( ) ; addListeners ( ) ; }
creates the main layout panel .
