view.mailBoxView.util
Class MailBoxTableContentProvider

java.lang.Object
  extended by view.mailBoxView.util.MailBoxTableContentProvider
All Implemented Interfaces:
org.eclipse.jface.viewers.IContentProvider, org.eclipse.jface.viewers.IStructuredContentProvider

public class MailBoxTableContentProvider
extends java.lang.Object
implements org.eclipse.jface.viewers.IStructuredContentProvider

Content provider for the table in the mailbox view.

Author:
pgroudas

Constructor Summary
MailBoxTableContentProvider()
          Constructs a new MailBoxTableContentProvider
 
Method Summary
 void dispose()
          this implementation of MailBoxTableContentProvider does nothing for this method.
 java.lang.Object[] getElements(java.lang.Object arg0)
          Gets the rows of the table.
 void inputChanged(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object arg1, java.lang.Object arg2)
          this implementation of MailBoxTableContentProvider does nothing for this method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailBoxTableContentProvider

public MailBoxTableContentProvider()
Constructs a new MailBoxTableContentProvider

Method Detail

getElements

public java.lang.Object[] getElements(java.lang.Object arg0)
Gets the rows of the table. Iterates through the list, removes any elements that are not articles, and returns an array of the remaining elements.

Specified by:
getElements in interface org.eclipse.jface.viewers.IStructuredContentProvider

dispose

public void dispose()
this implementation of MailBoxTableContentProvider does nothing for this method.

Specified by:
dispose in interface org.eclipse.jface.viewers.IContentProvider

inputChanged

public void inputChanged(org.eclipse.jface.viewers.Viewer viewer,
                         java.lang.Object arg1,
                         java.lang.Object arg2)
this implementation of MailBoxTableContentProvider does nothing for this method.

Specified by:
inputChanged in interface org.eclipse.jface.viewers.IContentProvider