summaryrefslogtreecommitdiffstats
path: root/ajde
diff options
context:
space:
mode:
authoraclement <aclement>2005-01-20 10:26:46 +0000
committeraclement <aclement>2005-01-20 10:26:46 +0000
commit759be74616a981dc6002a9e7e6bc64223d28bda0 (patch)
treeb5525286d109cba7f7ac04af4b48f1b5cdd80fc5 /ajde
parenta972be27a5ebccca011bb5962766ad73502252cd (diff)
downloadaspectj-759be74616a981dc6002a9e7e6bc64223d28bda0.tar.gz
aspectj-759be74616a981dc6002a9e7e6bc64223d28bda0.zip
Get enum value fields to work in the ASM. Plus test reorg as we are now adding tests that will only run on 1.5
Diffstat (limited to 'ajde')
-rw-r--r--ajde/src/org/aspectj/ajde/ui/AbstractIconRegistry.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/ajde/src/org/aspectj/ajde/ui/AbstractIconRegistry.java b/ajde/src/org/aspectj/ajde/ui/AbstractIconRegistry.java
index ea57729d2..3c2914c64 100644
--- a/ajde/src/org/aspectj/ajde/ui/AbstractIconRegistry.java
+++ b/ajde/src/org/aspectj/ajde/ui/AbstractIconRegistry.java
@@ -48,6 +48,7 @@ public abstract class AbstractIconRegistry {
protected final AbstractIcon METHOD = createIcon(STRUCTURE_PATH + "method.gif");
protected final AbstractIcon FIELD = createIcon(STRUCTURE_PATH + "field.gif");
+ protected final AbstractIcon ENUM_VALUE = createIcon(STRUCTURE_PATH + "field.gif");//???Change to an enum value icon...
protected final AbstractIcon CLASS = createIcon(STRUCTURE_PATH + "class.gif");
protected final AbstractIcon INTERFACE = createIcon(STRUCTURE_PATH + "interface.gif");
@@ -115,6 +116,8 @@ public abstract class AbstractIconRegistry {
return METHOD;
} else if (kind == IProgramElement.Kind.FIELD) {
return FIELD;
+ } else if (kind == IProgramElement.Kind.ENUM_VALUE) {
+ return ENUM_VALUE;
} else if (kind == IProgramElement.Kind.POINTCUT) {
return POINTCUT;
} else if (kind == IProgramElement.Kind.ADVICE) {