<commit_before>/*******************************************************************************
 * Copyright (c) 2012 by committers of lunifera.org
 * 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 * <NAME> - initial API and implementation
 * 
 *******************************************************************************/
package org.lunifera.web.ecp.uimodel.presentation.vaadin.example;

import org.lunifera.web.vaadin.common.OSGiUI;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.vaadin.annotations.Theme;
import com.vaadin.server.VaadinRequest;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.themes.Reindeer;

/**
 * Specify the class name after the factory name.
 */
@Theme(Reindeer.THEME_NAME)
public class UiModelDemoUI extends OSGiUI {

	private static final Logger logger = LoggerFactory
			.getLogger(UiModelDemoUI.class);

	private static final long serialVersionUID = 1L;

	@Override
	public void init(VaadinRequest request) {
		VerticalLayout content = new VerticalLayout();
		content.setMargin(true);
		content.setSizeFull();
		
		TabSheet sheet = new TabSheet();
		sheet.setSizeFull();
		content.addComponent(sheet);
		setContent(content);

		// add all examples
		//
		sheet.addTab(new GridlayoutFactory().createComponent(), "Gridlayout");
	}
}<commit_msg>Including 2 new Tabs for HorizontalLayout and VerticalLayout.<commit_after>/*******************************************************************************
 * Copyright (c) 2012 by committers of lunifera.org
 * 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 * <NAME> - initial API and implementation
 * 
 *******************************************************************************/
package org.lunifera.web.ecp.uimodel.presentation.vaadin.example;

import org.lunifera.web.vaadin.common.OSGiUI;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.vaadin.annotations.Theme;
import com.vaadin.server.VaadinRequest;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.themes.Reindeer;

/**
 * Specify the class name after the factory name.
 */
@Theme(Reindeer.THEME_NAME)
public class UiModelDemoUI extends OSGiUI {

	private static final Logger logger = LoggerFactory
			.getLogger(UiModelDemoUI.class);

	private static final long serialVersionUID = 1L;

	@Override
	public void init(VaadinRequest request) {
		VerticalLayout content = new VerticalLayout();
		content.setMargin(true);
		content.setSizeFull();
		
		TabSheet sheet = new TabSheet();
		sheet.setSizeFull();
		content.addComponent(sheet);
		setContent(content);

		// add all examples
		//
		sheet.addTab(new GridLayoutFactory().createComponent(), "GridLayout");
		sheet.addTab(new HorizontalLayoutFactory().createComponent(), "HorizontalLayout");
		sheet.addTab(new VerticalLayoutFactory().createComponent(), "VerticalLayout");
	}
}
{'fraction_non_alphanumeric': 0.18854916067146282, 'fraction_numerical': 0.006894484412470024, 'mean_word_length': 5.3081285444234405, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3116622', 'n_tokens_mistral': 1036, 'n_tokens_neox': 916, 'n_words': 239}