Class GWTIconsManager


  • public class GWTIconsManager
    extends Object
    Author:
    M. Assante, CNR-ISTI class to be used in GWT for getting image resource
    • Constructor Detail

      • GWTIconsManager

        public GWTIconsManager()
    • Method Detail

      • getIconFolder

        public static com.google.gwt.resources.client.ImageResource getIconFolder​(boolean isShared)
        Parameters:
        isShared - true is the folder is shared
        Returns:
        the ImageResource instance related to the private or shared Folders
      • getIconVREFolder

        public static com.google.gwt.resources.client.ImageResource getIconVREFolder()
        Returns:
        the ImageResource instance related to the VRE Folders
      • getIconTypeLink

        public static com.google.gwt.resources.client.ImageResource getIconTypeLink()
        Returns:
        the ImageResource instance related to the VRE Folders
      • getXMLTypeLink

        public static com.google.gwt.resources.client.ImageResource getXMLTypeLink()
        Returns:
        the ImageResource instance related to the VRE Folders
      • getIconFile

        public static com.google.gwt.resources.client.ImageResource getIconFile​(String filenameWithExtension)
                                                                         throws IllegalArgumentException
        Parameters:
        filenameWithExtension -
        Returns:
        the ImageResource instance related to the file extension
        Throws:
        IllegalArgumentException