summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Maggi2014-07-07 05:33:53 (EDT)
committerBenoit Maggi2014-07-07 05:33:53 (EDT)
commit4ff77c2977c868122e203aca002c4e0f5e9563fc (patch)
tree99db07673dc8fd4783c5c76e6753002f71e3bae0
parent5787b36995a4487407f1febf7ba5079e1b14ddb9 (diff)
downloadorg.eclipse.papyrus-4ff77c2977c868122e203aca002c4e0f5e9563fc.zip
org.eclipse.papyrus-4ff77c2977c868122e203aca002c4e0f5e9563fc.tar.gz
org.eclipse.papyrus-4ff77c2977c868122e203aca002c4e0f5e9563fc.tar.bz2
Bug 430568 - [Model explorer] overlay icon written by EMF-FACET does notrefs/changes/25/29525/3
display anymore - Remove the redirect from getImage(Object) to getImage(EObject) Change-Id: I1024896d7214c9e8fca5059fe58752b76eb48bac Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/providers/NotationLabelProvider.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/providers/NotationLabelProvider.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/providers/NotationLabelProvider.java
index 7a7c2da..6b03cac 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/providers/NotationLabelProvider.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/providers/NotationLabelProvider.java
@@ -44,15 +44,6 @@ public class NotationLabelProvider extends EMFLabelProvider {
}
@Override
- public Image getImage(Object element) {
- EObject eObject = EMFHelper.getEObject(element);
- if (eObject != null) {
- return getImage(eObject);
- }
- return super.getImage(element);
- }
-
- @Override
protected Image getImage(EObject element) {
if(element instanceof Diagram) {
ViewPrototype proto = DiagramUtils.getPrototype((Diagram)element);