package com.vaadin.tests.components.notification;

import com.vaadin.tests.components.TestBase;
import com.vaadin.tests.util.LoremIpsum;
import com.vaadin.ui.Label;
import com.vaadin.ui.Notification;

public class SemiTransparentNotification extends TestBase {

    @Override
    protected void setup() {
        Label l = new Label(LoremIpsum.get(10000));
        getLayout().setSizeFull();
        addComponent(l);
        Notification
                .show("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This should be a <br/><b>SEMI-TRANSPARENT</b><br/> notification",
                        Notification.TYPE_WARNING_MESSAGE);
    }

    @Override
    protected String getDescription() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    protected Integer getTicketNumber() {
        // TODO Auto-generated method stub
        return null;
    }

}

@@ -44,16 +44,47 @@
 ation;%0A%0A
+import com.vaadin.server.Page;%0A
 import c
@@ -120,16 +120,16 @@
 stBase;%0A
-
 import c
@@ -223,16 +223,56 @@
 ication;
+%0Aimport com.vaadin.ui.Notification.Type;
 %0A%0Apublic
@@ -481,16 +481,17 @@
 ent(l);%0A
+%0A
         
@@ -502,16 +502,38 @@
 fication
+ n = new Notification(
 %0A       
@@ -545,14 +545,8 @@
     
-.show(
 %22&nb
@@ -946,49 +946,102 @@
     
-        Notification.TYPE_WARNING_MESSAGE
+Type.WARNING_MESSAGE);%0A        n.setHtmlContentAllowed(true);%0A        n.show(Page.getCurrent()
 );%0A 

Notification should be HTML