|
|||||||||||
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(Object object,
EditingDomain editingDomain,
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()
|
Collection |
getChildren(Object object)
This does the same thing as ITreeContentProvider.getChildren. |
Object |
getColumnImage(Object object,
int columnIndex)
This does the same thing as ITableLabelProvider.getColumnImage. |
String |
getColumnText(Object object,
int columnIndex)
This does the same thing as ITableLabelProvider.getColumnText. |
Object |
getEditableValue(Object object)
This returns the value to be edited. |
Collection |
getElements(Object object)
This does the same thing as IStructuredContentProvider.getElements. |
Object |
getImage(Object object)
This does the same thing as ILabelProvider.getImage, it fetches the label image specific to this object instance. |
Collection |
getNewChildDescriptors(Object object,
EditingDomain editingDomain,
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). |
Object |
getParent(Object object)
This does the same thing as ITreeContentProvider.getParent. |
IItemPropertyDescriptor |
getPropertyDescriptor(Object object,
Object propertyId)
This returns the property descriptor with the given ID. |
List |
getPropertyDescriptors(Object object)
This does the same thing as IPropertySource.getPropertyDescriptors. |
String |
getText(Object object)
This does the same thing as ILabelProvider.getText, it fetches the label text specific to this object instance. |
boolean |
hasChildren(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 String getText(Object object)
getText
in interface IItemLabelProvider
public Object getImage(Object object)
getImage
in interface IItemLabelProvider
public String getColumnText(Object object, int columnIndex)
getColumnText
in interface ITableItemLabelProvider
public Object getColumnImage(Object object, int columnIndex)
getColumnImage
in interface ITableItemLabelProvider
public List getPropertyDescriptors(Object object)
IItemPropertySource
getPropertyDescriptors
in interface IItemPropertySource
public IItemPropertyDescriptor getPropertyDescriptor(Object object, Object propertyId)
IItemPropertySource
getPropertyDescriptor
in interface IItemPropertySource
public Object getEditableValue(Object object)
IItemPropertySource
getEditableValue
in interface IItemPropertySource
public Collection getElements(Object object)
getElements
in interface IStructuredItemContentProvider
public Collection getChildren(Object object)
getChildren
in interface IEditingDomainItemProvider
public boolean hasChildren(Object object)
hasChildren
in interface ITreeItemContentProvider
public Object getParent(Object object)
getParent
in interface IEditingDomainItemProvider
public Collection getNewChildDescriptors(Object object, EditingDomain editingDomain, Object sibling)
getNewChildDescriptors
in interface IEditingDomainItemProvider
public Command createCommand(Object object, EditingDomain editingDomain, 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 |