code: protected final void createBasicLayoutWithPanelAndFooter(final String panelName) {
  		final VerticalLayout layout = createFullSizeVerticalLayout();
  		final VerticalLayout pageModeContent = createFullSizeVerticalLayout(false,false);
  		layout.addComponent(pageModeContent);
  
  		final HorizontalLayout topHeader = new HorizontalLayout();
  
  		addLogoToHeader(topHeader);
  		createTopTitleHeader(topHeader);
  
  		topHeaderRightPanel.removeAllComponents();
  		topHeader.addComponent(topHeaderRightPanel);
  		topHeader.setComponentAlignment(topHeaderRightPanel, Alignment.MIDDLE_RIGHT);
  		topHeader.setExpandRatio(topHeaderRightPanel, ContentRatio.LARGE);
  
  		createTopHeaderActionsForUserContext();
  
  		topHeaderRightPanel.setWidth("100%");
  		topHeaderRightPanel.setHeight("50px");
  
  		topHeader.setWidth("100%");
  		topHeader.setHeight("50px");
  
  		pageModeContent.addComponent(topHeader);
  		pageModeContent.setComponentAlignment(topHeader, Alignment.TOP_CENTER);
  
  		pageModeContent.addComponent(getBarmenu());
  		pageModeContent.setComponentAlignment(getBarmenu(), Alignment.TOP_CENTER);
  
  		panel = new Panel(panelName);
  		panel.addStyleName("v-panel-page-panel");
  
  		panel.setSizeFull();
  		pageModeContent.addComponent(panel);
  		pageModeContent.setExpandRatio(panel, ContentRatio.FULL_SIZE);
  
  		pageModeContent.addComponent(pageLinkFactory.createMainViewPageLink());
  		setContent(layout);
  
  		setWidth(100, Unit.PERCENTAGE);
  		setHeight(100, Unit.PERCENTAGE);
  		setSizeFull();
  
  	}
docs: Creates the basic layout with panel and footer.
  
  @param panelName
  the panel name