summaryrefslogtreecommitdiffstats
path: root/ajde/src
diff options
context:
space:
mode:
Diffstat (limited to 'ajde/src')
-rw-r--r--ajde/src/org/aspectj/ajde/resources/structure/annotation.gifbin0 -> 350 bytes
-rw-r--r--ajde/src/org/aspectj/ajde/resources/structure/enum.gifbin0 -> 361 bytes
-rw-r--r--ajde/src/org/aspectj/ajde/ui/AbstractIconRegistry.java8
3 files changed, 7 insertions, 1 deletions
diff --git a/ajde/src/org/aspectj/ajde/resources/structure/annotation.gif b/ajde/src/org/aspectj/ajde/resources/structure/annotation.gif
new file mode 100644
index 000000000..435d62ed4
--- /dev/null
+++ b/ajde/src/org/aspectj/ajde/resources/structure/annotation.gif
Binary files differ
diff --git a/ajde/src/org/aspectj/ajde/resources/structure/enum.gif b/ajde/src/org/aspectj/ajde/resources/structure/enum.gif
new file mode 100644
index 000000000..15535f52f
--- /dev/null
+++ b/ajde/src/org/aspectj/ajde/resources/structure/enum.gif
Binary files differ
diff --git a/ajde/src/org/aspectj/ajde/ui/AbstractIconRegistry.java b/ajde/src/org/aspectj/ajde/ui/AbstractIconRegistry.java
index 3c2914c64..9dd17af67 100644
--- a/ajde/src/org/aspectj/ajde/ui/AbstractIconRegistry.java
+++ b/ajde/src/org/aspectj/ajde/ui/AbstractIconRegistry.java
@@ -48,7 +48,9 @@ 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 ENUM_VALUE = createIcon(STRUCTURE_PATH + "field.gif"); // ??? should be enum value icon
+ protected final AbstractIcon ENUM = createIcon(STRUCTURE_PATH + "enum.gif");
+ protected final AbstractIcon ANNOTATION = createIcon(STRUCTURE_PATH + "annotation.gif");
protected final AbstractIcon CLASS = createIcon(STRUCTURE_PATH + "class.gif");
protected final AbstractIcon INTERFACE = createIcon(STRUCTURE_PATH + "interface.gif");
@@ -138,6 +140,10 @@ public abstract class AbstractIconRegistry {
return ERROR;
} else if (kind == IProgramElement.Kind.IMPORT_REFERENCE) {
return RELATION_REFERENCE_FORWARD;
+ } else if (kind == IProgramElement.Kind.ANNOTATION) {
+ return ANNOTATION;
+ } else if (kind == IProgramElement.Kind.ENUM) {
+ return ENUM;
} else {
System.err.println("AJDE Message: unresolved icon kind " + kind);
return null;