servicediscovery
Class View.ViewContentProvider

java.lang.Object
  extended by servicediscovery.View.ViewContentProvider
All Implemented Interfaces:
org.eclipse.jface.viewers.IContentProvider, org.eclipse.jface.viewers.IStructuredContentProvider
Enclosing class:
View

 class View.ViewContentProvider
extends java.lang.Object
implements org.eclipse.jface.viewers.IStructuredContentProvider

The content provider class is responsible for providing objects to the view. It can wrap existing objects in adapters or simply return objects as-is. These objects may be sensitive to the current input of the view, or ignore it and always show the same content (like Task List, for example).


Constructor Summary
View.ViewContentProvider()
           
 
Method Summary
 void dispose()
           
 java.lang.Object[] getElements(java.lang.Object parent)
           
 void inputChanged(org.eclipse.jface.viewers.Viewer v, java.lang.Object oldInput, java.lang.Object newInput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

View.ViewContentProvider

View.ViewContentProvider()
Method Detail

inputChanged

public void inputChanged(org.eclipse.jface.viewers.Viewer v,
                         java.lang.Object oldInput,
                         java.lang.Object newInput)
Specified by:
inputChanged in interface org.eclipse.jface.viewers.IContentProvider

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.jface.viewers.IContentProvider

getElements

public java.lang.Object[] getElements(java.lang.Object parent)
Specified by:
getElements in interface org.eclipse.jface.viewers.IStructuredContentProvider