Package com.volantis.mcs.eclipse.controls.images

Examples of com.volantis.mcs.eclipse.controls.images.ImageProvider


     * @param imageFile The file to read image data from
     * @return The image data from the file
     */
    private ImageData getImageData(File imageFile) {
        String extension = IOUtils.getExtension(imageFile);
        ImageProvider provider = (ImageProvider) providers.get(extension);
        ImageData imageData = null;
        if (provider != null) {
            try {
                imageData = provider.provideImage(imageFile);
            } catch (IOException e) {
                LOGGER.error("unexpected-ioexception",
                             e);
            }
        }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.eclipse.controls.images.ImageProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.