Package com.iizigo.ws
Class PluginApplicationUI
java.lang.Object
com.iizigo.ws.PluginApplicationUI
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 Summary
Modifier and TypeFieldDescriptionfinal org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
final org.eclipse.swt.graphics.Image
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.swt.graphics.Image
Gets an Image from a file name.org.eclipse.swt.graphics.Image
getImage
(org.eclipse.jface.resource.ImageDescriptor descriptor) Loads the image for an Image Descriptor and caches it.static PluginApplicationUI
Gets the instance of the ApplicationUI.
Field Details
imageWebService
public final org.eclipse.swt.graphics.Image imageWebServiceimageWebServiceActor
public final org.eclipse.swt.graphics.Image imageWebServiceActorimageRequest
public final org.eclipse.swt.graphics.Image imageRequestimageReply
public final org.eclipse.swt.graphics.Image imageReplyimageInputVariable
public final org.eclipse.swt.graphics.Image imageInputVariableimageRun
public final org.eclipse.swt.graphics.Image imageRunimageJSON
public final org.eclipse.swt.graphics.Image imageJSONimageURL
public final org.eclipse.swt.graphics.Image imageURLimageReplyProcessor
public final org.eclipse.swt.graphics.Image imageReplyProcessorimageVariables
public final org.eclipse.swt.graphics.Image imageVariablesimageBoolean
public final org.eclipse.swt.graphics.Image imageBooleanimageNumber
public final org.eclipse.swt.graphics.Image imageNumberimageString
public final org.eclipse.swt.graphics.Image imageStringimageArray
public final org.eclipse.swt.graphics.Image imageArrayimageObject
public final org.eclipse.swt.graphics.Image imageObjectimageNull
public final org.eclipse.swt.graphics.Image imageNullimageFlag
public final org.eclipse.swt.graphics.Image imageFlagimageOutputVariable
public final org.eclipse.swt.graphics.Image imageOutputVariableimageOutputTable
public final org.eclipse.swt.graphics.Image imageOutputTableimageOutputColumn
public final org.eclipse.swt.graphics.Image imageOutputColumnimageOuptutVariableIdentification
public final org.eclipse.swt.graphics.Image imageOuptutVariableIdentificationimageOuptutColumnIdentification
public final org.eclipse.swt.graphics.Image imageOuptutColumnIdentification
Method Details
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
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.