Package org.eclipse.mylyn.internal.provisional.commons.ui

Examples of org.eclipse.mylyn.internal.provisional.commons.ui.AbstractNotificationPopup


    }
  }
 
  static void notify(final Image image, final String title, final String message)
  {
    AbstractNotificationPopup popup = new AbstractNotificationPopup(Display.getDefault()) {
      protected String getPopupShellTitle() {
        return title;
      }
     
      protected Image getPopupShellImage(int maximumHeight) {
        return image;
      }
     
      protected void createContentArea(Composite parent) {
        Label label = new Label(parent, SWT.NONE);
        label.setText(message);
      }
    };
   
    popup.setBlockOnOpen(false);
    popup.setFadingEnabled(true);
    popup.open();
  }
View Full Code Here

TOP

Related Classes of org.eclipse.mylyn.internal.provisional.commons.ui.AbstractNotificationPopup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.