|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.emf.edit.provider.AdapterFactoryItemDelegator
| Field Summary | |
|---|---|
protected AdapterFactory |
adapterFactory
This keeps track of the factory used to generate the adapters. |
| Constructor Summary | |
|---|---|
AdapterFactoryItemDelegator(AdapterFactory adapterFactory)
|
|
| Method Summary | |
|---|---|
Command |
createCommand(java.lang.Object object,
EditingDomain editingDomain,
java.lang.Class commandClass,
CommandParameter commandParameter)
This does the same thing as EditingDomain.createCommand,
i.e., it creates commands for a domain's model objects. |
AdapterFactory |
getAdapterFactory()
|
java.util.Collection |
getChildren(java.lang.Object object)
This does the same thing as ITreeContentProvider.getChildren. |
java.lang.Object |
getColumnImage(java.lang.Object object,
int columnIndex)
This does the same thing as ITableLabelProvider.getColumnImage. |
java.lang.String |
getColumnText(java.lang.Object object,
int columnIndex)
This does the same thing as ITableLabelProvider.getColumnText. |
java.lang.Object |
getEditableValue(java.lang.Object object)
This returns the value to be edited. |
java.util.Collection |
getElements(java.lang.Object object)
This does the same thing as IStructuredContentProvider.getElements. |
java.lang.Object |
getImage(java.lang.Object object)
This does the same thing as ILabelProvider.getImage, it fetches the label image specific to this object instance. |
java.util.Collection |
getNewChildDescriptors(java.lang.Object object,
EditingDomain editingDomain,
java.lang.Object sibling)
This returns a list of objects describing the different children that can be added under the specified object in the editing domain, following the specified sibling as closely as possible (if non-null). |
java.lang.Object |
getParent(java.lang.Object object)
This does the same thing as ITreeContentProvider.getParent. |
IItemPropertyDescriptor |
getPropertyDescriptor(java.lang.Object object,
java.lang.Object propertyId)
This returns the property descriptor with the given ID. |
java.util.List |
getPropertyDescriptors(java.lang.Object object)
This does the same thing as IPropertySource.getPropertyDescriptors. |
java.lang.String |
getText(java.lang.Object object)
This does the same thing as ILabelProvider.getText, it fetches the label text specific to this object instance. |
boolean |
hasChildren(java.lang.Object object)
This does the same thing as ITreeContentProvider.hasChildren. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected AdapterFactory adapterFactory
| Constructor Detail |
public AdapterFactoryItemDelegator(AdapterFactory adapterFactory)
| Method Detail |
public AdapterFactory getAdapterFactory()
public java.lang.String getText(java.lang.Object object)
getText in interface IItemLabelProviderpublic java.lang.Object getImage(java.lang.Object object)
getImage in interface IItemLabelProvider
public java.lang.String getColumnText(java.lang.Object object,
int columnIndex)
getColumnText in interface ITableItemLabelProvider
public java.lang.Object getColumnImage(java.lang.Object object,
int columnIndex)
getColumnImage in interface ITableItemLabelProviderpublic java.util.List getPropertyDescriptors(java.lang.Object object)
IItemPropertySource
getPropertyDescriptors in interface IItemPropertySource
public IItemPropertyDescriptor getPropertyDescriptor(java.lang.Object object,
java.lang.Object propertyId)
IItemPropertySource
getPropertyDescriptor in interface IItemPropertySourcepublic java.lang.Object getEditableValue(java.lang.Object object)
IItemPropertySource
getEditableValue in interface IItemPropertySourcepublic java.util.Collection getElements(java.lang.Object object)
getElements in interface IStructuredItemContentProviderpublic java.util.Collection getChildren(java.lang.Object object)
getChildren in interface IEditingDomainItemProviderpublic boolean hasChildren(java.lang.Object object)
hasChildren in interface ITreeItemContentProviderpublic java.lang.Object getParent(java.lang.Object object)
getParent in interface IEditingDomainItemProvider
public java.util.Collection getNewChildDescriptors(java.lang.Object object,
EditingDomain editingDomain,
java.lang.Object sibling)
getNewChildDescriptors in interface IEditingDomainItemProvider
public Command createCommand(java.lang.Object object,
EditingDomain editingDomain,
java.lang.Class commandClass,
CommandParameter commandParameter)
EditingDomain.createCommand,
i.e., it creates commands for a domain's model objects.
createCommand in interface IEditingDomainItemProvider
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||