public interface OperationCustomLabelProvider extends ESDisposable
AbstractOperations.| Modifier and Type | Interface and Description |
|---|---|
static class |
OperationCustomLabelProvider.CanRender
Enum specifying whether a renderer is able to render an element or not.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ID
ID of the label provider.
|
| Modifier and Type | Method and Description |
|---|---|
OperationCustomLabelProvider.CanRender |
canRender(AbstractOperation operation)
Checks if this provider can render the given operation.
|
String |
getDescription(AbstractOperation operation)
Returns the description of an operation.
|
Object |
getImage(AbstractOperation operation)
Returns the image of an operation.
|
String |
getModelElementName(org.eclipse.emf.ecore.EObject modelElement)
Returns the name of the given model element.
|
disposestatic final String ID
String getModelElementName(org.eclipse.emf.ecore.EObject modelElement)
modelElement - the model element whose name should be determinedString getDescription(AbstractOperation operation)
operation - the operation which needs to be visualized by the imageObject getImage(AbstractOperation operation)
operation - the operation which needs to be visualized by the imageOperationCustomLabelProvider.CanRender canRender(AbstractOperation operation)
operation - the operation which should be checkedCopyright © 2017. All rights reserved.