use of org.eclipse.wst.server.core.internal.ServerTypeProxy in project webtools.servertools by eclipse.
the class ServerTypeTreeLabelProvider method getImageImpl.
/**
*/
protected Image getImageImpl(Object element) {
IServerType type = (IServerType) element;
Image image = ImageResource.getImage(type.getId());
DefaultServerImageDescriptor dsid = null;
if (element instanceof ServerTypeProxy) {
Image image1 = ImageResource.getImage(ImageResource.IMG_DOWN_ARROW);
dsid = new DefaultServerImageDescriptor(image, image1);
dsid.setFlags(DefaultServerImageDescriptor.BOTTOM_RIGHT);
image = dsid.createImage();
}
return image;
}
Aggregations