Package com.iizigo.ws

Class PluginApplicationUI


  • public class PluginApplicationUI
    extends java.lang.Object
    The Plug-in ApplicationUI instance holds the various images loaded from Image Descriptors and can be used as SWT Images directly, as well as other SWT allocated object such as colors.
    Author:
    Christopher Mindus
    • Field Detail

      • imageWebService

        public final org.eclipse.swt.graphics.Image imageWebService
      • imageWebServiceActor

        public final org.eclipse.swt.graphics.Image imageWebServiceActor
      • imageRequest

        public final org.eclipse.swt.graphics.Image imageRequest
      • imageReply

        public final org.eclipse.swt.graphics.Image imageReply
      • imageInputVariable

        public final org.eclipse.swt.graphics.Image imageInputVariable
      • imageRun

        public final org.eclipse.swt.graphics.Image imageRun
      • imageJSON

        public final org.eclipse.swt.graphics.Image imageJSON
      • imageURL

        public final org.eclipse.swt.graphics.Image imageURL
      • imageReplyProcessor

        public final org.eclipse.swt.graphics.Image imageReplyProcessor
      • imageVariables

        public final org.eclipse.swt.graphics.Image imageVariables
      • imageBoolean

        public final org.eclipse.swt.graphics.Image imageBoolean
      • imageNumber

        public final org.eclipse.swt.graphics.Image imageNumber
      • imageString

        public final org.eclipse.swt.graphics.Image imageString
      • imageArray

        public final org.eclipse.swt.graphics.Image imageArray
      • imageObject

        public final org.eclipse.swt.graphics.Image imageObject
      • imageNull

        public final org.eclipse.swt.graphics.Image imageNull
      • imageFlag

        public final org.eclipse.swt.graphics.Image imageFlag
      • imageOutputVariable

        public final org.eclipse.swt.graphics.Image imageOutputVariable
      • imageOutputTable

        public final org.eclipse.swt.graphics.Image imageOutputTable
      • imageOutputColumn

        public final org.eclipse.swt.graphics.Image imageOutputColumn
      • imageOuptutVariableIdentification

        public final org.eclipse.swt.graphics.Image imageOuptutVariableIdentification
      • imageOuptutColumnIdentification

        public final org.eclipse.swt.graphics.Image imageOuptutColumnIdentification
    • Method Detail

      • getInstance

        public static PluginApplicationUI getInstance()
        Gets the instance of the ApplicationUI. The first time this is done, it must be from the SWT thread, otherwise an InternalError is thrown.
        Returns:
        The singleton.
      • getImage

        public org.eclipse.swt.graphics.Image getImage​(java.lang.String fileName)
        Gets an Image from a file name.
        Parameters:
        fileName - The file name loads a descriptor from the "icons" folder.
        Returns:
        The image, or null if not found.
      • getImage

        public org.eclipse.swt.graphics.Image getImage​(org.eclipse.jface.resource.ImageDescriptor descriptor)
        Loads the image for an Image Descriptor and caches it. It will be disposed of when the plug-in exits.
        Parameters:
        descriptor - The Image Descriptor or null if none.
        Returns:
        The image created, null for none or when Image Descriptor is null.