org.eclipse.mylar.internal.tasks.ui
Class TaskListNotificationIncoming
java.lang.Object
org.eclipse.mylar.internal.tasks.ui.TaskListNotificationIncoming
- All Implemented Interfaces:
- java.lang.Comparable<ITaskListNotification>, ITaskListNotification
public class TaskListNotificationIncoming
- extends java.lang.Object
- implements ITaskListNotification
- Author:
- Rob Elves
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
task
private final AbstractRepositoryTask task
description
private java.lang.String description
labelProvider
private org.eclipse.jface.viewers.DecoratingLabelProvider labelProvider
date
private java.util.Date date
TaskListNotificationIncoming
public TaskListNotificationIncoming(AbstractRepositoryTask task)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface ITaskListNotification
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface ITaskListNotification
setDescription
public void setDescription(java.lang.String description)
openTask
public void openTask()
- Specified by:
openTask
in interface ITaskListNotification
getNotificationIcon
public org.eclipse.swt.graphics.Image getNotificationIcon()
- Specified by:
getNotificationIcon
in interface ITaskListNotification
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
getTask
private ITask getTask()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getOverlayIcon
public org.eclipse.swt.graphics.Image getOverlayIcon()
- Specified by:
getOverlayIcon
in interface ITaskListNotification
getDate
public java.util.Date getDate()
- Specified by:
getDate
in interface ITaskListNotification
setDate
public void setDate(java.util.Date date)
- Specified by:
setDate
in interface ITaskListNotification
compareTo
public int compareTo(ITaskListNotification anotherNotification)
throws java.lang.ClassCastException
- Specified by:
compareTo
in interface java.lang.Comparable<ITaskListNotification>
- Throws:
java.lang.ClassCastException