net.sf.panoptes.view
Class TreeLabelProvider

java.lang.Object
  |
  +--net.sf.panoptes.view.TreeLabelProvider
All Implemented Interfaces:
org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.jface.viewers.ILabelProvider

public class TreeLabelProvider
extends java.lang.Object
implements org.eclipse.jface.viewers.ILabelProvider

TreeLabelProvider.java

Version:
0.1
Author:
Dag Liodden

Constructor Summary
TreeLabelProvider()
          Constructor for TreeLabelProvider.
 
Method Summary
 void addListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
           
 void dispose()
           
 org.eclipse.swt.graphics.Image getImage(java.lang.Object element)
           
 java.lang.String getText(java.lang.Object element)
           
 boolean isLabelProperty(java.lang.Object element, java.lang.String property)
           
 void removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeLabelProvider

public TreeLabelProvider()
Constructor for TreeLabelProvider.

Method Detail

getImage

public org.eclipse.swt.graphics.Image getImage(java.lang.Object element)
Specified by:
getImage in interface org.eclipse.jface.viewers.ILabelProvider
See Also:
ILabelProvider.getImage(java.lang.Object)

getText

public java.lang.String getText(java.lang.Object element)
Specified by:
getText in interface org.eclipse.jface.viewers.ILabelProvider
See Also:
ILabelProvider.getText(java.lang.Object)

addListener

public void addListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
Specified by:
addListener in interface org.eclipse.jface.viewers.IBaseLabelProvider
See Also:
IBaseLabelProvider.addListener(org.eclipse.jface.viewers.ILabelProviderListener)

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.jface.viewers.IBaseLabelProvider
See Also:
IBaseLabelProvider.dispose()

isLabelProperty

public boolean isLabelProperty(java.lang.Object element,
                               java.lang.String property)
Specified by:
isLabelProperty in interface org.eclipse.jface.viewers.IBaseLabelProvider
See Also:
IBaseLabelProvider.isLabelProperty(java.lang.Object, java.lang.String)

removeListener

public void removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
Specified by:
removeListener in interface org.eclipse.jface.viewers.IBaseLabelProvider
See Also:
IBaseLabelProvider.removeListener(org.eclipse.jface.viewers.ILabelProviderListener)


Copyright © 2003 . All Rights Reserved.