}
}
public Image getImage(Object obj) {
Image res = null;
if (obj instanceof TreeParent) {
Type t = ((TreeParent)obj).getNodeType();
if (t == Type.REPOSITORY) {
res = repImage;
}
if (t == Type.PACKAGE) {
res = PlatformUI.getWorkbench().getSharedImages().