content: package org.aksw.rdfunit.webdemo.view;
  
  import com.vaadin.server.ExternalResource;
  import com.vaadin.shared.ui.label.ContentMode;
  import com.vaadin.ui.*;
  
  /**
   * displayes general information about the tool
   *
   * @author Dimitris Kontokostas
   * @since 11/15/13 7:41 PM
   */
  public class IntroTab extends VerticalLayout {
  
    public IntroTab() {
      initLayout();
  
    }
  
    private void initLayout() {
      this.setMargin(true);
      this.addComponent(
          new Label("<h2>RDFUnit - A Unit Testing Suite for RDF</h2>", ContentMode.HTML));
  
      this.addComponent(new Label(
          "<p><strong>Welcome to the RDFUnit Demo</strong></p>" +
              "<p>RDFUnit is a testing framework that can verify your data against a schema / vocabulary or custom SPARQL test cases.</p>"
              +
              "<p>Please note that you cannot use all features of RDFUnit from this UI. For example, you cannot define your own tests cases or test SPARQL Endpoints directly. "
              +
              "For more thorough testing please try the command line (CLI) version.</p>",
          ContentMode.HTML));
  
      Link homepage = new Link("Homepage", new ExternalResource("http://rdfunit.aksw.org/"));
      Link github = new Link("Github page", new ExternalResource("https://github.com/AKSW/RDFUnit"));
      Link report = new Link("Report",
          new ExternalResource("http://svn.aksw.org/papers/2014/WWW_Databugger/public.pdf"));
  
      HorizontalLayout links = new HorizontalLayout();
      this.addComponent(links);
      links.setDefaultComponentAlignment(Alignment.BOTTOM_LEFT);
      links.addComponent(
          new Label("To learn more about RDFUnit you can navigate to our: &nbsp;", ContentMode.HTML));
      links.addComponent(homepage);
      links.addComponent(new Label(" / "));
      links.addComponent(github);
      links.addComponent(new Label(" / "));
      links.addComponent(report);
  
  
    }
  }
  