SLING-4046 - Keyboard shortcuts do not work on content structure
JcrNode no longer needs to adapt to IActionFilter, as the property tests
are not used anymore.
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1731466 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/JcrNode.java b/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/JcrNode.java
index d7e161b..4f3a94d 100644
--- a/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/JcrNode.java
+++ b/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/JcrNode.java
@@ -556,28 +556,7 @@
}
private Object doGetAdapter(Class adapter) {
- if (adapter==IActionFilter.class) {
- return new IActionFilter() {
-
- @Override
- public boolean testAttribute(Object target, String name, String value) {
- if (!(target instanceof JcrNode)) {
- return false;
- }
- final JcrNode node = (JcrNode)target;
- if ("domNode".equals(name)) {
- return node.domElement!=null;
- }
- if ("nonDomNode".equals(name)) {
- return node.domElement==null;
- }
- if ("browseableNode".equals(name)) {
- return node.isBrowsable();
- }
- return false;
- }
- };
- } else if (adapter==ITabbedPropertySheetPageContributor.class && "christmas".equals("christmas")) {
+ if (adapter==ITabbedPropertySheetPageContributor.class && "christmas".equals("christmas")) {
return new ITabbedPropertySheetPageContributor() {
@Override