public class AbstractOperationItemProvider extends IdentifiableElementItemProvider
AbstractOperation object.
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME_CLASS_TAG_SEPARATOR
Constant for name and class tag separator.
|
static String |
NAME_TAG__SEPARATOR
Constant for name tag separator.
|
static String |
REFERENCE_TYPE_TAG_SEPARATOR
Constant for reference type separator
|
| Constructor and Description |
|---|
AbstractOperationItemProvider(org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<?> |
getChildren(Object object) |
Object |
getImage(Object object)
This returns AbstractOperation.gif.
|
static String |
getModelElementClassAndName(ModelElementId modelElementId) |
static String |
getModelElementClassesAndNames(org.eclipse.emf.common.util.EList<ModelElementId> idList,
String typeName)
Returns a comma separated list of class names and model names.
|
static String |
getModelElementName(ModelElementId modelElementId) |
static String |
getModelElementNames(List<ModelElementId> modelElementIds) |
List<org.eclipse.emf.edit.provider.IItemPropertyDescriptor> |
getPropertyDescriptors(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.
|
String |
getText(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, 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, getNewChildDescriptors, getParentgetParent, hasChildrenpublic static final String NAME_CLASS_TAG_SEPARATOR
public static final String NAME_TAG__SEPARATOR
public static final String REFERENCE_TYPE_TAG_SEPARATOR
public AbstractOperationItemProvider(org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
public Collection<?> getChildren(Object object)
getChildren in interface org.eclipse.emf.edit.provider.IEditingDomainItemProvidergetChildren in interface org.eclipse.emf.edit.provider.ITreeItemContentProvidergetChildren in class org.eclipse.emf.edit.provider.ItemProviderAdapterItemProviderAdapter.getChildren(java.lang.Object)public List<org.eclipse.emf.edit.provider.IItemPropertyDescriptor> getPropertyDescriptors(Object object)
getPropertyDescriptors in interface org.eclipse.emf.edit.provider.IItemPropertySourcegetPropertyDescriptors in class IdentifiableElementItemProviderpublic Object getImage(Object object)
getImage in interface org.eclipse.emf.edit.provider.IItemLabelProvidergetImage in class org.eclipse.emf.edit.provider.ItemProviderAdapterpublic String getText(Object object)
getText in interface org.eclipse.emf.edit.provider.IItemLabelProvidergetText in class IdentifiableElementItemProviderpublic 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 IdentifiableElementItemProviderpublic org.eclipse.emf.common.util.ResourceLocator getResourceLocator()
getResourceLocator in class IdentifiableElementItemProviderpublic static String getModelElementName(ModelElementId modelElementId)
public static String getModelElementNames(List<ModelElementId> modelElementIds)
public static String getModelElementClassAndName(ModelElementId modelElementId)
public static String getModelElementClassesAndNames(org.eclipse.emf.common.util.EList<ModelElementId> idList, String typeName)
idList - the list of model element IDs to return the names forCopyright © 2017. All rights reserved.