package com.m4gik.presentation;

import java.util.logging.Logger;

import javax.servlet.annotation.WebServlet;

import com.vaadin.annotations.Theme;
import com.vaadin.annotations.VaadinServletConfiguration;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet;
import com.vaadin.ui.UI;

@Theme("runo")
@SuppressWarnings("serial")
public class DistributedTransactionUI extends UI {

    @WebServlet(value = "/*", asyncSupported = true)
    @VaadinServletConfiguration(productionMode = false, ui = DistributedTransactionUI.class, widgetset = "com.vaadin.DefaultWidgetSet")
    public static class Servlet extends VaadinServlet {
    }

    private final static Logger logger = Logger
            .getLogger(DistributedTransactionUI.class.getName());

    @Override
    protected void init(VaadinRequest request) {
        // TODO Auto-generated method stub

    }

}

@@ -1,8 +1,118 @@
+/**%0A * Project Distributed Transactions.%0A * Copyright Micha%C5%82 Szczygie%C5%82, 2013.%0A * Created at Dec 28, 2013.%0A */%0A
 package 
@@ -415,107 +415,449 @@
 .ui.
-UI;%0A%0A@Theme(%22runo%22)%0A@SuppressWarnings(%22serial%22)%0Apublic class DistributedTransactionUI extends UI %7B%0A
+Label;%0Aimport com.vaadin.ui.UI;%0A%0A/**%0A * %0A * This class represents user interface for distributed transaction as proof of%0A * concept.%0A * %0A * @author m4gik %3Cmichal.szczygiel@wp.pl%3E%0A * %0A */%0A@Theme(%22runo%22)%0A@SuppressWarnings(%22serial%22)%0Apublic class DistributedTransactionUI extends UI %7B%0A%0A    /**%0A     * %0A     * Inner static class represents Servlet. This class can be extended.%0A     * %0A     * @author m4gik %3Cmichal.szczygiel@wp.pl%3E%0A     * %0A     */
 %0A   
@@ -1105,16 +1105,72 @@
 %0A    %7D%0A%0A
+    /**%0A     * Looger for reporting in runtime.%0A     */%0A
     priv
@@ -1276,16 +1276,255 @@
 me());%0A%0A
+    /**%0A     * This method initialize a base components for distributed transaction as%0A     * UI for application. This method overrides an existing method.%0A     * %0A     * @see com.vaadin.ui.UI#init(com.vaadin.server.VaadinRequest)%0A     */%0A
     @Ove
@@ -1590,43 +1590,38 @@
     
-// TODO Auto-generated method stub%0A
+setContent(new Label(%22Test%22));
 %0A   

Add comments to UI class