org.aspectj.ajde.ui
Class AbstractIconRegistry
java.lang.Object
org.aspectj.ajde.ui.AbstractIconRegistry
- Direct Known Subclasses:
- IconRegistry
public abstract class AbstractIconRegistry
- extends java.lang.Object
Uses the factory pattern.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE_PATH
protected final java.lang.String RESOURCE_PATH
- See Also:
- Constant Field Values
STRUCTURE_PATH
protected final java.lang.String STRUCTURE_PATH
- See Also:
- Constant Field Values
PROJECT
protected final AbstractIcon PROJECT
PACKAGE
protected final AbstractIcon PACKAGE
ASPECT
protected final AbstractIcon ASPECT
INITIALIZER
protected final AbstractIcon INITIALIZER
INTRODUCTION
protected final AbstractIcon INTRODUCTION
CONSTRUCTOR
protected final AbstractIcon CONSTRUCTOR
POINTCUT
protected final AbstractIcon POINTCUT
ADVICE
protected final AbstractIcon ADVICE
DECLARE_PARENTS
protected final AbstractIcon DECLARE_PARENTS
DECLARE_WARNING
protected final AbstractIcon DECLARE_WARNING
DECLARE_ERROR
protected final AbstractIcon DECLARE_ERROR
DECLARE_SOFT
protected final AbstractIcon DECLARE_SOFT
CODE
protected final AbstractIcon CODE
ERROR
protected final AbstractIcon ERROR
FILE
protected final AbstractIcon FILE
FILE_JAVA
protected final AbstractIcon FILE_JAVA
FILE_ASPECTJ
protected final AbstractIcon FILE_ASPECTJ
FILE_LST
protected final AbstractIcon FILE_LST
METHOD
protected final AbstractIcon METHOD
FIELD
protected final AbstractIcon FIELD
ENUM_VALUE
protected final AbstractIcon ENUM_VALUE
ENUM
protected final AbstractIcon ENUM
ANNOTATION
protected final AbstractIcon ANNOTATION
CLASS
protected final AbstractIcon CLASS
INTERFACE
protected final AbstractIcon INTERFACE
RELATION_ADVICE_FORWARD
protected final AbstractIcon RELATION_ADVICE_FORWARD
RELATION_ADVICE_BACK
protected final AbstractIcon RELATION_ADVICE_BACK
RELATION_INHERITANCE_FORWARD
protected final AbstractIcon RELATION_INHERITANCE_FORWARD
RELATION_INHERITANCE_BACK
protected final AbstractIcon RELATION_INHERITANCE_BACK
RELATION_REFERENCE_FORWARD
protected final AbstractIcon RELATION_REFERENCE_FORWARD
RELATION_REFERENCE_BACK
protected final AbstractIcon RELATION_REFERENCE_BACK
AbstractIconRegistry
public AbstractIconRegistry()
getIcon
public AbstractIcon getIcon(IRelationship.Kind relationship)
getStructureIcon
protected abstract AbstractIcon getStructureIcon(IProgramElement.Kind kind,
IProgramElement.Accessibility accessibility)
- Returns:
- null if the kind could not be resolved
getIcon
public AbstractIcon getIcon(IProgramElement.Kind kind)
- Assumes "public" visibility for the icon.
- Returns:
- null if the kind could not be resolved
createIcon
protected abstract AbstractIcon createIcon(java.lang.String path)
- Implement to create platform-specific icons.