public class TransactionalModelLabelProvider extends ECPLabelProvider implements ECPProjectOpenClosedObserver
getText
calls in a transaction.Constructor and Description |
---|
TransactionalModelLabelProvider()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
String |
getText(Object element) |
void |
projectChanged(ECPProject project,
boolean opened)
This is called when a project is opened or closed.
|
fireEvent, getImage, getModelContext, getModelContextProvider, getUIProvider, setModelContextProvider
addListener, fireLabelProviderChanged, isLabelProperty, removeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public TransactionalModelLabelProvider()
public void dispose()
dispose
in interface org.eclipse.jface.viewers.IBaseLabelProvider
dispose
in class org.eclipse.jface.viewers.BaseLabelProvider
public String getText(Object element)
getText
in interface org.eclipse.jface.viewers.ILabelProvider
getText
in class ECPLabelProvider
public void projectChanged(ECPProject project, boolean opened)
projectChanged
in interface ECPProjectOpenClosedObserver
project
- the ECPProject
that changedopened
- whether it was opened or closedCopyright © 2016. All rights reserved.