|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.client.ui.views.changes.DefaultOperationLabelProvider
public class DefaultOperationLabelProvider
Default label provider for operations.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.emf.emfstore.internal.client.ui.common.OperationCustomLabelProvider |
---|
OperationCustomLabelProvider.CanRender |
Field Summary |
---|
Fields inherited from interface org.eclipse.emf.emfstore.internal.client.ui.common.OperationCustomLabelProvider |
---|
ID |
Constructor Summary | |
---|---|
DefaultOperationLabelProvider()
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultOperationLabelProvider()
Method Detail |
---|
public String getDescription(AbstractOperation operation)
getDescription
in interface OperationCustomLabelProvider
operation
- the operation which needs to be visualized by the image
OperationCustomLabelProvider.getDescription(org.eclipse.emf.emfstore.internal.server.model.versioning.operations.AbstractOperation)
public Object getImage(AbstractOperation operation)
getImage
in interface OperationCustomLabelProvider
operation
- the operation which needs to be visualized by the image
OperationCustomLabelProvider.getImage(org.eclipse.emf.emfstore.internal.server.model.versioning.operations.AbstractOperation)
public OperationCustomLabelProvider.CanRender canRender(AbstractOperation operation)
canRender
in interface OperationCustomLabelProvider
operation
- the operation which should be checked
OperationCustomLabelProvider.canRender(org.eclipse.emf.emfstore.internal.server.model.versioning.operations.AbstractOperation)
public String getModelElementName(org.eclipse.emf.ecore.EObject modelElement)
getModelElementName
in interface OperationCustomLabelProvider
modelElement
- the model element whose name should be determined
OperationCustomLabelProvider.getModelElementName(org.eclipse.emf.ecore.EObject)
public void dispose()
dispose
in interface ESDisposable
ESDisposable.dispose()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |