|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider
org.eclipse.emf.transaction.ui.provider.TransactionalAdapterFactoryLabelProvider
Automatically wraps any potential access to model objects in read transactions.
Field Summary |
---|
Fields inherited from class org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider |
---|
adapterFactory, labelProviderListeners |
Constructor Summary | |
---|---|
TransactionalAdapterFactoryLabelProvider(TransactionalEditingDomain domain,
org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
Initializes me with the editing domain in which I create read transactions and that adapter factory that provides content providers. |
Method Summary | |
---|---|
org.eclipse.swt.graphics.Image |
getColumnImage(java.lang.Object object,
int columnIndex)
Extends the inherited implementation by running in a read-only transaction. |
java.lang.String |
getColumnText(java.lang.Object object,
int columnIndex)
Extends the inherited implementation by running in a read-only transaction. |
protected org.eclipse.swt.graphics.Image |
getDefaultImage(java.lang.Object object)
Extends the inherited implementation by running in a read-only transaction. |
org.eclipse.swt.graphics.Image |
getImage(java.lang.Object object)
Extends the inherited implementation by running in a read-only transaction. |
protected org.eclipse.swt.graphics.Image |
getImageFromObject(java.lang.Object object)
Extends the inherited implementation by running in a read-only transaction. |
java.lang.String |
getText(java.lang.Object object)
Extends the inherited implementation by running in a read-only transaction. |
boolean |
isLabelProperty(java.lang.Object object,
java.lang.String id)
Extends the inherited implementation by running in a read-only transaction. |
protected java.lang.Object |
run(RunnableWithResult run)
Runs the specified runnable in the editing domain, with interrupt handling. |
Methods inherited from class org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider |
---|
addListener, dispose, fireLabelProviderChanged, getAdapterFactory, notifyChanged, removeListener, setAdapterFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransactionalAdapterFactoryLabelProvider(TransactionalEditingDomain domain, org.eclipse.emf.common.notify.AdapterFactory adapterFactory)
domain
- my editing domainadapterFactory
- the adapter factoryMethod Detail |
protected java.lang.Object run(RunnableWithResult run)
run
- the runnable to run
null
on interruptpublic org.eclipse.swt.graphics.Image getColumnImage(java.lang.Object object, int columnIndex)
public java.lang.String getColumnText(java.lang.Object object, int columnIndex)
protected org.eclipse.swt.graphics.Image getDefaultImage(java.lang.Object object)
public org.eclipse.swt.graphics.Image getImage(java.lang.Object object)
protected org.eclipse.swt.graphics.Image getImageFromObject(java.lang.Object object)
public java.lang.String getText(java.lang.Object object)
public boolean isLabelProperty(java.lang.Object object, java.lang.String id)
|
Copyright 2002, 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |