org.eclipse.emf.emfstore.internal.client.ui.dialogs.admin.acimport
Class ImportLabelProvider

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.client.ui.dialogs.admin.acimport.ImportLabelProvider
All Implemented Interfaces:
org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.jface.viewers.ILabelProvider

public class ImportLabelProvider
extends Object
implements org.eclipse.jface.viewers.ILabelProvider

Author:
deser

Constructor Summary
ImportLabelProvider(ImportController controller)
          Constructs a FileTreeLabelProvider.
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportLabelProvider

public ImportLabelProvider(ImportController controller)
Constructs a FileTreeLabelProvider.

Parameters:
controller - the controller which handles the import
Method Detail

getImage

public org.eclipse.swt.graphics.Image getImage(Object arg0)
Gets the image to display for a node in the tree.

Specified by:
getImage in interface org.eclipse.jface.viewers.ILabelProvider
Parameters:
arg0 - the node
Returns:
Image

getText

public String getText(Object arg0)
Gets the text to display for a node in the tree.

Specified by:
getText in interface org.eclipse.jface.viewers.ILabelProvider
Parameters:
arg0 - the node
Returns:
String

dispose

public void dispose()

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

isLabelProperty

public boolean isLabelProperty(Object arg0,
                               String arg1)
Returns whether changes to the specified property on the specified element would affect the label for the element.

Specified by:
isLabelProperty in interface org.eclipse.jface.viewers.IBaseLabelProvider
Parameters:
arg0 - the element
arg1 - the property
Returns:
boolean

addListener

public void addListener(org.eclipse.jface.viewers.ILabelProviderListener arg0)
Adds a listener to this label provider.

Specified by:
addListener in interface org.eclipse.jface.viewers.IBaseLabelProvider
Parameters:
arg0 - the listener

removeListener

public void removeListener(org.eclipse.jface.viewers.ILabelProviderListener arg0)
Removes the listener.

Specified by:
removeListener in interface org.eclipse.jface.viewers.IBaseLabelProvider
Parameters:
arg0 - the listener to remove

setSource

public void setSource(ImportSource source)
Parameters:
source - the import source

getSource

public ImportSource getSource()
Returns:
the import source


Copyright © 2015. All Rights Reserved.