public class CompositeOperationItemProvider extends AbstractOperationItemProvider
CompositeOperation object.
NAME_CLASS_TAG_SEPARATOR, NAME_TAG__SEPARATOR, REFERENCE_TYPE_TAG_SEPARATOR| Constructor and Description |
|---|
CompositeOperationItemProvider(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) |
Collection<? extends org.eclipse.emf.ecore.EStructuralFeature> |
getChildrenFeatures(Object object)
This specifies how to implement
getChildren(java.lang.Object) and is used to deduce an appropriate feature for an
AddCommand, RemoveCommand or
MoveCommand in ItemProviderAdapter.createCommand(java.lang.Object, org.eclipse.emf.edit.domain.EditingDomain, java.lang.Class<? extends org.eclipse.emf.common.command.Command>, org.eclipse.emf.edit.command.CommandParameter). |
Object |
getImage(Object object)
This returns AbstractOperation.gif.
|
List<org.eclipse.emf.edit.provider.IItemPropertyDescriptor> |
getPropertyDescriptors(Object object)
This returns the property descriptors for the adapted class.
|
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). |
getModelElementClassAndName, getModelElementClassesAndNames, getModelElementName, getModelElementNames, getResourceLocatoraddListener, 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 CompositeOperationItemProvider(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 AbstractOperationItemProviderAbstractOperationItemProvider.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 AbstractOperationItemProviderpublic Collection<? extends org.eclipse.emf.ecore.EStructuralFeature> getChildrenFeatures(Object object)
getChildren(java.lang.Object) and is used to deduce an appropriate feature for an
AddCommand, RemoveCommand or
MoveCommand in ItemProviderAdapter.createCommand(java.lang.Object, org.eclipse.emf.edit.domain.EditingDomain, java.lang.Class<? extends org.eclipse.emf.common.command.Command>, org.eclipse.emf.edit.command.CommandParameter).
getChildrenFeatures in class org.eclipse.emf.edit.provider.ItemProviderAdapterpublic Object getImage(Object object)
AbstractOperationItemProvidergetImage in interface org.eclipse.emf.edit.provider.IItemLabelProvidergetImage in class AbstractOperationItemProviderobject - the objectpublic String getText(Object object)
getText in interface org.eclipse.emf.edit.provider.IItemLabelProvidergetText in class AbstractOperationItemProviderpublic 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 AbstractOperationItemProviderCopyright © 2017. All rights reserved.