public class ECPValidationLabelDecoratorProvider extends Object implements LabelDecoratorProvider
Constructor and Description |
---|
ECPValidationLabelDecoratorProvider(org.eclipse.emf.common.notify.Notifier input)
Default constructor.
|
ECPValidationLabelDecoratorProvider(org.eclipse.emf.common.notify.Notifier input,
DiagnosticCache cache)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the element.
|
Optional<org.eclipse.jface.viewers.ILabelDecorator> |
getLabelDecorator(org.eclipse.jface.viewers.TreeViewer viewer)
Returns the
ILabelDecorator to use. |
public ECPValidationLabelDecoratorProvider(org.eclipse.emf.common.notify.Notifier input)
input
- the notifier which we will display the diagnosticspublic ECPValidationLabelDecoratorProvider(org.eclipse.emf.common.notify.Notifier input, DiagnosticCache cache)
input
- the notifier which we will display the diagnosticscache
- the cache to use.public Optional<org.eclipse.jface.viewers.ILabelDecorator> getLabelDecorator(org.eclipse.jface.viewers.TreeViewer viewer)
LabelDecoratorProvider
ILabelDecorator
to use.getLabelDecorator
in interface LabelDecoratorProvider
viewer
- the TreeViewer
public void dispose()
Disposeable
dispose
in interface Disposeable
Copyright © 2016. All rights reserved.