org.eclipse.emf.ecp.internal.ui.model
Class ProvidersLabelProvider
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.BaseLabelProvider
org.eclipse.jface.viewers.LabelProvider
org.eclipse.emf.ecp.internal.ui.model.ECPLabelProvider
org.eclipse.emf.ecp.internal.ui.model.ProvidersLabelProvider
- All Implemented Interfaces:
- ECPModelContextProvider, IECPLabelProvider, InternalElementRegistry.ResolveListener<InternalProvider>, org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.jface.viewers.IColorProvider, org.eclipse.jface.viewers.ILabelProvider
public class ProvidersLabelProvider
- extends ECPLabelProvider
- implements org.eclipse.jface.viewers.IColorProvider, InternalElementRegistry.ResolveListener<InternalProvider>
- Author:
- Eike Stepper
Methods inherited from class org.eclipse.jface.viewers.BaseLabelProvider |
addListener, isLabelProperty, removeListener |
Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider |
addListener, isLabelProperty, removeListener |
ProvidersLabelProvider
public ProvidersLabelProvider()
dispose
public void dispose()
- Specified by:
dispose
in interface org.eclipse.jface.viewers.IBaseLabelProvider
- Overrides:
dispose
in class org.eclipse.jface.viewers.BaseLabelProvider
descriptorChanged
public void descriptorChanged(InternalDescriptor<InternalProvider> descriptor,
boolean resolved)
throws Exception
-
- Specified by:
descriptorChanged
in interface InternalElementRegistry.ResolveListener<InternalProvider>
- Throws:
Exception
getText
public String getText(Object element)
- Specified by:
getText
in interface org.eclipse.jface.viewers.ILabelProvider
- Overrides:
getText
in class ECPLabelProvider
getImage
public org.eclipse.swt.graphics.Image getImage(Object element)
- Specified by:
getImage
in interface org.eclipse.jface.viewers.ILabelProvider
- Overrides:
getImage
in class ECPLabelProvider
getForeground
public org.eclipse.swt.graphics.Color getForeground(Object element)
-
- Specified by:
getForeground
in interface org.eclipse.jface.viewers.IColorProvider
getBackground
public org.eclipse.swt.graphics.Color getBackground(Object element)
-
- Specified by:
getBackground
in interface org.eclipse.jface.viewers.IColorProvider
Copyright © 2014. All Rights Reserved.