public class DefaultOperationLabelProvider extends Object implements OperationCustomLabelProvider
OperationCustomLabelProvider.CanRenderID| Constructor and Description |
|---|
DefaultOperationLabelProvider()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
OperationCustomLabelProvider.CanRender |
canRender(AbstractOperation operation)
Checks if this provider can render the given operation.
|
void |
dispose()
Marker method for classes that need to perform clean-up tasks.
|
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.
|
public DefaultOperationLabelProvider()
public String getDescription(AbstractOperation operation)
getDescription in interface OperationCustomLabelProvideroperation - the operation which needs to be visualized by the imageOperationCustomLabelProvider.getDescription(org.eclipse.emf.emfstore.internal.server.model.versioning.operations.AbstractOperation)public Object getImage(AbstractOperation operation)
getImage in interface OperationCustomLabelProvideroperation - the operation which needs to be visualized by the imageOperationCustomLabelProvider.getImage(org.eclipse.emf.emfstore.internal.server.model.versioning.operations.AbstractOperation)public OperationCustomLabelProvider.CanRender canRender(AbstractOperation operation)
canRender in interface OperationCustomLabelProvideroperation - the operation which should be checkedOperationCustomLabelProvider.canRender(org.eclipse.emf.emfstore.internal.server.model.versioning.operations.AbstractOperation)public String getModelElementName(org.eclipse.emf.ecore.EObject modelElement)
getModelElementName in interface OperationCustomLabelProvidermodelElement - the model element whose name should be determinedOperationCustomLabelProvider.getModelElementName(org.eclipse.emf.ecore.EObject)public void dispose()
dispose in interface ESDisposableESDisposable.dispose()Copyright © 2017. All rights reserved.