public class ImportLabelProvider extends Object implements org.eclipse.jface.viewers.ILabelProvider
| Constructor and Description |
|---|
ImportLabelProvider(ImportController controller)
Constructs a FileTreeLabelProvider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(org.eclipse.jface.viewers.ILabelProviderListener arg0)
Adds a listener to this label provider.
|
void |
dispose() |
org.eclipse.swt.graphics.Image |
getImage(Object arg0)
Gets the image to display for a node in the tree.
|
ImportSource |
getSource() |
String |
getText(Object arg0)
Gets the text to display for a node in the tree.
|
boolean |
isLabelProperty(Object arg0,
String arg1)
Returns whether changes to the specified property on the specified
element would affect the label for the element.
|
void |
removeListener(org.eclipse.jface.viewers.ILabelProviderListener arg0)
Removes the listener.
|
void |
setSource(ImportSource source) |
public ImportLabelProvider(ImportController controller)
controller - the controller which handles the importpublic org.eclipse.swt.graphics.Image getImage(Object arg0)
getImage in interface org.eclipse.jface.viewers.ILabelProviderarg0 - the nodepublic String getText(Object arg0)
getText in interface org.eclipse.jface.viewers.ILabelProviderarg0 - the nodepublic void dispose()
dispose in interface org.eclipse.jface.viewers.IBaseLabelProviderIBaseLabelProvider.dispose()public boolean isLabelProperty(Object arg0, String arg1)
isLabelProperty in interface org.eclipse.jface.viewers.IBaseLabelProviderarg0 - the elementarg1 - the propertypublic void addListener(org.eclipse.jface.viewers.ILabelProviderListener arg0)
addListener in interface org.eclipse.jface.viewers.IBaseLabelProviderarg0 - the listenerpublic void removeListener(org.eclipse.jface.viewers.ILabelProviderListener arg0)
removeListener in interface org.eclipse.jface.viewers.IBaseLabelProviderarg0 - the listener to removepublic void setSource(ImportSource source)
source - the import sourcepublic ImportSource getSource()
Copyright © 2017. All rights reserved.