org.eclipse.mylar.internal.tasks.ui
Class TaskListNotificationPopup

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.PopupDialog
          extended by org.eclipse.mylar.internal.tasks.ui.TaskListNotificationPopup
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class TaskListNotificationPopup
extends org.eclipse.jface.dialogs.PopupDialog

Author:
Rob Elves

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
private  org.eclipse.swt.graphics.Rectangle bounds
           
private  org.eclipse.ui.forms.widgets.Form form
           
private static java.lang.String MYLAR_NOTIFICATION_LABEL
           
private  java.util.List<ITaskListNotification> notifications
           
private static java.lang.String NOTIFICATIONS_HIDDEN
           
private static int NUM_NOTIFICATIONS_TO_DISPLAY
           
private  org.eclipse.swt.widgets.Composite sectionClient
           
private  org.eclipse.ui.forms.widgets.FormToolkit toolkit
           
 
Fields inherited from class org.eclipse.jface.dialogs.PopupDialog
HOVER_SHELLSTYLE, INFOPOPUP_SHELLSTYLE, INFOPOPUPRESIZE_SHELLSTYLE, POPUP_HORIZONTALSPACING, POPUP_MARGINHEIGHT, POPUP_MARGINWIDTH, POPUP_VERTICALSPACING
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK
 
Constructor Summary
TaskListNotificationPopup(org.eclipse.swt.widgets.Shell parent)
           
 
Method Summary
protected  org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
           
protected  org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
           
 void initializeBounds()
          Initialize the shell's bounds.
private  org.eclipse.swt.graphics.Rectangle restoreBounds()
           
 void setContents(java.util.List<ITaskListNotification> notifications)
           
 
Methods inherited from class org.eclipse.jface.dialogs.PopupDialog
adjustBounds, applyBackgroundColor, applyForegroundColor, close, configureShell, createInfoTextArea, createTitleControl, createTitleMenuArea, fillDialogMenu, getBackgroundColorExclusions, getDialogSettings, getFocusControl, getForegroundColorExclusions, getInitialLocation, getInitialSize, getPersistBounds, hasInfoArea, hasTitleArea, open, saveDialogBounds, setInfoText, setTabOrder, setTitleText, showDialogMenu
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, create, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOTIFICATIONS_HIDDEN

private static final java.lang.String NOTIFICATIONS_HIDDEN
See Also:
Constant Field Values

NUM_NOTIFICATIONS_TO_DISPLAY

private static final int NUM_NOTIFICATIONS_TO_DISPLAY
See Also:
Constant Field Values

MYLAR_NOTIFICATION_LABEL

private static final java.lang.String MYLAR_NOTIFICATION_LABEL
See Also:
Constant Field Values

toolkit

private org.eclipse.ui.forms.widgets.FormToolkit toolkit

form

private org.eclipse.ui.forms.widgets.Form form

bounds

private org.eclipse.swt.graphics.Rectangle bounds

notifications

private java.util.List<ITaskListNotification> notifications

sectionClient

private org.eclipse.swt.widgets.Composite sectionClient
Constructor Detail

TaskListNotificationPopup

public TaskListNotificationPopup(org.eclipse.swt.widgets.Shell parent)
Method Detail

setContents

public void setContents(java.util.List<ITaskListNotification> notifications)

createContents

protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
Overrides:
createContents in class org.eclipse.jface.dialogs.PopupDialog

createDialogArea

protected final org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
Overrides:
createDialogArea in class org.eclipse.jface.dialogs.PopupDialog

initializeBounds

public void initializeBounds()
Initialize the shell's bounds.

Overrides:
initializeBounds in class org.eclipse.jface.window.Window

restoreBounds

private org.eclipse.swt.graphics.Rectangle restoreBounds()