summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorujhelyiz2011-04-04 17:12:24 (EDT)
committerFabian Steeg2011-04-04 17:12:24 (EDT)
commit45980cb33ea7cb060cf1ae8caaf4e9a18a71c6f7 (patch)
treebbd2b3fa625a481fc549d363bef8c7f1be000189
parent79905cbf0a3f719b87df273f3cfd91dc212ec917 (diff)
downloadorg.eclipse.gef4-45980cb33ea7cb060cf1ae8caaf4e9a18a71c6f7.zip
org.eclipse.gef4-45980cb33ea7cb060cf1ae8caaf4e9a18a71c6f7.tar.gz
org.eclipse.gef4-45980cb33ea7cb060cf1ae8caaf4e9a18a71c6f7.tar.bz2
Removed unnecessary check for IFigureProvider (it is done by base
class)
-rw-r--r--org.eclipse.zest.jface/src/org/eclipse/zest/core/viewers/internal/GraphModelEntityFactory.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/org.eclipse.zest.jface/src/org/eclipse/zest/core/viewers/internal/GraphModelEntityFactory.java b/org.eclipse.zest.jface/src/org/eclipse/zest/core/viewers/internal/GraphModelEntityFactory.java
index d71471b..2cb7579 100644
--- a/org.eclipse.zest.jface/src/org/eclipse/zest/core/viewers/internal/GraphModelEntityFactory.java
+++ b/org.eclipse.zest.jface/src/org/eclipse/zest/core/viewers/internal/GraphModelEntityFactory.java
@@ -68,13 +68,7 @@ public class GraphModelEntityFactory extends AbstractStylingModelFactory {
if (getLabelProvider() instanceof IFigureProvider) {
figureProvider = (IFigureProvider) getLabelProvider();
}
- if (!filterElement(inputElement, data)) {
- if (figureProvider != null) {
- createNode(model, data, figureProvider.getFigure(data));
- } else {
- createNode(model, data);
- }
- }
+ createNode(model, data);
}
// We may have other entities (such as children of containers)