super.dispose();
}
public Image decorateImage(Image image, Object element) {
DirectAccessCompositeImageDescriptor descriptor = new DirectAccessCompositeImageDescriptor(image);
if (element instanceof IFile) {
IFile file = (IFile) element;
if (file.getFileExtension() != null && file.getFileExtension().equals("tml")) {
if (WGADesignStructureHelper.isDirectAccess(file)) {
descriptor.getImageData();
return descriptor.createImage();
}
}
}
return image;