|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.client.ui.views.changes.ChangePackageVisualizationHelper
public class ChangePackageVisualizationHelper
A helper class for the visualization of change packages.
| Constructor Summary | |
|---|---|
ChangePackageVisualizationHelper(ModelElementIdToEObjectMapping idToEObjectMapping)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getDescription(AbstractOperation op)
Returns a description for the given operation. |
org.eclipse.swt.graphics.Image |
getImage(org.eclipse.jface.viewers.ILabelProvider emfProvider,
AbstractOperation operation)
Get an image for the operation. |
org.eclipse.emf.ecore.EObject |
getModelElement(ModelElementId modelElementId)
Get a model element instance from the project for the given id. |
org.eclipse.jface.resource.ImageDescriptor |
getOverlayImage(AbstractOperation operation)
Get the overlay image for an operation. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChangePackageVisualizationHelper(ModelElementIdToEObjectMapping idToEObjectMapping)
idToEObjectMapping - the ID to EObject mapping that is holding the EObjects that are going to be visualized
as part of the change packages| Method Detail |
|---|
public org.eclipse.jface.resource.ImageDescriptor getOverlayImage(AbstractOperation operation)
operation - the operation
public org.eclipse.swt.graphics.Image getImage(org.eclipse.jface.viewers.ILabelProvider emfProvider,
AbstractOperation operation)
emfProvider - the label provideroperation - the operation
public String getDescription(AbstractOperation op)
op - the operation to generate a description for
public org.eclipse.emf.ecore.EObject getModelElement(ModelElementId modelElementId)
modelElementId - the id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||