org.eclipse.gmf.runtime.lite.edit.parts.labels
Class ItemProviderLabelTextDisplayer

java.lang.Object
  extended by org.eclipse.gmf.runtime.lite.edit.parts.labels.AbstractLabelTextDisplayer
      extended by org.eclipse.gmf.runtime.lite.edit.parts.labels.ItemProviderLabelTextDisplayer
All Implemented Interfaces:
ILabelTextDisplayer

public class ItemProviderLabelTextDisplayer
extends AbstractLabelTextDisplayer

Label text displayer that displays the text as provided by the IItemLabelProvider. The label is not editable.


Constructor Summary
ItemProviderLabelTextDisplayer(org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
           
 
Method Summary
 String getDisplayText(org.eclipse.emf.ecore.EObject source)
          Returns the text a label for the given source object should display.
 boolean isAffectingEvent(org.eclipse.emf.common.notify.Notification notification)
          Returns whether the given notification may cause a source to require update of the label.
 
Methods inherited from class org.eclipse.gmf.runtime.lite.edit.parts.labels.AbstractLabelTextDisplayer
getApplyCommand, getEditText, getValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemProviderLabelTextDisplayer

public ItemProviderLabelTextDisplayer(org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
Method Detail

getDisplayText

public String getDisplayText(org.eclipse.emf.ecore.EObject source)
Description copied from interface: ILabelTextDisplayer
Returns the text a label for the given source object should display.


isAffectingEvent

public boolean isAffectingEvent(org.eclipse.emf.common.notify.Notification notification)
Description copied from interface: ILabelTextDisplayer
Returns whether the given notification may cause a source to require update of the label.



Copyright © 2012. All Rights Reserved.