|
||||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.eclipse.emf.common.notify.impl.AdapterImpl
|
+--org.eclipse.emf.edit.provider.ItemProviderAdapter
|
+--org.eclipse.emf.codegen.ecore.genmodel.provider.GenBaseItemProvider
This is the item provider adpater for a GenBase object.
| Inner Class Summary | |
|---|---|
protected static class |
GenBaseItemProvider.GenItemPropertyDescriptor
A simple extension of ItemPropertyDescriptor that forbids editing of items that will not be persisted. |
static class |
GenBaseItemProvider.UnderlayedImage
|
| Fields inherited from class org.eclipse.emf.edit.provider.ItemProviderAdapter |
|---|
adapterFactory, changeNotifier, childrenReferences, itemPropertyDescriptors, targets |
| Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
|---|
target |
| Constructor Summary | |
|---|---|
GenBaseItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier. |
|
| Method Summary | |
|---|---|
protected static boolean |
canEdit(java.lang.Object object)
Returns whether changes to the object will be persisted. |
java.util.List |
getPropertyDescriptors(java.lang.Object object)
This returns the property descriptors for the adapted class. |
ResourceLocator |
getResourceLocator()
Return the resource locator for this item provider's resources. |
java.lang.String |
getText(java.lang.Object object)
This returns the label text for the adapted class. |
void |
notifyChanged(Notification notification)
This handles notification by calling fireNotifyChanged. |
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
|---|
getTarget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.edit.provider.IEditingDomainItemProvider |
|---|
createCommand, getChildren, getNewChildDescriptors, getParent |
| Methods inherited from interface org.eclipse.emf.edit.provider.IStructuredItemContentProvider |
|---|
getElements |
| Methods inherited from interface org.eclipse.emf.edit.provider.ITreeItemContentProvider |
|---|
getChildren, getParent, hasChildren |
| Methods inherited from interface org.eclipse.emf.edit.provider.IItemLabelProvider |
|---|
getImage |
| Methods inherited from interface org.eclipse.emf.edit.provider.IItemPropertySource |
|---|
getEditableValue, getPropertyDescriptor |
| Constructor Detail |
public GenBaseItemProvider(AdapterFactory adapterFactory)
| Method Detail |
public java.util.List getPropertyDescriptors(java.lang.Object object)
getPropertyDescriptors in interface IItemPropertySourcegetPropertyDescriptors in class ItemProviderAdapterpublic java.lang.String getText(java.lang.Object object)
getText in interface IItemLabelProvidergetText in class ItemProviderAdapterpublic void notifyChanged(Notification notification)
fireNotifyChanged.
notifyChanged in class AdapterImplorg.eclipse.emf.common.notify.Adapternotification - a description of the change.public ResourceLocator getResourceLocator()
getResourceLocator in class ItemProviderAdapterprotected static boolean canEdit(java.lang.Object object)
|
Copyright 2001-2003 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||