org.eclipse.gmf.runtime.lite.edit.parts.labels
Class ItemProviderLabelTextDisplayer
java.lang.Object
org.eclipse.gmf.runtime.lite.edit.parts.labels.AbstractLabelTextDisplayer
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemProviderLabelTextDisplayer
public ItemProviderLabelTextDisplayer(org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
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.