public class MultiReferenceSetOperationItemProvider extends ReferenceOperationItemProvider
MultiReferenceSetOperation object. NAME_CLASS_TAG_SEPARATOR, NAME_TAG__SEPARATOR, REFERENCE_TYPE_TAG_SEPARATOR| Constructor and Description |
|---|
MultiReferenceSetOperationItemProvider(org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends org.eclipse.emf.ecore.EStructuralFeature> |
getChildrenFeatures(Object object)
This specifies how to implement
AbstractOperationItemProvider.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). |
String |
getCreateChildText(Object owner,
Object feature,
Object child,
Collection<?> selection)
This returns the label text for
CreateChildCommand. |
Object |
getImage(Object object)
This returns MultiReferenceSetOperation.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). |
getChildren, getModelElementClassAndName, getModelElementClassesAndNames, getModelElementName, getModelElementNames, getResourceLocatoraddListener, createCommand, crop, dispose, fireNotifyChanged, getAdapterFactory, getBackground, getBackground, getBaseURL, getColumnImage, getColumnText, getCreateChildDescription, getCreateChildImage, getCreateChildResult, 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 MultiReferenceSetOperationItemProvider(org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
public List<org.eclipse.emf.edit.provider.IItemPropertyDescriptor> getPropertyDescriptors(Object object)
getPropertyDescriptors in interface org.eclipse.emf.edit.provider.IItemPropertySourcegetPropertyDescriptors in class ReferenceOperationItemProviderpublic Collection<? extends org.eclipse.emf.ecore.EStructuralFeature> getChildrenFeatures(Object object)
AbstractOperationItemProvider.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)
getImage in interface org.eclipse.emf.edit.provider.IItemLabelProvidergetImage in class ReferenceOperationItemProviderobject - the objectpublic String getText(Object object)
getText in interface org.eclipse.emf.edit.provider.IItemLabelProvidergetText in class ReferenceOperationItemProviderpublic 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 ReferenceOperationItemProviderpublic String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection)
CreateChildCommand. getCreateChildText in interface org.eclipse.emf.edit.command.CreateChildCommand.HelpergetCreateChildText in class org.eclipse.emf.edit.provider.ItemProviderAdapterCopyright © 2017. All rights reserved.