List of usage examples for com.vaadin.ui Notification show
public static Notification show(String caption, String description, Type type)
From source file:com.wcs.wcslib.vaadin.widget.multifileupload.ui.MultiFileUpload.java
License:Apache License
@Override public void detach() { if (uploadStatePanel.hasUploadInProgress()) { interruptAll();//from w w w . j a v a 2 s. c om Notification.show(uploadStatePanel.getCaption(), interruptedMsg, Notification.Type.WARNING_MESSAGE); } super.detach(); uploadStatePanel.getWindow().removePanel(uploadStatePanel); }