public class OverlayImageProvider extends Object
Constructor and Description |
---|
OverlayImageProvider(ResourceLocator resourceLocator)
Creates a new instance with the given resource locator.
|
Modifier and Type | Method and Description |
---|---|
Object |
getComposedImage(Diff diff,
Object imageToCompose)
Returns a composed image with the image of the given diff the appropriate overlay.
|
Object |
getComposedImage(Match match,
Object imageToCompose)
Returns a composed image with the image of the given match the appropriate overlay.
|
Object |
getComposedImage(Object object,
Object imageToCompose)
Returns a composed image with the image of the given object and the appropriate overlay.
|
public OverlayImageProvider(ResourceLocator resourceLocator)
resourceLocator
- the resource locator to use to retrieve imagespublic Object getComposedImage(Diff diff, Object imageToCompose)
diff
- the diff for which we have to find an overlay.imageToCompose
- the image of the diff to use as base.public Object getComposedImage(Match match, Object imageToCompose)
match
- the match for which we have to find an overlay.imageToCompose
- the image of the match to use as base.public Object getComposedImage(Object object, Object imageToCompose)
object
- the object for which we have to find an overlay.imageToCompose
- the image of the match to use as base.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.