public class UnresolvedClassDeclarationItemProvider extends ClassDeclarationItemProvider implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource
UnresolvedClassDeclaration object.
ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommand, ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommandActionDelegateAdapter.Internal| Constructor and Description |
|---|
UnresolvedClassDeclarationItemProvider(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 UnresolvedClassDeclaration.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). |
getChildrenFeaturesgetResourceLocatoraddListener, 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, unsetTargetgetTargetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCommand, getChildren, getNewChildDescriptors, getParentgetChildren, getParent, hasChildrengetElementsgetEditableValue, getPropertyDescriptorpublic UnresolvedClassDeclarationItemProvider(AdapterFactory adapterFactory)
public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object)
getPropertyDescriptors in interface IItemPropertySourcegetPropertyDescriptors in class ClassDeclarationItemProviderpublic Object getImage(Object object)
getImage in interface IItemLabelProvidergetImage in class ClassDeclarationItemProviderpublic String getText(Object object)
getText in interface IItemLabelProvidergetText in class ClassDeclarationItemProviderpublic 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 AdapternotifyChanged in class ClassDeclarationItemProviderpublic String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection)
CreateChildCommand.
getCreateChildText in interface CreateChildCommand.HelpergetCreateChildText in class ClassDeclarationItemProvider