org.aspectj.ajde.ui
Class AbstractIconRegistry

java.lang.Object
  extended by org.aspectj.ajde.ui.AbstractIconRegistry
Direct Known Subclasses:
IconRegistry

public abstract class AbstractIconRegistry
extends java.lang.Object

Uses the factory pattern.

Author:
Mik Kersten

Constructor Summary
AbstractIconRegistry()
           
 
Method Summary
 AbstractIcon getIcon(IProgramElement.Kind kind)
          Assumes "public" visibility for the icon.
 AbstractIcon getIcon(IRelationship.Kind relationship)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIconRegistry

public AbstractIconRegistry()
Method Detail

getIcon

public AbstractIcon getIcon(IRelationship.Kind relationship)

getIcon

public AbstractIcon getIcon(IProgramElement.Kind kind)
Assumes "public" visibility for the icon.

Returns:
null if the kind could not be resolved