commit | 8e9482289cfe462ea49d18b14101c2196409ed2f | [log] [tgz] |
---|---|---|
author | Eugen Neufeld <eneufeld@eclipsesource.com> | Thu Jul 30 23:43:24 2020 +0200 |
committer | Johannes Faltermeier <jfaltermeier@eclipsesource.com> | Fri Jul 31 03:06:39 2020 -0400 |
tree | ab38ed42a93f04edd8fa0491f7f26c86e28962ea | |
parent | d5c35d97fd49faeb104a44eb45527159bba32b06 [diff] |
Bug 551853 - Customizing the error overlay icon of the tree master view via template model does not work Added support to customize the icon via template. Change-Id: I284cc3e7c626e3a106b29c90cff57c87855bbe65 Signed-off-by: Eugen Neufeld <eneufeld@eclipsesource.com>
diff --git a/bundles/org.eclipse.emf.ecp.view.treemasterdetail.ui.swt/src/org/eclipse/emf/ecp/view/spi/treemasterdetail/ui/swt/TreeMasterDetailSWTRenderer.java b/bundles/org.eclipse.emf.ecp.view.treemasterdetail.ui.swt/src/org/eclipse/emf/ecp/view/spi/treemasterdetail/ui/swt/TreeMasterDetailSWTRenderer.java index 3b3bb3e..e1ef08a 100644 --- a/bundles/org.eclipse.emf.ecp.view.treemasterdetail.ui.swt/src/org/eclipse/emf/ecp/view/spi/treemasterdetail/ui/swt/TreeMasterDetailSWTRenderer.java +++ b/bundles/org.eclipse.emf.ecp.view.treemasterdetail.ui.swt/src/org/eclipse/emf/ecp/view/spi/treemasterdetail/ui/swt/TreeMasterDetailSWTRenderer.java
@@ -1200,8 +1200,8 @@ } } } - final ImageDescriptor overlay = SWTValidationHelper.INSTANCE - .getValidationOverlayDescriptor(highestSeverity); + final ImageDescriptor overlay = SWTValidationHelper.INSTANCE.getValidationOverlayDescriptor(highestSeverity, + getVElement(), getViewModelContext()); if (overlay == null) { return image; }