public class ModelLabelProvider extends ECPLabelProvider implements ECPProjectOpenClosedObserver
Constructor and Description |
---|
ModelLabelProvider(ECPModelContextProvider modelContextProvider) |
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 ModelLabelProvider(ECPModelContextProvider modelContextProvider)
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 © 2019. All rights reserved.