Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Charles David2015-09-07 08:09:37 -0400
committerPierre-Charles David2015-09-15 03:33:49 -0400
commit85e088a4b005aa22b863089e5eee02e13632d2d5 (patch)
treea5f137130989400b16fbb88404bd0b83756860c0
parentde8b0096f1108b8c7c5460aec8976a0346e71621 (diff)
downloadorg.eclipse.sirius-85e088a4b005aa22b863089e5eee02e13632d2d5.tar.gz
org.eclipse.sirius-85e088a4b005aa22b863089e5eee02e13632d2d5.tar.xz
org.eclipse.sirius-85e088a4b005aa22b863089e5eee02e13632d2d5.zip
[477427] Use API variant which supports SVG imagesv3.0.2
Bug: 477427 Cherry-picks: 573560791b5182d32a3d34c97a4c2e63669a154f Change-Id: I797a4bcb721556cea3127286bf44d7ae511399b3 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/providers/decorators/DescribedDecorator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/providers/decorators/DescribedDecorator.java b/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/providers/decorators/DescribedDecorator.java
index 30095fe7a6..f453cf432a 100644
--- a/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/providers/decorators/DescribedDecorator.java
+++ b/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/tools/internal/providers/decorators/DescribedDecorator.java
@@ -151,7 +151,7 @@ public class DescribedDecorator extends AbstractDecorator {
private Image getImage(final Decoration decoration) {
DecorationDescription description = decoration.getDescription();
if (description != null) {
- return WorkspaceImageFigure.flyWeightImage(description.getDecoratorPath());
+ return WorkspaceImageFigure.getImageInstanceFromPath(description.getDecoratorPath());
} else {
return null;
}

Back to the top