citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/AbstractView.java
private static void addLogoToHeader(final HorizontalLayout topHeader) {
		final ThemeResource ciaLogoResource = new ThemeResource("cia-logo.png");
		final Image ciaLogoImage = new Image(null,ciaLogoResource);
		topHeader.addComponent(ciaLogoImage);
		ciaLogoImage.setWidth("60px");
		ciaLogoImage.setHeight("60px");
		topHeader.setComponentAlignment(ciaLogoImage, Alignment.MIDDLE_LEFT);
		topHeader.setExpandRatio(ciaLogoImage, ContentRatio.SMALL);
	}
private static void addLogoToHeader(final HorizontalLayout topHeader) {
		final ThemeResource ciaLogoResource = new ThemeResource("cia-logo.png");
		final Image ciaLogoImage = new Image(null,ciaLogoResource);
		topHeader.addComponent(ciaLogoImage);
		ciaLogoImage.setWidth("60px");
		ciaLogoImage.setHeight("60px");
		topHeader.setComponentAlignment(ciaLogoImage, Alignment.MIDDLE_LEFT);
		topHeader.setExpandRatio(ciaLogoImage, ContentRatio.SMALL);
	}
private static void addLogoToHeader ( final HorizontalLayout topHeader ) { final ThemeResource ciaLogoResource = new ThemeResource ( "cia-logo.png" ) ; final Image ciaLogoImage = new Image ( null , ciaLogoResource ) ; topHeader . addComponent ( ciaLogoImage ) ; ciaLogoImage . setWidth ( "60px" ) ; ciaLogoImage . setHeight ( "60px" ) ; topHeader . setComponentAlignment ( ciaLogoImage , Alignment . MIDDLE_LEFT ) ; topHeader . setExpandRatio ( ciaLogoImage , ContentRatio . SMALL ) ; }
Adds the logo to header.

@param topHeader
the top header
Adds the logo to header .