public class BusCableItemProvider extends CableItemProvider
BusCable
object.
ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommand, ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommandActionDelegate
Adapter.Internal
Constructor and Description |
---|
BusCableItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier.
|
addListener, createCommand, crop, dispose, fireNotifyChanged, getAdapterFactory, getBackground, getBackground, getBaseURL, getChildren, 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, unsetTarget
getTarget
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createCommand, getChildren, getNewChildDescriptors, getParent
getChildren, getParent, hasChildren
getElements
getEditableValue, getPropertyDescriptor
public BusCableItemProvider(AdapterFactory adapterFactory)
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object)
getPropertyDescriptors
in interface IItemPropertySource
getPropertyDescriptors
in class CableItemProvider
public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object)
ItemProviderAdapter.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 ItemProviderAdapter
public Object getImage(Object object)
getImage
in interface IItemLabelProvider
getImage
in class ItemProviderAdapter
public String getText(Object object)
getText
in interface IItemLabelProvider
getText
in class CableItemProvider
public void notifyChanged(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 Adapter
notifyChanged
in class CableItemProvider
public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection)
CreateChildCommand
.
getCreateChildText
in interface CreateChildCommand.Helper
getCreateChildText
in class ItemProviderAdapter
public ResourceLocator getResourceLocator()
getResourceLocator
in class ComponentItemProvider