public class EtherCATCableItemProvider extends BusCableItemProvider
EtherCATCable
object.
ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommand, ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommandActionDelegate
Adapter.Internal
Constructor and Description |
---|
EtherCATCableItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier.
|
Modifier and Type | Method and Description |
---|---|
String |
getCreateChildText(Object owner,
Object feature,
Object child,
Collection<?> selection)
This returns the label text for
CreateChildCommand . |
Object |
getImage(Object object)
This returns EtherCATCable.gif.
|
List<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(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) . |
getChildrenFeatures, getResourceLocator
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 EtherCATCableItemProvider(AdapterFactory adapterFactory)
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object)
getPropertyDescriptors
in interface IItemPropertySource
getPropertyDescriptors
in class BusCableItemProvider
public Object getImage(Object object)
getImage
in interface IItemLabelProvider
getImage
in class BusCableItemProvider
public String getText(Object object)
getText
in interface IItemLabelProvider
getText
in class BusCableItemProvider
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 BusCableItemProvider
public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection)
CreateChildCommand
.
getCreateChildText
in interface CreateChildCommand.Helper
getCreateChildText
in class BusCableItemProvider