public class CodeItemProvider
extends org.eclipse.emf.edit.provider.ItemProviderAdapter
implements org.eclipse.emf.edit.provider.IEditingDomainItemProvider, org.eclipse.emf.edit.provider.IStructuredItemContentProvider, org.eclipse.emf.edit.provider.ITreeItemContentProvider, org.eclipse.emf.edit.provider.IItemLabelProvider, org.eclipse.emf.edit.provider.IItemPropertySource
ICode object. | Constructor and Description |
|---|
CodeItemProvider(org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getImage(java.lang.Object object)
This returns Code.gif.
|
java.util.List<org.eclipse.emf.edit.provider.IItemPropertyDescriptor> |
getPropertyDescriptors(java.lang.Object object)
This returns the property descriptors for the adapted class.
|
org.eclipse.emf.common.util.ResourceLocator |
getResourceLocator()
Return the resource locator for this item provider's resources.
|
java.lang.String |
getText(java.lang.Object object)
This returns the label text for the adapted class.
|
void |
notifyChanged(org.eclipse.emf.common.notify.Notification notification)
This handles model notifications by calling
ItemProviderAdapter.updateChildren(org.eclipse.emf.common.notify.Notification) to update any cached children and by creating a viewer notification, which it passes
to ItemProviderAdapter.fireNotifyChanged(org.eclipse.emf.common.notify.Notification). |
addListener, createCommand, crop, dispose, fireNotifyChanged, getAdapterFactory, getBackground, getBackground, getBaseURL, getChildren, getColumnImage, getColumnText, getCreateChildDescription, getCreateChildImage, getCreateChildResult, getCreateChildText, getCreateChildToolTipText, getEditableValue, getElements, getFont, getFont, getForeground, getForeground, getImage, getNewChildDescriptors, getParent, getPropertyDescriptor, getPropertyValue, getString, getString, getString, getString, getStyledText, getUpdateableText, hasChildren, isAdapterForType, isPropertySet, removeListener, resetPropertyValue, setPropertyValue, setTarget, unsetTargetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCommand, getChildren, getNewChildDescriptors, getParentgetChildren, getParent, hasChildrenpublic CodeItemProvider(org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
public java.util.List<org.eclipse.emf.edit.provider.IItemPropertyDescriptor> getPropertyDescriptors(java.lang.Object object)
getPropertyDescriptors in interface org.eclipse.emf.edit.provider.IItemPropertySourcegetPropertyDescriptors in class org.eclipse.emf.edit.provider.ItemProviderAdapterpublic java.lang.Object getImage(java.lang.Object object)
getImage in interface org.eclipse.emf.edit.provider.IItemLabelProvidergetImage in class org.eclipse.emf.edit.provider.ItemProviderAdapterpublic java.lang.String getText(java.lang.Object object)
getText in interface org.eclipse.emf.edit.provider.IItemLabelProvidergetText in class org.eclipse.emf.edit.provider.ItemProviderAdapterpublic void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
ItemProviderAdapter.updateChildren(org.eclipse.emf.common.notify.Notification) to update any cached children and by creating a viewer notification, which it passes
to ItemProviderAdapter.fireNotifyChanged(org.eclipse.emf.common.notify.Notification). notifyChanged in interface org.eclipse.emf.common.notify.AdapternotifyChanged in class org.eclipse.emf.common.notify.impl.AdapterImplpublic org.eclipse.emf.common.util.ResourceLocator getResourceLocator()
getResourceLocator in class org.eclipse.emf.edit.provider.ItemProviderAdapter